diff options
author | 2007-03-03 05:34:51 +0000 | |
---|---|---|
committer | 2007-03-03 05:34:51 +0000 | |
commit | 43fb899a6c3b61a6819ecfba780fb9f76348bba1 (patch) | |
tree | 4c3451c4467a0bc655fa5960751c6733b9b3b76e /sys-block/gpart/files | |
parent | Version bump #168768 by Kevin Parent. (diff) | |
download | gentoo-2-43fb899a6c3b61a6819ecfba780fb9f76348bba1.tar.gz gentoo-2-43fb899a6c3b61a6819ecfba780fb9f76348bba1.tar.bz2 gentoo-2-43fb899a6c3b61a6819ecfba780fb9f76348bba1.zip |
Use syscall() rather than _syscall#() #163800 by Peter Ruskin.
(Portage version: 2.1.2-r13)
Diffstat (limited to 'sys-block/gpart/files')
-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 + + |