Code: Select all
patch -p0 < filename.patch
./configure
make config
make
Code: Select all
Index: aclocal.m4
===================================================================
RCS file: /usr/local/cvsroot/eggdrop1.6/aclocal.m4,v
retrieving revision 1.87
diff -u -r1.87 aclocal.m4
--- aclocal.m4 10 Apr 2004 04:53:41 -0000 1.87
+++ aclocal.m4 3 Jun 2004 08:53:29 -0000
@@ -94,7 +94,7 @@
c
EOF
- for ac_prog in 'head -1' 'head -n 1' 'sed 1q'; do
+ for ac_prog in 'head -n 1' 'head -1' 'sed 1q'; do
AC_MSG_CHECKING([whether $ac_prog works])
AC_CACHE_VAL([ac_cv_prog_HEAD_1],
[
Index: configure
===================================================================
RCS file: /usr/local/cvsroot/eggdrop1.6/configure,v
retrieving revision 1.117
diff -u -r1.117 configure
--- configure 2 Jun 2004 06:58:58 -0000 1.117
+++ configure 3 Jun 2004 08:53:30 -0000
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 1.5 .
+# From configure.ac Revision: 1.6 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for Eggdrop 1.6.17.
#
@@ -3403,7 +3403,7 @@
c
EOF
- for ac_prog in 'head -1' 'head -n 1' 'sed 1q'; do
+ for ac_prog in 'head -n 1' 'head -1' 'sed 1q'; do
echo "$as_me:$LINENO: checking whether $ac_prog works" >&5
echo $ECHO_N "checking whether $ac_prog works... $ECHO_C" >&6
if test "${ac_cv_prog_HEAD_1+set}" = set; then
@@ -5313,7 +5313,9 @@
-for ac_header in arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h
+
+
+for ac_header in arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stdarg.h std_args.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
Index: configure.ac
===================================================================
RCS file: /usr/local/cvsroot/eggdrop1.6/configure.ac,v
retrieving revision 1.6
diff -u -r1.6 configure.ac
--- configure.ac 2 Jun 2004 06:58:58 -0000 1.6
+++ configure.ac 3 Jun 2004 08:53:30 -0000
@@ -47,7 +47,7 @@
# Checks for header files
EGG_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h])
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stdarg.h std_args.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h])
AC_HEADER_TIME
# Checks for typedefs, structures, and compiler characteristics
Code: Select all
...
botmsg.c: In function `tandout_but':
botmsg.c:50: `va_list' undeclared (first use in this function)
botmsg.c:50: (Each undeclared identifier is reported only once
botmsg.c:50: for each function it appears in.)
botmsg.c:50: parse error before "va"
...
Code: Select all
#define HAVE_STDARG_H 1
Code: Select all
net.c: In function `open_address_listen':
net.c:446: `socklen_t' undeclared (first use in this function)
net.c:446: (Each undeclared identifier is reported only once
net.c:446: for each function it appears in.)
net.c:446: parse error before `addrlen'
net.c:469: `addrlen' undeclared (first use in this function)
net.c: In function `answer':
net.c:539: `socklen_t' undeclared (first use in this function)
net.c:539: parse error before `addrlen'
net.c:542: `addrlen' undeclared (first use in this function)
make[1]: *** [net.o] Error 1
Code: Select all
#ifndef _EGG_EGGDROP_H
#define _EGG_EGGDROP_H
Code: Select all
typedef int socklen_t;