Author: pebender
Date: Tue Jun 23 05:55:55 2009
New Revision: 5024

Added:
    trunk/gar-minimyth/script/net/ntp/files/ntp-4.2.4p7-glibc_2.10.patch
Modified:
    trunk/gar-minimyth/script/net/ntp/Makefile
    trunk/gar-minimyth/script/net/ntp/checksums

Log:
- Patched package net/ntp so that it builds with glibc 2.10.



Modified: trunk/gar-minimyth/script/net/ntp/Makefile
==============================================================================
--- trunk/gar-minimyth/script/net/ntp/Makefile  (original)
+++ trunk/gar-minimyth/script/net/ntp/Makefile  Tue Jun 23 05:55:55 2009
@@ -3,7 +3,7 @@
  CATEGORIES = net
  MASTER_SITES =  
http://www.eecis.udel.edu/~$(GARNAME)/$(GARNAME)_spool/$(GARNAME)4/$(GARNAME)-4.2/
  DISTFILES = $(DISTNAME).tar.gz
-PATCHFILES  =
+PATCHFILES  = $(DISTNAME)-glibc_2.10.patch
  ifneq ($(DESTIMG),build)
  PATCHFILES += $(DISTNAME)-cross.patch
  endif

Modified: trunk/gar-minimyth/script/net/ntp/checksums
==============================================================================
--- trunk/gar-minimyth/script/net/ntp/checksums (original)
+++ trunk/gar-minimyth/script/net/ntp/checksums Tue Jun 23 05:55:55 2009
@@ -1,2 +1,3 @@
  8c19ff62ed4f7d64f8e2aa59cb11f364  download/ntp-4.2.4p7.tar.gz
+6335524252f030468a06b670f1434c7e  download/ntp-4.2.4p7-glibc_2.10.patch
  84d326d14d1b93fe5ec764f181ce45f7  download/ntp-4.2.4p7-cross.patch

Added: trunk/gar-minimyth/script/net/ntp/files/ntp-4.2.4p7-glibc_2.10.patch
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/net/ntp/files/ntp-4.2.4p7-glibc_2.10.patch        
 
Tue Jun 23 05:55:55 2009
@@ -0,0 +1,18 @@
+diff -Naur ntp-4.2.4p7-old/include/ntp_syscall.h  
ntp-4.2.4p7-new/include/ntp_syscall.h
+--- ntp-4.2.4p7-old/include/ntp_syscall.h      2004-02-24 21:57:56.000000000  
-0800
++++ ntp-4.2.4p7-new/include/ntp_syscall.h      2009-06-23 05:40:00.000000000  
-0700
+@@ -14,6 +14,14 @@
+ # include <sys/timex.h>
+ #endif
+
++#if defined(ADJ_NANO) && !defined(MOD_NANO)
++#define MOD_NANO ADJ_NANO
++#endif
++
++#if defined(ADJ_TAI) && !defined(MOD_TAI)
++#define MOD_TAI ADJ_TAI
++#endif
++
+ #ifndef NTP_SYSCALLS_LIBC
+ #ifdef NTP_SYSCALLS_STD
+ # define ntp_adjtime(t)               syscall(SYS_ntp_adjtime, (t))

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to