pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/netpgpverify/files
Module Name: pkgsrc
Committed By: agc
Date: Thu Jan 17 17:26:23 UTC 2019
Modified Files:
pkgsrc/security/netpgpverify/files: bn.h verify.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/security/netpgpverify/files/bn.h
cvs rdiff -u -r1.39 -r1.40 pkgsrc/security/netpgpverify/files/verify.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/netpgpverify/files/bn.h
diff -u pkgsrc/security/netpgpverify/files/bn.h:1.6 pkgsrc/security/netpgpverify/files/bn.h:1.7
--- pkgsrc/security/netpgpverify/files/bn.h:1.6 Wed Jan 16 00:33:12 2019
+++ pkgsrc/security/netpgpverify/files/bn.h Thu Jan 17 17:26:23 2019
@@ -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
Index: pkgsrc/security/netpgpverify/files/verify.h
diff -u pkgsrc/security/netpgpverify/files/verify.h:1.39 pkgsrc/security/netpgpverify/files/verify.h:1.40
--- pkgsrc/security/netpgpverify/files/verify.h:1.39 Wed Jan 16 00:33:12 2019
+++ pkgsrc/security/netpgpverify/files/verify.h Thu Jan 17 17:26:23 2019
@@ -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