summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-02-04 09:30:28 +0100
committerAaron W. Swenson <titanofold@gentoo.org>2018-02-11 09:39:17 -0500
commit01dae9070897136c97b6062ff7bc7380b3df71b7 (patch)
treeae3da3658de33b37d7d686442780d5304778e878 /dev-libs
parentReplace virtual/package-manager with sys-apps/portage to ensure portage is in... (diff)
downloadgentoo-01dae9070897136c97b6062ff7bc7380b3df71b7.tar.gz
gentoo-01dae9070897136c97b6062ff7bc7380b3df71b7.tar.bz2
gentoo-01dae9070897136c97b6062ff7bc7380b3df71b7.zip
dev-libs/pcc-libs: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/7045
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch62
1 files changed, 0 insertions, 62 deletions
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
deleted file mode 100644
index 335f2d774b8c..000000000000
--- a/dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff --git a/libpcc/bitcnt.c b/libpcc/bitcnt.c
-index 26ecc01..c3bd54e 100644
---- a/libpcc/bitcnt.c
-+++ b/libpcc/bitcnt.c
-@@ -1,9 +1,22 @@
-+// Only use __has_builtin in compilers that support it.
-+#ifndef __has_builtin
-+ #define __has_builtin(x) 0
-+#endif
-
-+#if !__has_builtin(__builtin_clz)
- int __builtin_clz(unsigned int);
-+#endif
-+#if !__has_builtin(__builtin_ctz)
- int __builtin_ctz(unsigned int);
-+#endif
-+#if !__has_builtin(__builtin_clzl)
- int __builtin_clzl(unsigned long);
-+#endif
-+#if !__has_builtin(__builtin_ctzl)
- int __builtin_ctzl(unsigned long);
-+#endif
-
-+#if !__has_builtin(__builtin_clz)
- int
- __builtin_clz(unsigned int v)
- {
-@@ -14,7 +27,9 @@ __builtin_clz(unsigned int v)
- break;
- return i;
- }
-+#endif
-
-+#if !__has_builtin(__builtin_ctz)
- int
- __builtin_ctz(unsigned int v)
- {
-@@ -25,7 +40,9 @@ __builtin_ctz(unsigned int v)
- break;
- return i;
- }
-+#endif
-
-+#if !__has_builtin(__builtin_clzl)
- int
- __builtin_clzl(unsigned long v)
- {
-@@ -37,7 +54,9 @@ __builtin_clzl(unsigned long v)
- break;
- return i;
- }
-+#endif
-
-+#if !__has_builtin(__builtin_ctzl)
- int
- __builtin_ctzl(unsigned long v)
- {
-@@ -48,3 +67,4 @@ __builtin_ctzl(unsigned long v)
- break;
- return i;
- }
-+#endif