pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libevent Solaris 11 build with SunPro fails ('un...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e03008c96753
branches: trunk
changeset: 371646:e03008c96753
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Tue Jan 11 09:14:00 2022 +0000
description:
Solaris 11 build with SunPro fails ('unexpected "("') if we use its
__has_attribute, so let's not.
diffstat:
devel/libevent/distinfo | 3 ++-
devel/libevent/patches/patch-util-internal.h | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r d5caa36eaf13 -r e03008c96753 devel/libevent/distinfo
--- a/devel/libevent/distinfo Tue Jan 11 09:13:39 2022 +0000
+++ b/devel/libevent/distinfo Tue Jan 11 09:14:00 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.41 2021/10/26 10:15:19 nia Exp $
+$NetBSD: distinfo,v 1.42 2022/01/11 09:14:00 schmonz Exp $
BLAKE2s (libevent-2.1.12-stable.tar.gz) = 4a65abf53bda3c21fd30f52dfe2c83c9ea778cfe9198166c824cf25aed5dc6d2
SHA512 (libevent-2.1.12-stable.tar.gz) = 88d8944cd75cbe78bc4e56a6741ca67c017a3686d5349100f1c74f8a68ac0b6410ce64dff160be4a4ba0696ee29540dfed59aaf3c9a02f0c164b00307fcfe84f
Size (libevent-2.1.12-stable.tar.gz) = 1100847 bytes
SHA1 (patch-Makefile.in) = 09c7524eb8657e1f76232db97273806a8c900219
SHA1 (patch-signal.c) = 868f5f217afd030407a6c8be2d3fbecd58dc7999
+SHA1 (patch-util-internal.h) = cbc8e0e1e682402e72521ca7e1a3a626b763f82b
diff -r d5caa36eaf13 -r e03008c96753 devel/libevent/patches/patch-util-internal.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libevent/patches/patch-util-internal.h Tue Jan 11 09:14:00 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-util-internal.h,v 1.1 2022/01/11 09:14:00 schmonz Exp $
+
+Solaris 11 build with SunPro fails ('unexpected "("') if we use its
+__has_attribute, so let's not.
+
+--- util-internal.h.orig 2020-07-05 08:35:45.000000000 +0000
++++ util-internal.h
+@@ -66,6 +66,9 @@ extern "C" {
+ # endif
+ # endif /* __apple_build_version__ */
+ #endif /*\ defined(__clang__) && __clang__ == 1 */
++#if defined(__SUNPRO_C)
++# undef EVUTIL_HAS_ATTRIBUTE
++#endif
+ #ifndef EVUTIL_HAS_ATTRIBUTE
+ # define EVUTIL_HAS_ATTRIBUTE(x) 0
+ #endif
Home |
Main Index |
Thread Index |
Old Index