diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-nntp/sn/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-nntp/sn/files')
-rw-r--r-- | net-nntp/sn/files/sn-0.3.8-parallel-make.patch | 56 | ||||
-rw-r--r-- | net-nntp/sn/files/sn-0.3.8-qa.patch | 21 |
2 files changed, 77 insertions, 0 deletions
diff --git a/net-nntp/sn/files/sn-0.3.8-parallel-make.patch b/net-nntp/sn/files/sn-0.3.8-parallel-make.patch new file mode 100644 index 000000000000..d94e21897781 --- /dev/null +++ b/net-nntp/sn/files/sn-0.3.8-parallel-make.patch @@ -0,0 +1,56 @@ +--- sn-0.3.8/Makefile.orig ++++ sn-0.3.8/Makefile +@@ -94,39 +94,39 @@ + ar rc $@ $^ + ranlib $@ + +-snsplit: snsplit.o sn.a ++snsplit: snsplit.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-snscan: snscan.o sn.a ++snscan: snscan.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) $(ZLIB) + sncat: snscan + ln -s snscan sncat + sncancel: snscan + ln -s snscan sncancel +-snprimedb: snprimedb.o sn.a ++snprimedb: snprimedb.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-sndumpdb: sndumpdb.o sn.a ++sndumpdb: sndumpdb.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-snntpd: snntpd.o post.o commands.o list.o sn.a ++snntpd: snntpd.o post.o commands.o list.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) $(ZLIB) +-snsend: snsend.o sn.a ++snsend: snsend.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) $(ZLIB) + snstore: snsend + ln -s snsend snstore +-snfetch: snfetch.o sn.a ++snfetch: snfetch.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-snexpire: snexpire.o sn.a ++snexpire: snexpire.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-snmail: snmail.o sn.a ++snmail: snmail.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-snget: snget.o get.o sn.a ++snget: snget.o get.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-sngetd: sngetd.o get.o sn.a ++sngetd: sngetd.o get.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-snnewgroup: snnewgroup.o sn.a ++snnewgroup: snnewgroup.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-sndelgroup: sndelgroup.o sn.a ++sndelgroup: sndelgroup.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) +-snlockf: snlockf.o ++snlockf: snlockf.o sn.a lib/libstuff.a + $(LD) `cat cc-flags` $^ -o $@ $(LIBS) + + %: %.in sed-cmd diff --git a/net-nntp/sn/files/sn-0.3.8-qa.patch b/net-nntp/sn/files/sn-0.3.8-qa.patch new file mode 100644 index 000000000000..52a25ebcd83e --- /dev/null +++ b/net-nntp/sn/files/sn-0.3.8-qa.patch @@ -0,0 +1,21 @@ +--- lib/readln.c ++++ lib/readln.c +@@ -9,6 +9,7 @@ + * Get a single line from an fd. + */ + ++#include <string.h> + #include <stdlib.h> + #include <unistd.h> + #include <sys/types.h> + +--- lib/cmdopen.c ++++ lib/cmdopen.c +@@ -6,6 +6,7 @@ + */ + + #include <unistd.h> ++#include <stdlib.h> + #include <fcntl.h> + #include <sys/wait.h> + |