summaryrefslogtreecommitdiff
path: root/wm/ion/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'wm/ion/patches/patch-ab')
-rw-r--r--wm/ion/patches/patch-ab77
1 files changed, 10 insertions, 67 deletions
diff --git a/wm/ion/patches/patch-ab b/wm/ion/patches/patch-ab
index 765ae2f08fa..59c3f1641b7 100644
--- a/wm/ion/patches/patch-ab
+++ b/wm/ion/patches/patch-ab
@@ -1,69 +1,12 @@
-$NetBSD: patch-ab,v 1.4 2002/12/22 21:33:15 jmmv Exp $
+$NetBSD: patch-ab,v 1.5 2004/02/23 13:40:21 cube Exp $
---- system.mk.orig Mon Mar 5 17:16:01 2001
-+++ system.mk
-@@ -7,13 +7,13 @@
- ## Installation paths
- ##
-
--PREFIX=/usr/local
-+#PREFIX=/usr/local
-
- # No need to modify these usually
- BINDIR=$(PREFIX)/bin
--ETCDIR=$(PREFIX)/etc
-+ETCDIR=$(PREFIX)/share/examples
- MANDIR=$(PREFIX)/man
--DOCDIR=$(PREFIX)/doc
-+DOCDIR=$(PREFIX)/share/doc
- # Not used
- INCDIR=$(PREFIX)/include
- LIBDIR=$(PREFIX)/lib
-@@ -24,14 +24,14 @@ LIBDIR=$(PREFIX)/lib
- ##
-
- #MODULE_SUPPORT=-DCF_NO_MODULE_SUPPORT
--MODULE_SUPPORT_LDFLAGS=-export-dynamic -ldl
-+MODULE_SUPPORT_LDFLAGS=-export-dynamic
-
-
- ##
- ## X libraries, includes and options
- ##
-
--X11_PREFIX=/usr/X11R6
-+X11_PREFIX=${BUILDLINK_X11_DIR}
-
- # SunOS/Solaris
- #X11_PREFIX=/usr/openwin
-@@ -59,7 +59,6 @@ X11_DEFINES=
- ## C compiler
- ##
-
--CC=gcc
-
- # The POSIX_SOURCE, XOPEN_SOURCE and WARN options should not be necessary,
- # they're mainly for development use. So, if they cause trouble (not
-@@ -86,8 +85,8 @@ WARN= -W -Wimplicit -Wreturn-type -Wswit
- -Wparentheses -pedantic-errors -Wuninitialized
-
-
--CFLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
--LDFLAGS=-g $(LIBS) $(EXTRA_LIBS)
-+CFLAGS+=$(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
-+LDFLAGS+=$(LIBS) $(EXTRA_LIBS)
-
-
- ##
-@@ -112,9 +111,9 @@ RANLIB=ranlib
- ##
-
- # Should work almost everywhere
--INSTALL=install
-+#INSTALL=install
- # On a system with pure BSD install, -c might be preferred
--#INSTALL=install -c
-+INSTALL=install -c
-
- INSTALLDIR=mkdir -p
+--- ioncore/event.c.orig 2003-03-09 12:17:40.000000000 +0100
++++ ioncore/event.c
+@@ -15,6 +15,7 @@
+ #include "readfds.h"
+
+ #include <stdlib.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <sys/time.h>