Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pcc-libs/files/
Date: Sun, 11 Feb 2018 14:39:32
Message-Id: 1518359957.01dae9070897136c97b6062ff7bc7380b3df71b7.titanofold@gentoo
1 commit: 01dae9070897136c97b6062ff7bc7380b3df71b7
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 4 08:30:28 2018 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 11 14:39:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01dae907
7
8 dev-libs/pcc-libs: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/7045
11
12 .../files/pcc-libs-1.0.0-check-builtin.patch | 62 ----------------------
13 1 file changed, 62 deletions(-)
14
15 diff --git a/dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch b/dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch
16 deleted file mode 100644
17 index 335f2d774b8..00000000000
18 --- a/dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch
19 +++ /dev/null
20 @@ -1,62 +0,0 @@
21 -diff --git a/libpcc/bitcnt.c b/libpcc/bitcnt.c
22 -index 26ecc01..c3bd54e 100644
23 ---- a/libpcc/bitcnt.c
24 -+++ b/libpcc/bitcnt.c
25 -@@ -1,9 +1,22 @@
26 -+// Only use __has_builtin in compilers that support it.
27 -+#ifndef __has_builtin
28 -+ #define __has_builtin(x) 0
29 -+#endif
30 -
31 -+#if !__has_builtin(__builtin_clz)
32 - int __builtin_clz(unsigned int);
33 -+#endif
34 -+#if !__has_builtin(__builtin_ctz)
35 - int __builtin_ctz(unsigned int);
36 -+#endif
37 -+#if !__has_builtin(__builtin_clzl)
38 - int __builtin_clzl(unsigned long);
39 -+#endif
40 -+#if !__has_builtin(__builtin_ctzl)
41 - int __builtin_ctzl(unsigned long);
42 -+#endif
43 -
44 -+#if !__has_builtin(__builtin_clz)
45 - int
46 - __builtin_clz(unsigned int v)
47 - {
48 -@@ -14,7 +27,9 @@ __builtin_clz(unsigned int v)
49 - break;
50 - return i;
51 - }
52 -+#endif
53 -
54 -+#if !__has_builtin(__builtin_ctz)
55 - int
56 - __builtin_ctz(unsigned int v)
57 - {
58 -@@ -25,7 +40,9 @@ __builtin_ctz(unsigned int v)
59 - break;
60 - return i;
61 - }
62 -+#endif
63 -
64 -+#if !__has_builtin(__builtin_clzl)
65 - int
66 - __builtin_clzl(unsigned long v)
67 - {
68 -@@ -37,7 +54,9 @@ __builtin_clzl(unsigned long v)
69 - break;
70 - return i;
71 - }
72 -+#endif
73 -
74 -+#if !__has_builtin(__builtin_ctzl)
75 - int
76 - __builtin_ctzl(unsigned long v)
77 - {
78 -@@ -48,3 +67,4 @@ __builtin_ctzl(unsigned long v)
79 - break;
80 - return i;
81 - }
82 -+#endif