mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-block/gpart: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3791
This commit is contained in:
committed by
David Seifert
parent
70c8dfb8b0
commit
f70e54d6e6
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user