summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-07-27 17:16:37 +0000
committerjoerg <joerg@pkgsrc.org>2008-07-27 17:16:37 +0000
commitab5a977076c66f02ae9dc76e8a1de029ad6f1897 (patch)
treee98b9d3d136740624c9b412058c779d55ee46c10 /print
parent099f07ea8fd8ec2ed53820178a39487b444f1598 (diff)
downloadpkgsrc-ab5a977076c66f02ae9dc76e8a1de029ad6f1897.tar.gz
Fix build against newer OpenSSL.
Diffstat (limited to 'print')
-rw-r--r--print/LPRng-core/distinfo3
-rw-r--r--print/LPRng-core/patches/patch-aj17
2 files changed, 19 insertions, 1 deletions
diff --git a/print/LPRng-core/distinfo b/print/LPRng-core/distinfo
index ec3c8686624..3485419cf17 100644
--- a/print/LPRng-core/distinfo
+++ b/print/LPRng-core/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2007/07/31 19:22:10 rillig Exp $
+$NetBSD: distinfo,v 1.11 2008/07/27 17:16:37 joerg Exp $
SHA1 (LPRng-3.8.28.tgz) = f4373004adb1439819600701bb98517137daf1fc
RMD160 (LPRng-3.8.28.tgz) = f0460d7fa7d1ea0ce6b49fcb656905fdda3d0d41
@@ -12,3 +12,4 @@ SHA1 (patch-af) = 4a3f03207e3b1a94ebc5dd6375d40d3da8f8aedf
SHA1 (patch-ag) = bc84154636da3b331076b1051c1e70a9f65c858b
SHA1 (patch-ah) = 3c1b75ed1db210cd3d9033f59ecb43176b158a39
SHA1 (patch-ai) = 5b5f91911970f7033e22b67e0a5775102de9e313
+SHA1 (patch-aj) = d0e6974244893a1519a4da570a6dd6a10174379f
diff --git a/print/LPRng-core/patches/patch-aj b/print/LPRng-core/patches/patch-aj
new file mode 100644
index 00000000000..5e6b1205792
--- /dev/null
+++ b/print/LPRng-core/patches/patch-aj
@@ -0,0 +1,17 @@
+$NetBSD: patch-aj,v 1.1 2008/07/27 17:16:37 joerg Exp $
+
+--- src/common/ssl_auth.c.orig 2008-07-27 19:08:44.000000000 +0200
++++ src/common/ssl_auth.c
+@@ -175,7 +175,11 @@ int SSL_Initialize_ctx(
+ {
+ char *certpath, *certfile, *cp, *cf;
+ char *mycert;
+- SSL_METHOD *meth = 0;
++#if OPENSSL_VERSION_NUMBER < 0x00909000L
++ SSL_METHOD *meth = NULL;
++#else
++ const SSL_METHOD *meth = NULL;
++#endif
+ SSL_CTX *ctx = 0;
+ char header[SMALLBUFFER];
+ char cabuf[MAXPATHLEN], certbuf[MAXPATHLEN], pwbuf[MAXPATHLEN];