summaryrefslogtreecommitdiff
path: root/news/knews/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'news/knews/patches/patch-ab')
-rw-r--r--news/knews/patches/patch-ab50
1 files changed, 39 insertions, 11 deletions
diff --git a/news/knews/patches/patch-ab b/news/knews/patches/patch-ab
index c79732818ed..bf592c6ec47 100644
--- a/news/knews/patches/patch-ab
+++ b/news/knews/patches/patch-ab
@@ -1,12 +1,40 @@
-$NetBSD: patch-ab,v 1.3 1998/08/07 11:11:08 agc Exp $
+$NetBSD: patch-ab,v 1.4 1999/03/14 15:07:21 tron Exp $
---- src/global.h.orig Fri Jan 9 18:16:21 1998
-+++ src/global.h Thu Apr 23 00:52:42 1998
-@@ -100,6 +100,7 @@
- long no_unread;
- long first_art;
- long last_art;
-+ long active_last_art;
- ART_LIST_NODE *read_arts;
- long disp;
- char subscribed;
+--- knews.tmpl.orig Tue Dec 29 05:14:55 1998
++++ knews.tmpl Tue Mar 9 06:30:33 1999
+@@ -1,4 +1,4 @@
+-/*
++ /*
+ * This file is included into all Imakefiles. If your default compiler
+ * is not ISO/ANSI compliant, you have to fix it here. Below are a few
+ * example settings for systems I have access to.
+@@ -23,11 +23,9 @@
+ */
+
+ /* gcc on decent systems */
+-#if 0
+ CC = gcc
+ CCOPTIONS = -ansi -pedantic -Wall
+ CDEBUGFLAGS = -O2
+-#endif
+
+ /* gcc on SunOS 4.1.x (and maybe other non-decent systems) */
+ #if 0
+@@ -74,13 +72,13 @@
+ * be changed to -lgz.
+ */
+
+-JPEG_LIB = -ljpeg
+-PNG_LIB = -lpng -lz -lm
+-COMPFACE_LIB = -lcompface
++JPEG_LIB = -L${LOCALBASE}/lib -ljpeg
++PNG_LIB = -L${LOCALBASE}/lib -lpng -lz -lm
++COMPFACE_LIB = -L${LOCALBASE}/lib -lcompface
+
+
+ /*
+ * If you need to add include paths for e.g. libjpeg, libpng or libzlib
+ * include files, do it here.
+ */
+-KNEWS_INCLUDES =
++KNEWS_INCLUDES = -I${LOCALBASE}/include