[svn] r5694 - trunk/rpms/perl-Crypt-SSLeay
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Mon Aug 6 02:21:07 CEST 2007
Author: dag
Date: 2007-08-06 02:21:06 +0200 (Mon, 06 Aug 2007)
New Revision: 5694
Added:
trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-cryptdef.patch
trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-lib64.patch
Log:
Added missing patches.
Added: trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-cryptdef.patch
===================================================================
--- trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-cryptdef.patch (rev 0)
+++ trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-cryptdef.patch 2007-08-06 00:21:06 UTC (rev 5694)
@@ -0,0 +1,24 @@
+--- Crypt-SSLeay-0.37/SSLeay.xs.cryptdef Tue Jun 11 10:58:56 2002
++++ Crypt-SSLeay-0.37/SSLeay.xs Tue Jun 11 10:59:24 2002
+@@ -9,9 +9,6 @@
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+-#include "EXTERN.h"
+-#include "perl.h"
+-#include "XSUB.h"
+
+ /* ssl.h or openssl/ssl.h is included from the crypt_ssleay_version
+ * file which is written when building with perl Makefile.PL
+@@ -20,6 +17,11 @@
+ #include "crypt_ssleay_version.h"
+
+ #undef Free /* undo namespace pollution from crypto.h */
++
++#include "EXTERN.h"
++#include "perl.h"
++#include "XSUB.h"
++
+ #ifdef __cplusplus
+ }
+ #endif
Added: trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-lib64.patch
===================================================================
--- trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-lib64.patch (rev 0)
+++ trunk/rpms/perl-Crypt-SSLeay/perl-Crypt-SSLeay-0.55-lib64.patch 2007-08-06 00:21:06 UTC (rev 5694)
@@ -0,0 +1,18 @@
+--- Crypt-SSLeay-0.55/Makefile.PL.orig 2007-06-07 12:51:15.000000000 -0400
++++ Crypt-SSLeay-0.55/Makefile.PL 2007-06-07 12:53:20.000000000 -0400
+@@ -166,7 +166,14 @@
+ else {
+ push @INC_FLAGS, "-I$pkg_config->{inc}";
+
+- push @LIB_FLAGS, "-L$SSL_DIR/lib", qw(-lssl -lcrypto -lgcc);
++ if (-d "$SSL_DIR/lib64") {
++ push @LIB_FLAGS, "-L".$SSL_DIR."/lib64";
++ }
++ else {
++ push @LIB_FLAGS, "-L".$SSL_DIR."/lib";
++ }
++
++ push @LIB_FLAGS, qw(-lssl -lcrypto -lgcc);
+ push @LIB_FLAGS, qw(-lRSAglue -lrsaref) if $pkg_config->{type} ne 'OpenSSL';
+
+ # ccc on alpha support
More information about the svn-commits
mailing list