commit:     2c50529f996da7b7be1d20244514b27f5deb2c76
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 30 12:36:11 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 12:51:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c50529f

net-irc/sic: drop 1.2-r1

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 net-irc/sic/Manifest                              |  1 -
 net-irc/sic/files/sic-1.2-include-path.patch      | 16 ---------
 net-irc/sic/files/sic-1.2-musl-time-include.patch | 32 ------------------
 net-irc/sic/sic-1.2-r1.ebuild                     | 40 -----------------------
 4 files changed, 89 deletions(-)

diff --git a/net-irc/sic/Manifest b/net-irc/sic/Manifest
index d3714d13cea4..f5afb4bb4216 100644
--- a/net-irc/sic/Manifest
+++ b/net-irc/sic/Manifest
@@ -1,2 +1 @@
-DIST sic-1.2.tar.gz 4563 BLAKE2B 
63c70aa6e6e9da4c7c0a282ca1a407b9b9c4d02e764490a8b7ff1967a848ffe78c52700e6e895252c0807212eb80e0baeca5b338ead8da4ea9a0946d81b8c5b8
 SHA512 
5659ed9d8a5986dda90dbe1155c27a5fd0ab4b1fcad2c1a20997c530bf03864e6c08bdeffc025c728629ab11872af6a1250761160b91f148dc37d77a49046dc9
 DIST sic-1.3.tar.gz 5740 BLAKE2B 
40b4e11982f9bca2ad8904c1c17e9a302dde90f27bf486541db1746afa6f88b8947b8a61406708b014231a197e35bdd5d672f2335816fd3b658f1fc758a1efc0
 SHA512 
0a5129dc9276c0a2c778d276115e96b5f11d7d6abce8cf2a5256a8b765a058c7a37bc6e86f90859015eb6b5b153e1c14fc6bbea6466f8ce0457edb7f2b89cbcb

diff --git a/net-irc/sic/files/sic-1.2-include-path.patch 
b/net-irc/sic/files/sic-1.2-include-path.patch
deleted file mode 100644
index 3f8296097496..000000000000
--- a/net-irc/sic/files/sic-1.2-include-path.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Drop unnecessary include path to workaround possible ldd bug
-https://bugs.gentoo.org/731168
-----
-diff --git a/config.mk b/config.mk
-index 5d42b38..61d085a 100644
---- a/config.mk
-+++ b/config.mk
-@@ -9,7 +9,7 @@ MANPREFIX = ${PREFIX}/share/man
- 
- # includes and libs
- INCS = -I. -I/usr/include
--LIBS = -L/usr/lib -lc
-+LIBS = -lc
- 
- # flags
- CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE

diff --git a/net-irc/sic/files/sic-1.2-musl-time-include.patch 
b/net-irc/sic/files/sic-1.2-musl-time-include.patch
deleted file mode 100644
index bbeaed72a571..000000000000
--- a/net-irc/sic/files/sic-1.2-musl-time-include.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://git.alpinelinux.org/aports/plain/main/sic/musl-fix.patch?id=4b6138a5f4f5cd11d49d7f96e13da661fd37655e
-https://bugs.gentoo.org/712732
-----
-From d8e9e4a013196b98576a3a759b4b27c3edb2a0d2 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <[email protected]>
-Date: Tue, 4 Feb 2014 10:06:53 +0000
-Subject: [PATCH] build fix for musl libc
-
-It fixes the following compile error with musl libc:
-sic.c:137:17: error: storage size of 'tv' isn't known
-  struct timeval tv;
-                 ^
----
- sic.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/sic.c b/sic.c
-index d93c2ec..e4bdb74 100644
---- a/sic.c
-+++ b/sic.c
-@@ -8,6 +8,8 @@
- #include <time.h>
- #include <unistd.h>
- 
-+#include <sys/time.h>
-+
- static char *host = "irc.oftc.net";
- static char *port = "6667";
- static char *password;
--- 
-1.8.5.3
-

diff --git a/net-irc/sic/sic-1.2-r1.ebuild b/net-irc/sic/sic-1.2-r1.ebuild
deleted file mode 100644
index 7812ded5abf8..000000000000
--- a/net-irc/sic/sic-1.2-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="An extremely simple IRC client"
-HOMEPAGE="https://tools.suckless.org/sic";
-SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.2-include-path.patch"
-       "${FILESDIR}/${PN}-1.2-musl-time-include.patch"
-)
-
-src_prepare() {
-       default
-
-       sed -i \
-               -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
-               -e '/^CC/d' \
-               -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
-               config.mk || die
-       sed -i \
-               -e 's|@${CC}|$(CC)|g' \
-               Makefile || die
-}
-
-src_compile() {
-       emake CC="$(tc-getCC)"
-}
-
-src_install() {
-       emake DESTDIR="${ED}" PREFIX="/usr" install
-}

Reply via email to