diff options
Diffstat (limited to 'sys-block/gpart/files/gpart-0.1h-no-_syscall.patch')
-rw-r--r-- | sys-block/gpart/files/gpart-0.1h-no-_syscall.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch new file mode 100644 index 000000000000..b50bcd2d75e9 --- /dev/null +++ b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch @@ -0,0 +1,15 @@ +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(fildes,offset,whence) syscall(__NR__llseek,fildes,offset,whence) + #endif + + |