* [gentoo-commits] repo/gentoo:master commit in: sys-block/gpart/files/
@ 2017-02-04 21:22 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2017-02-04 21:22 UTC (permalink / raw
To: gentoo-commits
commit: f70e54d6e6cd2e3780da0fe512a2e12f92ee516c
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Feb 3 15:17:38 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 4 21:20:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f70e54d6
sys-block/gpart: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3791
sys-block/gpart/files/gpart-0.1h-PIC.patch | 20 --------------------
sys-block/gpart/files/gpart-0.1h-no-_syscall.patch | 15 ---------------
2 files changed, 35 deletions(-)
diff --git a/sys-block/gpart/files/gpart-0.1h-PIC.patch b/sys-block/gpart/files/gpart-0.1h-PIC.patch
deleted file mode 100644
index e810bd9..00000000
--- a/sys-block/gpart/files/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/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch
deleted file mode 100644
index fe68d08..00000000
--- a/sys-block/gpart/files/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
-
-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-04 21:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-04 21:22 [gentoo-commits] repo/gentoo:master commit in: sys-block/gpart/files/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox