rpms/ntp/devel ntp-4.2.4p4-ipv6.patch,NONE,1.1 ntp.spec,1.77,1.78

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Mon Mar 10 15:45:28 UTC 2008


Author: mlichvar

Update of /cvs/pkgs/rpms/ntp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16704

Modified Files:
	ntp.spec 
Added Files:
	ntp-4.2.4p4-ipv6.patch 
Log Message:
- fix building IPv6 support with new glibc-headers (#436713)


ntp-4.2.4p4-ipv6.patch:

--- NEW FILE ntp-4.2.4p4-ipv6.patch ---
diff -up ntp-4.2.4p4/configure.ipv6 ntp-4.2.4p4/configure
--- ntp-4.2.4p4/configure.ipv6	2008-03-10 13:39:45.000000000 +0100
+++ ntp-4.2.4p4/configure	2008-03-10 16:15:39.000000000 +0100
@@ -52780,15 +52780,19 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#define _GNU_SOURCE
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+;
 $isc_netinetin6_hack
 $isc_netinet6in6_hack
 
+;
 int
 main ()
 {
+;
 struct in6_pktinfo xyzzy; return (0);
   ;
   return 0;


Index: ntp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ntp/devel/ntp.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- ntp.spec	29 Feb 2008 14:54:31 -0000	1.77
+++ ntp.spec	10 Mar 2008 15:44:55 -0000	1.78
@@ -1,7 +1,7 @@
 Summary: Synchronizes system time using the Network Time Protocol (NTP)
 Name: ntp
 Version: 4.2.4p4
-Release: 4%{?dist}
+Release: 5%{?dist}
 # primary license (COPYRIGHT) : MIT
 # ElectricFence/ (not used) : GPLv2
 # kernel/sys/ppsclock.h (not used) : BSD with advertising
@@ -59,6 +59,7 @@
 Patch18: ntp-4.2.4p4-bcast.patch
 Patch19: ntp-4.2.4p0-retcode.patch
 Patch20: ntp-4.2.4p2-noif.patch
+Patch21: ntp-4.2.4p4-ipv6.patch
 
 URL: http://www.ntp.org
 Requires(pre): shadow-utils 
@@ -103,6 +104,7 @@
 %patch18 -p1 -b .bcast
 %patch19 -p1 -b .retcode
 %patch20 -p1 -b .noif
+%patch21 -p1 -b .ipv6
 
 %ifarch ia64
 %patch5 -p1 -b .linkfastmath
@@ -239,6 +241,9 @@
 
 
 %changelog
+* Mon Mar 10 2008 Miroslav Lichvar <mlichvar at redhat.com> 4.2.4p4-5
+- fix building IPv6 support with new glibc-headers (#436713)
+
 * Fri Feb 29 2008 Miroslav Lichvar <mlichvar at redhat.com> 4.2.4p4-4
 - reset kernel frequency when -x option is used
 - create separate init script for ntpdate




More information about the fedora-extras-commits mailing list