pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files Update netpgpverify and li...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f20657c6b1d1
branches: trunk
changeset: 328221:f20657c6b1d1
user: agc <agc%pkgsrc.org@localhost>
date: Thu Jan 17 17:26:23 2019 +0000
description:
Update netpgpverify and libnetpgpverify to 20190117
jperkin reported a bootstrapping failure in the newer pre-processor
conditionals, so revert to the older, less comprehensive versions without
gcc version level checks.
diffstat:
security/netpgpverify/files/bn.h | 37 +++--------------------------------
security/netpgpverify/files/verify.h | 6 ++--
2 files changed, 7 insertions(+), 36 deletions(-)
diffs (71 lines):
diff -r 18d34ec8b9dc -r f20657c6b1d1 security/netpgpverify/files/bn.h
--- a/security/netpgpverify/files/bn.h Thu Jan 17 16:43:36 2019 +0000
+++ b/security/netpgpverify/files/bn.h Thu Jan 17 17:26:23 2019 +0000
@@ -34,41 +34,12 @@
#if !defined(__BEGIN_DECLS)
# if defined(__cplusplus)
-# define __BEGIN_EXTERN_C extern "C" {
-# define __END_EXTERN_C }
-# define __static_cast(x,y) static_cast<x>(y)
+# define __BEGIN_DECLS extern "C" {
+# define __END_DECLS }
# else
-# define __BEGIN_EXTERN_C
-# define __END_EXTERN_C
-# define __static_cast(x,y) (x)y
+# define __BEGIN_DECLS
+# define __END_DECLS
# endif
-
-# if __GNUC_PREREQ__(4, 0)
-# define __dso_public __attribute__((__visibility__("default")))
-# define __dso_hidden __attribute__((__visibility__("hidden")))
-# define __BEGIN_PUBLIC_DECLS \
- _Pragma("GCC visibility push(default)") __BEGIN_EXTERN_C
-# define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
-# define __BEGIN_HIDDEN_DECLS \
- _Pragma("GCC visibility push(hidden)") __BEGIN_EXTERN_C
-# define __END_HIDDEN_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
-# else
-# define __dso_public
-# define __dso_hidden
-# define __BEGIN_PUBLIC_DECLS __BEGIN_EXTERN_C
-# define __END_PUBLIC_DECLS __END_EXTERN_C
-# define __BEGIN_HIDDEN_DECLS __BEGIN_EXTERN_C
-# define __END_HIDDEN_DECLS __END_EXTERN_C
-# endif
-# if __GNUC_PREREQ__(4, 2)
-# define __dso_protected __attribute__((__visibility__("protected")))
-# else
-# define __dso_protected
-# endif
-
-# define __BEGIN_DECLS __BEGIN_PUBLIC_DECLS
-# define __END_DECLS __END_PUBLIC_DECLS
-
#endif
__BEGIN_DECLS
diff -r 18d34ec8b9dc -r f20657c6b1d1 security/netpgpverify/files/verify.h
--- a/security/netpgpverify/files/verify.h Thu Jan 17 16:43:36 2019 +0000
+++ b/security/netpgpverify/files/verify.h Thu Jan 17 17:26:23 2019 +0000
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2012,2013,2014,2015,2016 Alistair Crooks <agc%NetBSD.org@localhost>
+ * Copyright (c) 2012-2019 Alistair Crooks <agc%NetBSD.org@localhost>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,9 +23,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef NETPGP_VERIFY_H_
-#define NETPGP_VERIFY_H_ 20190111
+#define NETPGP_VERIFY_H_ 20190117
-#define NETPGPVERIFY_VERSION "netpgpverify portable 20190111"
+#define NETPGPVERIFY_VERSION "netpgpverify portable 20190117"
#include <sys/types.h>
Home |
Main Index |
Thread Index |
Old Index