[arch-commits] Commit in ntp/trunk (PKGBUILD fix-ipv6.patch)

Tobias Powalowski tpowa at archlinux.org
Fri Jun 19 20:22:54 UTC 2009


    Date: Friday, June 19, 2009 @ 16:22:54
  Author: tpowa
Revision: 43087

upgpkg: ntp 4.2.4p7-3

Added:
  ntp/trunk/fix-ipv6.patch
Modified:
  ntp/trunk/PKGBUILD

----------------+
 PKGBUILD       |    6 +++++-
 fix-ipv6.patch |   10 ++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-19 20:20:06 UTC (rev 43086)
+++ PKGBUILD	2009-06-19 20:22:54 UTC (rev 43087)
@@ -2,7 +2,7 @@
 # Maintainer: dorphell <dorphell at archlinux.org>
 pkgname=ntp
 pkgver=4.2.4p7
-pkgrel=2
+pkgrel=3
 pkgdesc="NTP (Network Time Protocol) tries to keep servers in sync"
 arch=(i686 x86_64)
 license=('custom')
@@ -13,6 +13,7 @@
 source=(http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${pkgver}.tar.gz
         ftp://ftp.archlinux.org/other/ntp/ntp-4.2.4p6-manpages.tar.bz2
         ntp-4.2.4_p7-nano.patch
+	fix-ipv6.patch
         ntp.conf
         ntp-client.conf
         ntpd
@@ -22,6 +23,8 @@
   cd $srcdir/$pkgname-$pkgver || return 1
   # fix glibc build issue
   patch -Np1 -i ../ntp-4.2.4_p7-nano.patch || return 1
+  # fix ipv6 support
+  patch -Np1 -i ../fix-ipv6.patch || return 1
   # configure
   ac_cv_header_dns_sd_h=0 ./configure --prefix=/usr --mandir=/usr/share/man --enable-linux-caps || return 1
 
@@ -60,6 +63,7 @@
 md5sums=('8c19ff62ed4f7d64f8e2aa59cb11f364'
          '3396ea6276147617e5cf79cefffee018'
          '36c5711228cb0cf48966daa993e06f55'
+         '9dabdbc6b8cd020f2205515df7972c21'
          '5bd3924f5720b97837969ec4ec4d5e09'
          'c7f50632b69bd4f32cf052d0b1848463'
          '46118a8ec2c4f5bbfafd730af21b7c03'

Added: fix-ipv6.patch
===================================================================
--- fix-ipv6.patch	                        (rev 0)
+++ fix-ipv6.patch	2009-06-19 20:22:54 UTC (rev 43087)
@@ -0,0 +1,10 @@
+--- ntp-4.2.4p7-orig/configure.ac	2009-06-18 14:48:12.151346763 +0200
++++ ntp-4.2.4p7/configure.ac	2009-06-18 14:50:07.054692531 +0200
+@@ -4456,6 +4456,7 @@
+ 		[
+ 		    AC_LANG_PROGRAM(
+ 			[
++                            #define _GNU_SOURCE
+ 			    #include <sys/types.h>
+ 			    #include <sys/socket.h>
+ 			    #include <netinet/in.h>




More information about the arch-commits mailing list