pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libevent
Module Name: pkgsrc
Committed By: schmonz
Date: Tue Jan 11 09:14:00 UTC 2022
Modified Files:
pkgsrc/devel/libevent: distinfo
Added Files:
pkgsrc/devel/libevent/patches: patch-util-internal.h
Log Message:
Solaris 11 build with SunPro fails ('unexpected "("') if we use its
__has_attribute, so let's not.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/libevent/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libevent/patches/patch-util-internal.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libevent/distinfo
diff -u pkgsrc/devel/libevent/distinfo:1.41 pkgsrc/devel/libevent/distinfo:1.42
--- pkgsrc/devel/libevent/distinfo:1.41 Tue Oct 26 10:15:19 2021
+++ pkgsrc/devel/libevent/distinfo Tue Jan 11 09:14:00 2022
@@ -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
Added files:
Index: pkgsrc/devel/libevent/patches/patch-util-internal.h
diff -u /dev/null pkgsrc/devel/libevent/patches/patch-util-internal.h:1.1
--- /dev/null Tue Jan 11 09:14:00 2022
+++ pkgsrc/devel/libevent/patches/patch-util-internal.h Tue Jan 11 09:14:00 2022
@@ -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