aboutsummaryrefslogtreecommitdiff
path: root/security/saferpay
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-02-19 10:08:23 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-02-19 10:08:23 +0000
commit17fb61759c9ce626a0c0c12c4f5e245333ecb066 (patch)
tree7527156509925e6bd9373861f721fc937a1fdada /security/saferpay
parent9ef624d7abd16c091c9b1a0163c9b026ef2e0597 (diff)
downloadports-17fb61759c9ce626a0c0c12c4f5e245333ecb066.tar.gz
ports-17fb61759c9ce626a0c0c12c4f5e245333ecb066.zip
Notes
Diffstat (limited to 'security/saferpay')
-rw-r--r--security/saferpay/files/patch-idpapp.mk31
-rw-r--r--security/saferpay/files/patch-idphttp.cpp11
2 files changed, 42 insertions, 0 deletions
diff --git a/security/saferpay/files/patch-idpapp.mk b/security/saferpay/files/patch-idpapp.mk
new file mode 100644
index 000000000000..5e5e40e66954
--- /dev/null
+++ b/security/saferpay/files/patch-idpapp.mk
@@ -0,0 +1,31 @@
+--- saferpay/idpapp.mk.orig Thu Aug 8 16:15:49 2002
++++ saferpay/idpapp.mk Wed Feb 19 11:06:35 2003
+@@ -7,24 +7,12 @@
+
+ ####### Compiler, tools and options
+
+-# new ssl
+-SSLVERSION = openssl-0.9.6c
+-SSLEAYDIR = ./ssl
+-SSLINCDIR = -I ./ssl
++SSLINCDIR = -I /usr/include/openssl
+
+-
+-
+-#CC = /project/gcc31/bin/gcc
+-#CXX = /project/gcc31/bin/g++
+-
+-CC = gcc
+-CXX = g++
+-
+-CFLAGS = -pipe -DUNIX -DHAVE_UNISTD_H -DHAVE_STDLIB_H -O2 -fPIC
+-CXXFLAGS= -pipe -DUNIX -O2 -fPIC
++CFLAGS += -DUNIX -DHAVE_UNISTD_H -DHAVE_STDLIB_H -fPIC
++CXXFLAGS += -DUNIX -fPIC
+ INCPATH = -I"./xml" -I"./jni" -I"./sxfc" $(SSLINCDIR)
+-#LINK = /project/gcc31/bin/g++
+-LINK = g++
++LINK = ${CXX}
+ LFLAGS = -fPIC -shared
+ LIBS = /usr/lib/libssl.a /usr/lib/libcrypto.a
+ AR = ar cq
diff --git a/security/saferpay/files/patch-idphttp.cpp b/security/saferpay/files/patch-idphttp.cpp
new file mode 100644
index 000000000000..179c6f37f3b5
--- /dev/null
+++ b/security/saferpay/files/patch-idphttp.cpp
@@ -0,0 +1,11 @@
+--- saferpay/idphttp.cpp.orig Wed Feb 19 10:57:14 2003
++++ saferpay/idphttp.cpp Wed Feb 19 10:58:07 2003
+@@ -374,7 +374,7 @@
+ public:
+ SslConnection()
+ {
+- SSLeay_add_ssl_algorithms();
++ SSL_library_init();
+ SSL_load_error_strings();
+
+ ctx = SSL_CTX_new(SSLv23_method());