termux-packages/packages/spiped/Makefile.patch
Aditya Alok ee7898dfbe
feat(spiped): enable auto-update, upgrade to 1.6.2
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-16 20:02:32 +05:30

50 lines
1.7 KiB
Diff

--- a/spipe/Makefile 2021-12-24 19:27:38.000000000 +0000
+++ b/spipe/Makefile 2022-04-15 16:22:46.461946207 +0000
@@ -4,7 +4,7 @@
MAN1=spipe.1
SRCS=main.c pushbits.c
IDIRS=-I../libcperciva/crypto -I../libcperciva/events -I../libcperciva/util -I../lib/proto -I../lib/util
-LDADD_REQ=-lcrypto -lpthread
+LDADD_REQ=-lcrypto
SUBDIR_DEPTH=..
RELATIVE_DIR=spipe
LIBALL=../liball/liball.a
@@ -21,7 +21,6 @@
install:${PROG}
mkdir -p ${BINDIR}
cp ${PROG} ${BINDIR}/_inst.${PROG}.$$$$_ && \
- strip ${BINDIR}/_inst.${PROG}.$$$$_ && \
chmod 0555 ${BINDIR}/_inst.${PROG}.$$$$_ && \
mv -f ${BINDIR}/_inst.${PROG}.$$$$_ ${BINDIR}/${PROG}
if ! [ -z "${MAN1DIR}" ]; then \
--- a/spiped/Makefile 2021-12-24 19:27:38.000000000 +0000
+++ b/spiped/Makefile 2022-04-15 17:39:31.740187413 +0000
@@ -4,7 +4,7 @@
MAN1=spiped.1
SRCS=main.c dispatch.c
IDIRS=-I../libcperciva/crypto -I../libcperciva/events -I../libcperciva/network -I../libcperciva/util -I../lib/dnsthread -I../lib/proto -I../lib/util
-LDADD_REQ=-lcrypto -lpthread
+LDADD_REQ=-lcrypto
SUBDIR_DEPTH=..
RELATIVE_DIR=spiped
LIBALL=../liball/liball.a
@@ -21,7 +21,6 @@
install:${PROG}
mkdir -p ${BINDIR}
cp ${PROG} ${BINDIR}/_inst.${PROG}.$$$$_ && \
- strip ${BINDIR}/_inst.${PROG}.$$$$_ && \
chmod 0555 ${BINDIR}/_inst.${PROG}.$$$$_ && \
mv -f ${BINDIR}/_inst.${PROG}.$$$$_ ${BINDIR}/${PROG}
if ! [ -z "${MAN1DIR}" ]; then \
--- a/Makefile 2021-12-24 19:27:38.000000000 +0000
+++ b/Makefile 2022-04-15 17:24:16.643530079 +0000
@@ -24,7 +24,7 @@
. ./cpusupport-config.h; \
. ./cflags-filter.sh; \
export HAVE_BUILD_FLAGS=1; \
- for D in ${PROGS} ${TESTS}; do \
+ for D in ${PROGS}; do \
( cd $${D} && ${MAKE} all ) || exit 2; \
done