OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 03-Jun-2004 15:35:16
Branch: HEAD Handle: 2004060314351500
Modified files:
openpkg-src/ntp ntp.patch
Log:
ntp usage of vsprintf(3) and vsnprintf(3) is a little messy, but patch
at least enough to sucessfully build ntpd using these methods on newer
platforms
Summary:
Revision Changes Path
1.6 +28 -15 openpkg-src/ntp/ntp.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ntp/ntp.patch
============================================================================
$ cvs diff -u -r1.5 -r1.6 ntp.patch
--- openpkg-src/ntp/ntp.patch 1 Jun 2004 11:12:02 -0000 1.5
+++ openpkg-src/ntp/ntp.patch 3 Jun 2004 13:35:15 -0000 1.6
@@ -67,26 +67,39 @@
hints.ai_flags |= AI_ADDRCONFIG;
Index: configure.in
---- configure.in.orig 2004-06-01 13:09:33.037786345 +0200
-+++ configure.in 2004-06-01 13:08:41.148480934 +0200
-@@ -794,7 +794,7 @@
- esac])
- AC_CHECK_FUNCS(setvbuf sigaction)
- AC_CHECK_FUNCS(sigvec sigset sigsuspend stime strchr sysconf sysctl)
--AC_CHECK_FUNCS(snprintf strdup strerror strstr)
-+AC_CHECK_FUNCS(snprintf vsnprintf strdup strerror strstr)
- AC_CHECK_FUNCS(timegm)
+--- configure.in.orig 2004-06-03 15:19:21.000000000 +0200
++++ configure.in 2004-06-03 15:18:18.000000000 +0200
+@@ -819,7 +819,7 @@
+ *) AC_CHECK_FUNCS(umask)
+ ;;
+ esac
+-AC_CHECK_FUNCS(uname updwtmp updwtmpx vsprintf)
++AC_CHECK_FUNCS(uname updwtmp updwtmpx vsprintf vsnprintf)
+
case "$host" in
- *-*-aix[[45]]*)
+ *-*-sunos4*)
Index: configure
---- configure.orig 2004-06-01 13:09:37.013651517 +0200
-+++ configure 2004-06-01 13:08:51.875558748 +0200
-@@ -17385,7 +17385,7 @@
+--- configure.orig 2004-06-03 15:19:14.000000000 +0200
++++ configure 2004-06-03 15:18:26.000000000 +0200
+@@ -17746,7 +17746,7 @@
--for ac_func in snprintf strdup strerror strstr
-+for ac_func in snprintf vsnprintf strdup strerror strstr
+-for ac_func in uname updwtmp updwtmpx vsprintf
++for ac_func in uname updwtmp updwtmpx vsprintf vsnprintf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
+Index: config.h.in
+--- config.h.in.orig 2004-06-03 15:18:53.000000000 +0200
++++ config.h.in 2004-06-03 15:18:55.000000000 +0200
+@@ -822,6 +822,9 @@
+ /* Define to 1 if you have the `vsprintf' function. */
+ #undef HAVE_VSPRINTF
+
++/* Define to 1 if you have the `vsnprintf' function. */
++#undef HAVE_VSNPRINTF
++
+ /* Define to 1 if you have the </sys/sync/queue.h> header file. */
+ #undef HAVE__SYS_SYNC_QUEUE_H
+
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]