summaryrefslogtreecommitdiff
path: root/chat/ircu/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ircu/patches/patch-ah')
-rw-r--r--chat/ircu/patches/patch-ah40
1 files changed, 8 insertions, 32 deletions
diff --git a/chat/ircu/patches/patch-ah b/chat/ircu/patches/patch-ah
index 0126d04c06c..87bb0ed5a5a 100644
--- a/chat/ircu/patches/patch-ah
+++ b/chat/ircu/patches/patch-ah
@@ -1,17 +1,9 @@
-$NetBSD: patch-ah,v 1.4 2006/12/21 16:13:54 jmmv Exp $
+$NetBSD: patch-ah,v 1.5 2007/04/09 12:39:27 adrianp Exp $
---- configure.orig 2004-09-18 04:17:45.000000000 +0200
+--- configure.orig 2005-12-14 03:03:09.000000000 +0000
+++ configure
-@@ -2370,7 +2370,6 @@ if test x"$CFLAGS" != x; then
- fi
- if test x"$CFLAGS" != x; then
- unet_old_cflags=$CFLAGS
-- CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//g'`
- fi
- if test x"$CFLAGS" != x"$unet_old_cflags"; then
- # If -g was already there, force symbols to be enabled
-@@ -7237,7 +7236,7 @@ echo "${ECHO_T}OpenBSD ($host) found." >
- OSDEP_C=os_openbsd.c
+@@ -9837,7 +9837,7 @@ echo "${ECHO_T}OpenBSD ($host) found." >
+ fi
;;
- *-*bsd*)
@@ -19,10 +11,11 @@ $NetBSD: patch-ah,v 1.4 2006/12/21 16:13:54 jmmv Exp $
echo "$as_me:$LINENO: result: Generic BSD ($host) found." >&5
echo "${ECHO_T}Generic BSD ($host) found." >&6
if test x"$ac_cv_header_poll_h" = xyes; then
-@@ -7968,9 +7967,25 @@ cat >>confdefs.h <<_ACEOF
+@@ -10727,10 +10727,25 @@ cat >>confdefs.h <<_ACEOF
+ #define LPATH "$unet_lpath"
_ACEOF
-
+-
-unet_maxcon=`ulimit -Hn`
-if test x"$unet_maxcon" = xunlimited; then
- unet_maxcon=`ulimit -Sn`
@@ -43,25 +36,8 @@ $NetBSD: patch-ah,v 1.4 2006/12/21 16:13:54 jmmv Exp $
+else
+ unet_maxcon=`ulimit -Hn`
+ if test x"$unet_maxcon" = xunlimited; then
-+ unet_maxcon=`ulimit -Sn`
++ unet_maxcon=`ulimit -Sn`
+ fi
fi
unet_maxcon=`expr $unet_maxcon - 4`
echo "$as_me:$LINENO: checking max connections" >&5
-@@ -8002,7 +8017,7 @@ cat >>confdefs.h <<_ACEOF
- _ACEOF
-
-
-- ac_config_files="$ac_config_files Makefile ircd/Makefile doc/Makefile"
-+ ac_config_files="$ac_config_files Makefile ircd/Makefile doc/Makefile tools/Makefile.crypt"
- ac_config_commands="$ac_config_commands default"
- cat >confcache <<\_ACEOF
- # This file is a shell script that caches the results of configure
-@@ -8534,6 +8549,7 @@ do
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "ircd/Makefile" ) CONFIG_FILES="$CONFIG_FILES ircd/Makefile" ;;
- "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
-+ "tools/Makefile.crypt" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile.crypt" ;;
- "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
- "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5