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

r2793 - in glibc-package/trunk/debian: . patches patches/mips



Author: aurel32
Date: 2008-01-24 14:37:50 +0000 (Thu, 24 Jan 2008)
New Revision: 2793

Added:
   glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/mips/submitted-mipsn32.diff: new patch to fix truncate64() 
    on MIPS n32.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2008-01-22 22:14:04 UTC (rev 2792)
+++ glibc-package/trunk/debian/changelog	2008-01-24 14:37:50 UTC (rev 2793)
@@ -12,10 +12,12 @@
   * patches/any/local-ldso-disable-hwcap.diff: enable tls/ directory even
     when hardware capabilities are disabled. This workarounds a bug in
     nvidia-glx.  Closes: #453480.
-  * patches/mips/local-r10k.diff: new patch from Florian Lohoff to 
+  * patches/mips/local-r10k.diff: new patch from Florian Lohoff to
     workaround LL/SC bug on R10k.  Closes: #462112.
+  * patches/mips/submitted-mipsn32.diff: new patch to fix truncate64() 
+    on MIPS n32.
 
- -- Aurelien Jarno <aurel32@debian.org>  Tue, 22 Jan 2008 23:11:59 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Thu, 24 Jan 2008 15:37:11 +0100
 
 glibc (2.7-6) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff
===================================================================
--- glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff	2008-01-24 14:37:50 UTC (rev 2793)
@@ -0,0 +1,26 @@
+2008-01-24  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Drop truncate
+	declaration.
+	(truncate64): Fix arguments and call to truncate.
+
+Index: sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c
+===================================================================
+RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c,v
+retrieving revision 1.1
+diff -u -d -p -r1.1 truncate64.c
+--- ports/sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c	5 Apr 2003 19:57:35 -0000	1.1
++++ ports/sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c	24 Jan 2008 01:21:34 -0000
+@@ -21,10 +21,6 @@
+ #include <sysdep.h>
+ #include <bp-checks.h>
+ 
+-extern int truncate (const char *__unbounded path, int dummy,
+-		     off64_t length);
+-
+-int truncate64 (const char *__unbounded path, int dummy,
+-		off64_t length) {
+-  return truncate (path, dummy, length);
++int truncate64 (const char *file, off64_t length) {
++  return truncate (file, length);
+ }

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2008-01-22 22:14:04 UTC (rev 2792)
+++ glibc-package/trunk/debian/patches/series	2008-01-24 14:37:50 UTC (rev 2793)
@@ -108,6 +108,7 @@
 mips/local-lazy-eval.diff -p0
 mips/local-r10k.diff -p0
 mips/local-setjmp.diff -p0
+mips/submitted-mipsn32.diff -p0
 
 powerpc/local-sysconf.diff 
 


Reply to: