Updating patch to prevent ffs(...) getting declared when not needed to not cause...
authorTim Yamin <plasmaroo@gentoo.org>
Tue, 4 Jan 2005 19:58:10 +0000 (19:58 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Tue, 4 Jan 2005 19:58:10 +0000 (19:58 +0000)
sys-kernel/linux26-headers/Manifest
sys-kernel/linux26-headers/files/linux26-headers-2.6.8.1-appCompat.patch

index e0719e8f6e964d3ff9a76ea39b7b1804d1529b6c..9d35103ecaba220e6eb6fbbf67c6de1aacf347ee 100644 (file)
@@ -21,7 +21,7 @@ MD5 8a065c0dc3b8fac8747de35f1af75a2c files/linux26-headers-2.6.0-fb.patch 386
 MD5 9101139b0720280f338a1823c281ee84 files/linux26-headers-2.6.8.1-parisc-syscall.patch 413
 MD5 8fbc202526e4c1b1672c5274bbff4e5f files/linux26-headers-2.6.6-appCompat.patch 26689
 MD5 ec3d195f7d40d599802d5c0c5ad8f502 files/linux26-headers-2.6.4-appCompat.patch 17240
-MD5 aaeefcdf049bbb51aa8da8892ff086a9 files/linux26-headers-2.6.8.1-appCompat.patch 58456
+MD5 6394b51aaf6800dce1dd7a710776dc9e files/linux26-headers-2.6.8.1-appCompat.patch 58549
 MD5 b405a908c2cc1e6ed3e25f030c41f4c4 files/digest-linux26-headers-2.6.7-r4 66
 MD5 830c6d1dcb1b22b9095e6f16f3ebdf85 files/linux26-headers-2.6.6-tcp_info-DRS-backport.patch 288
 MD5 a8c4e44a323fbde21b9de3940e2ca5ef files/digest-linux26-headers-2.6.5 66
index 62d102a344630eb165f7c981630bf962574c0e69..9d0272aaf5bb89ab7d5d1eebe2c451d53a53db88 100644 (file)
@@ -972,12 +972,14 @@ diff -ur linux-2.6.8.1/include/linux/compiler.h linux-2.6.8.1-gentoo/include/lin
  
  /* Intel compiler defines __GNUC__. So we will overwrite implementations
   * coming from above header files here
-@@ -47,7 +59,12 @@
+@@ -47,7 +59,14 @@
  
  /* Optimization barrier */
  #ifndef barrier
 -# define barrier() __memory_barrier()
++# define __ffs /* Prevent ffs(...) getting declared when we don't need it */
 +# include <asm/system.h>
++# undef __ffs
 +# ifdef mb
 +#   define barrier() mb()
 +# else