aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-10-03 14:53:14 +0800
committerjbeich <jbeich@FreeBSD.org>2016-10-03 14:53:14 +0800
commitc26d62cf2b1b653330cd41e32fa3248d26944954 (patch)
tree2bbddf41fff3d671045fe32599a7271cea6e3f60
parente09ff05f5fc5b561709814913aa2c24d58750e51 (diff)
downloadfreebsd-ports-gnome-c26d62cf2b1b653330cd41e32fa3248d26944954.tar.gz
freebsd-ports-gnome-c26d62cf2b1b653330cd41e32fa3248d26944954.tar.zst
freebsd-ports-gnome-c26d62cf2b1b653330cd41e32fa3248d26944954.zip
security/xmlsec1: unbreak on 9.x
signatures.c:36: error: expected declaration specifiers or '...' before 'ECDSA_SIG' signatures.c: In function 'ECDSA_SIG_get0': signatures.c:38: error: 'sig' undeclared (first use in this function) signatures.c:38: error: (Each undeclared identifier is reported only once signatures.c:38: error: for each function it appears in.) Reported by: pkg-fallout Approved by: portmgr blanket
-rw-r--r--security/xmlsec1/files/patch-src_openssl_signatures.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/xmlsec1/files/patch-src_openssl_signatures.c b/security/xmlsec1/files/patch-src_openssl_signatures.c
new file mode 100644
index 000000000000..6b79e95fd58f
--- /dev/null
+++ b/security/xmlsec1/files/patch-src_openssl_signatures.c
@@ -0,0 +1,10 @@
+--- src/openssl/signatures.c.orig 2016-04-20 16:26:22 UTC
++++ src/openssl/signatures.c
+@@ -10,6 +10,7 @@
+
+ #include <string.h>
+
++#include <openssl/ecdsa.h> // ECDSA_SIG
+ #include <openssl/evp.h>
+ #include <openssl/rand.h>
+ #include <openssl/sha.h>