summaryrefslogtreecommitdiffstats
path: root/news/slurp/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'news/slurp/files/patch-aa')
-rw-r--r--news/slurp/files/patch-aa20
1 files changed, 12 insertions, 8 deletions
diff --git a/news/slurp/files/patch-aa b/news/slurp/files/patch-aa
index 24d8f76..54089e7 100644
--- a/news/slurp/files/patch-aa
+++ b/news/slurp/files/patch-aa
@@ -1,5 +1,5 @@
--- Makefile.orig Tue Feb 7 12:37:45 1995
-+++ Makefile Sat Jun 29 23:13:53 1996
++++ Makefile Sun Nov 9 18:14:24 1997
@@ -15,10 +15,10 @@
# appropriate header file and library for the news database format that
# you have chosen.
@@ -14,16 +14,20 @@
#DBLIB = -ldbz
#DBINCLUDE = -I/usr/local/include
-@@ -28,7 +28,7 @@
+@@ -28,7 +28,11 @@
# C compilation flags
# Add here any additional compilation flags you need.
-CFLAGS = -O
-+#CFLAGS = -O
++# To enable the site exclusion features, define SITEEXCLUDING.
++#
++# If KEEPMISSINGARTS is defined, slurp will attempt on the next run
++# to fetch articles which were not available on the current download.
++CFLAGS+=-DSITEEXCLUDING -DKEEPMISSINGARTS
# Loader flags
-@@ -41,8 +41,8 @@
+@@ -41,8 +45,8 @@
# On some systems (e.g. SVR4) you need to include additional socket
# libraries. On others (e.g. Linux, BSD) this is not required.
@@ -34,16 +38,16 @@
# If you don't have the syslog facility then uncomment these two lines
-@@ -54,15 +54,16 @@
+@@ -54,15 +58,16 @@
# Everything else probably doesn't need changing
SOURCE = slurp.c newnews.c articles.c history.c time.c sockets.c misc.c \
- cache.c hostfiles.c space.c $(FAKESRC)
-+ dbz.c cache.c hostfiles.c space.c $(FAKESRC)
++ dbz.c cache.c hostfiles.c siteexclude.c space.c $(FAKESRC)
OBJECT = slurp.o newnews.o articles.o history.o time.o sockets.o misc.o \
- cache.o hostfiles.o space.o $(FAKEOBJ)
-+ dbz.o cache.o hostfiles.o space.o $(FAKEOBJ)
++ dbz.o cache.o hostfiles.o siteexclude.o space.o $(FAKEOBJ)
MANIFEST = README slurp.c newnews.c articles.c history.c time.c sockets.c \
misc.c cache.c hostfiles.c space.c fakesyslog.c conf.h slurp.h \
@@ -53,7 +57,7 @@
slurp: $(OBJECT)
$(CC) $(LDFLAGS) $(OBJECT) -o slurp $(DBLIB) $(LIBS)
-@@ -71,17 +72,17 @@
+@@ -71,17 +76,17 @@
$(CC) $(CFLAGS) $(DBINCLUDE) -c $<
OpenPOWER on IntegriCloud