[netty-tcnative] 02/03: add patch for FTBFS on non-64 bit archs

Tony Mancill tmancill at moszumanska.debian.org
Sat Nov 28 00:27:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository netty-tcnative.

commit da8e9f03d939d52035b968c03681c2606d45aff7
Author: tony mancill <tmancill at debian.org>
Date:   Fri Nov 27 16:23:02 2015 -0800

    add patch for FTBFS on non-64 bit archs
---
 debian/patches/805165_ssl.patch | 15 +++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/805165_ssl.patch b/debian/patches/805165_ssl.patch
new file mode 100644
index 0000000..032e683
--- /dev/null
+++ b/debian/patches/805165_ssl.patch
@@ -0,0 +1,15 @@
+Author: tmancill at debian.org
+Bug-Debian: http://bugs.debian.org/805165
+Forwarded: no
+
+--- a/src/main/c/ssl.c
++++ b/src/main/c/ssl.c
+@@ -1067,7 +1067,7 @@
+     // TODO: Use BIO_s_secmem() once included in stable release
+     if ((bio = BIO_new(BIO_s_mem())) == NULL) {
+         tcn_ThrowException(e, "Create BIO failed");
+-        return (jlong) NULL;
++        return (jlong) 0;
+     }
+     return P2J(bio);
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ae0fda1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+805165_ssl.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/netty-tcnative.git



More information about the pkg-java-commits mailing list