[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3503 - in glibc-package/branches/eglibc-2.10/debian: . patches patches/ia64



Author: aurel32
Date: 2009-05-16 11:25:04 +0000 (Sat, 16 May 2009)
New Revision: 3503

Added:
   glibc-package/branches/eglibc-2.10/debian/patches/ia64/
   glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-sysconf.diff
Modified:
   glibc-package/branches/eglibc-2.10/debian/changelog
   glibc-package/branches/eglibc-2.10/debian/patches/series
Log:
  * Add debian/patches/ia64/submitted-sysconf.diff to fix sysconf() on ia64.



Modified: glibc-package/branches/eglibc-2.10/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/changelog	2009-05-15 14:13:01 UTC (rev 3502)
+++ glibc-package/branches/eglibc-2.10/debian/changelog	2009-05-16 11:25:04 UTC (rev 3503)
@@ -67,6 +67,7 @@
     and config.sub.
   * Remove debian/patches/powerpc/local-sysconf.diff, as it only concerns
     kernel that are not supported anymore.
+  * Add debian/patches/ia64/submitted-sysconf.diff to fix sysconf() on ia64.
 
  -- Aurelien Jarno <aurel32@debian.org>  Sun, 10 May 2009 15:03:39 +0200
 

Added: glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-sysconf.diff
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-sysconf.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.10/debian/patches/ia64/submitted-sysconf.diff	2009-05-16 11:25:04 UTC (rev 3503)
@@ -0,0 +1,16 @@
+2009-05-16  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/unix/sysv/linux/ia64/sysconf.c (__sysconf): use
+	_POSIX_VERSION instead of 200112L.
+
+--- a/sysdeps/unix/sysv/linux/ia64/sysconf.c
++++ b/sysdeps/unix/sysv/linux/ia64/sysconf.c
+@@ -33,7 +33,7 @@ long int
+ __sysconf (int name)
+ {
+   if (name == _SC_CPUTIME || name == _SC_THREAD_CPUTIME)
+-    return has_cpuclock () ? 200112L : -1;
++    return has_cpuclock () ? _POSIX_VERSION : -1;
+ 
+   /* Everything else is handled by the more general code.  */
+   return linux_sysconf (name);

Modified: glibc-package/branches/eglibc-2.10/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/series	2009-05-15 14:13:01 UTC (rev 3502)
+++ glibc-package/branches/eglibc-2.10/debian/patches/series	2009-05-16 11:25:04 UTC (rev 3503)
@@ -88,6 +88,8 @@
 hurd-i386/submitted-itimer-lock.diff
 hurd-i386/local-pthread_types.diff
 
+ia64/submitted-sysconf.diff
+
 i386/local-biarch.diff
 i386/local-clone.diff
 i386/local-cmov.diff


Reply to: