diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/gpart/gpart-0.1h-PIC.patch |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gpart/gpart-0.1h-PIC.patch')
-rw-r--r-- | extra/gpart/gpart-0.1h-PIC.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/gpart/gpart-0.1h-PIC.patch b/extra/gpart/gpart-0.1h-PIC.patch new file mode 100644 index 000000000..e810bd999 --- /dev/null +++ b/extra/gpart/gpart-0.1h-PIC.patch @@ -0,0 +1,20 @@ +--- 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; + |