Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/gpart/files/
Date: Sat, 04 Feb 2017 21:22:15
Message-Id: 1486243214.f70e54d6e6cd2e3780da0fe512a2e12f92ee516c.soap@gentoo
1 commit: f70e54d6e6cd2e3780da0fe512a2e12f92ee516c
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 3 15:17:38 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 4 21:20:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f70e54d6
7
8 sys-block/gpart: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/3791
11
12 sys-block/gpart/files/gpart-0.1h-PIC.patch | 20 --------------------
13 sys-block/gpart/files/gpart-0.1h-no-_syscall.patch | 15 ---------------
14 2 files changed, 35 deletions(-)
15
16 diff --git a/sys-block/gpart/files/gpart-0.1h-PIC.patch b/sys-block/gpart/files/gpart-0.1h-PIC.patch
17 deleted file mode 100644
18 index e810bd9..00000000
19 --- a/sys-block/gpart/files/gpart-0.1h-PIC.patch
20 +++ /dev/null
21 @@ -1,20 +0,0 @@
22 ---- gpart-0.1h/src/l64seek.c
23 -+++ gpart-0.1h/src/l64seek.c
24 -@@ -26,7 +26,7 @@
25 - } ostck[OSTACKLEN];
26 - static int osptr = -1;
27 -
28 --#if defined(__linux__) && defined(__i386__)
29 -+#if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
30 - _syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
31 - #endif
32 -
33 -@@ -36,7 +36,7 @@
34 - {
35 - off64_t ret = (off64_t)-1;
36 -
37 --#if defined(__linux__) && defined(__i386__)
38 -+#if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
39 - int iret;
40 - unsigned long ohi, olo;
41 -
42
43 diff --git a/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch b/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch
44 deleted file mode 100644
45 index fe68d08..00000000
46 --- a/sys-block/gpart/files/gpart-0.1h-no-_syscall.patch
47 +++ /dev/null
48 @@ -1,15 +0,0 @@
49 -use syscall() rather than _syscall#()
50 -
51 -http://bugs.gentoo.org/163800
52 -
53 ---- src/l64seek.c
54 -+++ src/l64seek.c
55 -@@ -27,7 +27,7 @@
56 - static int osptr = -1;
57 -
58 - #if defined(__linux__) && defined(__i386__) && ! defined(__PIC__)
59 --_syscall5(int,_llseek,uint,fd,ulong,hi,ulong,lo,loff_t *,res,uint,wh)
60 -+#define _llseek(fd,hi,lo,res,wh) syscall(__NR__llseek,fd,hi,lo,res,wh)
61 - #endif
62 -
63 -