summaryrefslogtreecommitdiff
path: root/extra/gpart
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
commitbc0657f7159d0b01373ecb59afc426b98a172b1e (patch)
tree7fba1eb77eb1a2965fe5f3ed72cc77aa63d14f40 /extra/gpart
parentfd115d7057eb8243df6edfaf1ed440d6f3e70692 (diff)
Thu Dec 1 14:10:27 UTC 2011
Diffstat (limited to 'extra/gpart')
-rw-r--r--extra/gpart/gpart-0.1h-PIC.patch20
-rw-r--r--extra/gpart/gpart-0.1h-no-_syscall.patch15
2 files changed, 0 insertions, 35 deletions
diff --git a/extra/gpart/gpart-0.1h-PIC.patch b/extra/gpart/gpart-0.1h-PIC.patch
deleted file mode 100644
index e810bd999..000000000
--- a/extra/gpart/gpart-0.1h-PIC.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpart-0.1h/src/l64seek.c
-+++ gpart-0.1h/src/l64seek.c
-@@ -26,7 +26,7 @@
- } ostck[OSTACKLEN];
- static int osptr = -1;
-
--#if defined(__linux__) && defined(__i386__)
-+#if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
- _syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
- #endif
-
-@@ -36,7 +36,7 @@
- {
- off64_t ret = (off64_t)-1;
-
--#if defined(__linux__) && defined(__i386__)
-+#if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
- int iret;
- unsigned long ohi, olo;
-
diff --git a/extra/gpart/gpart-0.1h-no-_syscall.patch b/extra/gpart/gpart-0.1h-no-_syscall.patch
deleted file mode 100644
index fe68d08b6..000000000
--- a/extra/gpart/gpart-0.1h-no-_syscall.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-use syscall() rather than _syscall#()
-
-http://bugs.gentoo.org/163800
-
---- src/l64seek.c
-+++ src/l64seek.c
-@@ -27,7 +27,7 @@
- static int osptr = -1;
-
- #if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
--_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
-+#define _llseek(fd,hi,lo,res,wh) syscall(__NR__llseek,fd,hi,lo,res,wh)
- #endif
-
-