add hppa to the exception list
authorMike Frysinger <vapier@gentoo.org>
Thu, 30 Sep 2004 18:13:22 +0000 (18:13 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 30 Sep 2004 18:13:22 +0000 (18:13 +0000)
sys-apps/util-linux/Manifest
sys-apps/util-linux/files/util-linux-2.12b-pic.patch

index 06c89d401a834dee87eb5c772f0185db831911f5..b6ff219b028926ec03b7156586b59790e211dbd9 100644 (file)
@@ -35,11 +35,11 @@ MD5 87912a793169fad4258077f2f6957616 files/digest-util-linux-2.12b 156
 MD5 e9d23ba9f2e86d57084dce2b34d76c10 files/util-linux-2.12b-fat-LABEL-support.patch 11672
 MD5 58cfa6f70a144bbe55e6aa1b85f72a96 files/util-linux-2.12b-gcloop-with-crypt.patch 3846
 MD5 a0217db1b99dfa1f137c22c36343a623 files/util-linux-2.12b-gcloop.patch 3844
-MD5 36359c4fe2698bdac5888e6daf63b67e files/util-linux-2.12b-pic.patch 3652
+MD5 07a3dfffc55bcc7ef2868e025beb853e files/util-linux-2.12b-pic.patch 2874
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.10 (GNU/Linux)
 
-iD8DBQFBTt89HTu7gpaalycRAiK1AJ9sqQ/qqs/oXdj3jDXIJ79WhZjd2ACfdEO2
-7ZGX8AwJUvXM3uiDbff2FXQ=
-=M5Fr
+iD8DBQFBXE2KHTu7gpaalycRArRUAKCPb7jx74ebun63KXzpWLuNw5agggCgxjWZ
+EQX7fjijrdr57yQZGVw5OE4=
+=LQP7
 -----END PGP SIGNATURE-----
index 99afe9b63eaf594e1538c7080f891f97af3261c4..479c2cce8637d48097c9ef1cc0a27d28295e58ab 100644 (file)
@@ -17,7 +17,7 @@ diff -u -r -N util-linux-2.11z.orig/fdisk/llseek.c util-linux-2.11z/fdisk/llseek
  
 -#if defined(__alpha__) || defined(__ia64__) || defined(__s390x__)
 +/* do not use assembler to put together syscalls at compile time (for llseek for example) when using PIC */
-+#if defined(__PIC__) || defined(__pic__) || defined(__alpha__) || defined(__ia64__) || defined(__s390x__)
++#if defined(__PIC__) || defined(__pic__) || defined(__alpha__) || defined(__ia64__) || defined(__s390x__) || defined(__hppa__)
  
  #define my_llseek lseek
  
@@ -39,7 +39,7 @@ diff -u -r -N util-linux-2.11z.orig/fdisk/sfdisk.c util-linux-2.11z/fdisk/sfdisk
 -#if !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__)
 +
 +/* do not use the assembler constructed syscalls for seeking if compiled as PIC */
-+#if !defined(__PIC__) && !defined(__pic__) && !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__)
++#if !defined(__PIC__) && !defined(__pic__) && !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__) && !defined (__hppa__)
  static
  _syscall5(int,  _llseek,  uint,  fd, ulong, hi, ulong, lo,
         loff_t *, res, uint, wh);
@@ -48,35 +48,10 @@ diff -u -r -N util-linux-2.11z.orig/fdisk/sfdisk.c util-linux-2.11z/fdisk/sfdisk
      out = 1;
  
 -#if !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__)
-+#if !defined(__PIC__) && !defined(__pic__) && !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__)
++#if !defined(__PIC__) && !defined(__pic__) && !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__) && !defined (__hppa__)
      if (_llseek (fd, in>>32, in & 0xffffffff, &out, SEEK_SET) != 0) {
  #else
      if ((out = lseek(fd, in, SEEK_SET)) != in) {
-#
-# This seems to not be needed anymore
-#
-#diff -u -r -N util-linux-2.11z.orig/mount/pivot_root.c util-linux-2.11z/mount/pivot_root.c
-#--- util-linux-2.11z.orig/mount/pivot_root.c  2002-11-29 12:02:56.000000000 +0100
-#+++ util-linux-2.11z/mount/pivot_root.c       2003-07-12 19:07:39.000000000 +0200
-#@@ -1,12 +1,17 @@
-# /* pivot_root.c - Change the root file system */
-# 
-# /* Written 2000 by Werner Almesberger */
-#+/*
-#+ * Jul 11 2003 <solar@gentoo.org>
-#+ * avoid using assembler constructed _syscall2() when PIC is needed
-#+ */
-# 
-# #include <stdio.h>
-# #include <errno.h>   /* needed for <linux/unistd.h> below */
-# 
-#-#ifdef __ia64__
-#+#if (defined(__ia64__) || defined(__PIC__) || defined(__pic__))
-# # include <sys/syscall.h>
-#+# include <unistd.h>
-# # define pivot_root(new_root,put_old) syscall(SYS_pivot_root,new_root,put_old)
-# #else
-# # include <linux/unistd.h>
 --- util-linux-2.12b/partx/partx.c.orig        2004-09-04 15:58:23.000000000 -0400
 +++ util-linux-2.12b/partx/partx.c     2004-09-04 15:57:40.000000000 -0400
 @@ -333,7 +333,7 @@
@@ -84,7 +59,7 @@ diff -u -r -N util-linux-2.11z.orig/fdisk/sfdisk.c util-linux-2.11z/fdisk/sfdisk
   * sseek: seek to specified sector
   */
 -#if !defined (__alpha__) && !defined (__ia64__) && !defined (__s390x__) && !defined(__x86_64__)
-+#if !defined (__alpha__) && !defined (__ia64__) && !defined (__s390x__) && !defined(__x86_64__) && !defined(__PIC__)
++#if !defined (__alpha__) && !defined (__ia64__) && !defined (__s390x__) && !defined(__x86_64__) && !defined(__PIC__) && !defined(__hppa__)
  #define NEED__llseek
  #endif