net-irc/sic: drop 1.2-r1

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk 2025-06-30 14:36:11 +02:00
parent c6b680fb43
commit 2c50529f99
No known key found for this signature in database
GPG Key ID: 351D91B6D7DF9E50
4 changed files with 0 additions and 89 deletions

View File

@ -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

View File

@ -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

View File

@ -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 <ncopa@alpinelinux.org>
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

View File

@ -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
}