summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-12-18 10:51:59 +0000
committerjoerg <joerg@pkgsrc.org>2014-12-18 10:51:59 +0000
commit181e87cee70b72c43b4c7ce0b56476a06d106510 (patch)
tree9dadec7783b411aba698f7c9982b358fe922330a
parent24ecb186762f8b4163304bf62b659ac8d029a9e0 (diff)
downloadpkgsrc-181e87cee70b72c43b4c7ce0b56476a06d106510.tar.gz
Yet another copy of ecb.h in CPAN.
-rw-r--r--devel/p5-Async-Interrupt/distinfo3
-rw-r--r--devel/p5-Async-Interrupt/patches/patch-ecb.h13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/p5-Async-Interrupt/distinfo b/devel/p5-Async-Interrupt/distinfo
index 62e5134ccb6..fa37c1d9cf2 100644
--- a/devel/p5-Async-Interrupt/distinfo
+++ b/devel/p5-Async-Interrupt/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2014/12/12 11:13:21 mef Exp $
+$NetBSD: distinfo,v 1.8 2014/12/18 10:51:59 joerg Exp $
SHA1 (Async-Interrupt-1.2.tar.gz) = 1067bb31eab3a46b4cbfae041bea581206ae4db0
RMD160 (Async-Interrupt-1.2.tar.gz) = 561cf632a4ad89569306783f4738876a6d64a398
Size (Async-Interrupt-1.2.tar.gz) = 33243 bytes
+SHA1 (patch-ecb.h) = c19d04611ff74f572acef74c2f6c96a4af55b3f4
diff --git a/devel/p5-Async-Interrupt/patches/patch-ecb.h b/devel/p5-Async-Interrupt/patches/patch-ecb.h
new file mode 100644
index 00000000000..76a5a8c0fbc
--- /dev/null
+++ b/devel/p5-Async-Interrupt/patches/patch-ecb.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-ecb.h,v 1.1 2014/12/18 10:51:59 joerg Exp $
+
+--- ecb.h.orig 2014-12-15 12:08:33.000000000 +0000
++++ ecb.h
+@@ -512,7 +512,7 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t
+ }
+ #endif
+
+-#if ECB_GCC_VERSION(4,5)
++#if ECB_GCC_VERSION(4,5) || defined(__clang__)
+ #define ecb_unreachable() __builtin_unreachable ()
+ #else
+ /* this seems to work fine, but gcc always emits a warning for it :/ */