diff options
Diffstat (limited to 'comms/xisp/patches')
-rw-r--r-- | comms/xisp/patches/patch-aa | 14 | ||||
-rw-r--r-- | comms/xisp/patches/patch-ab | 13 | ||||
-rw-r--r-- | comms/xisp/patches/patch-ac | 13 |
3 files changed, 35 insertions, 5 deletions
diff --git a/comms/xisp/patches/patch-aa b/comms/xisp/patches/patch-aa index 959080b681c..faedcce8aa8 100644 --- a/comms/xisp/patches/patch-aa +++ b/comms/xisp/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.8 2004/06/07 14:47:34 minskim Exp $ +$NetBSD: patch-aa,v 1.9 2006/02/22 16:13:48 joerg Exp $ ---- Makefile.orig 2003-06-28 09:03:03.000000000 -0500 +--- Makefile.orig 2003-06-28 14:03:03.000000000 +0000 +++ Makefile @@ -12,12 +12,12 @@ # Compilation/installation vars (global for all following sections) | @@ -66,7 +66,7 @@ $NetBSD: patch-aa,v 1.8 2004/06/07 14:47:34 minskim Exp $ # # Debian vars (if your Debian distribution is relatively # old and does not use glibc2, use the lines which DO NOT -@@ -187,25 +187,25 @@ INSTALL = install +@@ -187,25 +187,29 @@ INSTALL = install # # NetBSD vars #------------- @@ -103,14 +103,18 @@ $NetBSD: patch-aa,v 1.8 2004/06/07 14:47:34 minskim Exp $ +GROUP = dialer +CCFLAGS = -Wall -O +EXTRADEFS = -DMODEM_DEVICE=\"$(MODEM_PATH)\" -DHAVE_STRERROR ++.if ${OPSYS} == "DragonFly" ++EXTRALIBS = -lcipher ++.else +EXTRALIBS = -lcrypt ++.endif +LINKX11 = -Wl,-R$(LIBX11) +LINKFORMS = -Wl,-R$(LIBFORMS) -L$(LIBFORMS) -lforms +INSTALL = /usr/bin/install # # FreeBSD vars #------------- -@@ -325,19 +325,19 @@ network.o: network.h network.c +@@ -325,19 +329,19 @@ network.o: network.h network.c $(CC) $(CCOPTS) -c network.c xispdial: xispdial.o $(SHAREOBJ) @@ -133,7 +137,7 @@ $NetBSD: patch-aa,v 1.8 2004/06/07 14:47:34 minskim Exp $ $(EXTRALIBS) -L$(LIBX11) $(LINKFORMS) -lXpm -lX11 -lm rcio.o: rcio.h rcio.c common.h version.h -@@ -350,7 +350,7 @@ xisp_euidaccess.o: xisp_euidaccess.c +@@ -350,7 +354,7 @@ xisp_euidaccess.o: xisp_euidaccess.c $(CC) $(CCOPTS) -c xisp_euidaccess.c xispid: xispid.c diff --git a/comms/xisp/patches/patch-ab b/comms/xisp/patches/patch-ab new file mode 100644 index 00000000000..84161272e80 --- /dev/null +++ b/comms/xisp/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2006/02/22 16:13:48 joerg Exp $ + +--- network.c.orig 2006-02-22 16:05:33.000000000 +0000 ++++ network.c +@@ -89,7 +89,7 @@ char *IFAddr(char *IFName, int dest) + #define AddrOpen popen("/usr/ucb/netstat -nr", "r") + #define AddrScanf sscanf(routeLine, "%*s %*s %*s %*s %*s %s", IF) + #define AddrClose while (fgets(routeLine,128,infofp) != NULL); pclose(infofp) +-#elif defined(SUNOS5x) || defined(__FreeBSD__) ++#elif defined(SUNOS5x) || defined(__FreeBSD__) || defined(__DragonFly__) + #define AddrOpen popen("/usr/bin/netstat -nr", "r") + #define AddrScanf sscanf(routeLine, "%*s %*s %*s %*s %*s %s", IF) + #define AddrClose while (fgets(routeLine,128,infofp) != NULL); pclose(infofp) diff --git a/comms/xisp/patches/patch-ac b/comms/xisp/patches/patch-ac new file mode 100644 index 00000000000..ff8c7dcbc33 --- /dev/null +++ b/comms/xisp/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.3 2006/02/22 16:13:48 joerg Exp $ + +--- xispid.c.orig 2006-02-22 16:06:00.000000000 +0000 ++++ xispid.c +@@ -42,7 +42,7 @@ + #include <limits.h> + #endif + +-#if !defined(__FreeBSD__) && !defined(linux) /* setgrent() is int in FreeBSD */ ++#if !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(linux) /* setgrent() is int in FreeBSD */ + struct passwd *getpwuid(); + struct group *getgrgid(), *getgrent(); + uid_t getuid(), geteuid(); |