pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/LPRng-core Fix build against newer OpenSSL.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8dc3c54722a0
branches:  trunk
changeset: 545161:8dc3c54722a0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jul 27 17:16:37 2008 +0000

description:
Fix build against newer OpenSSL.

diffstat:

 print/LPRng-core/distinfo         |   3 ++-
 print/LPRng-core/patches/patch-aj |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 10abf3d5a4c8 -r 8dc3c54722a0 print/LPRng-core/distinfo
--- a/print/LPRng-core/distinfo Sun Jul 27 17:10:10 2008 +0000
+++ b/print/LPRng-core/distinfo Sun Jul 27 17:16:37 2008 +0000
@@ -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-ag) = bc84154636da3b331076b1051c1e70a9f65c858b
 SHA1 (patch-ah) = 3c1b75ed1db210cd3d9033f59ecb43176b158a39
 SHA1 (patch-ai) = 5b5f91911970f7033e22b67e0a5775102de9e313
+SHA1 (patch-aj) = d0e6974244893a1519a4da570a6dd6a10174379f
diff -r 10abf3d5a4c8 -r 8dc3c54722a0 print/LPRng-core/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/LPRng-core/patches/patch-aj Sun Jul 27 17:16:37 2008 +0000
@@ -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]; 



Home | Main Index | Thread Index | Old Index