diff options
author | mbr <mbr@FreeBSD.org> | 2003-02-19 18:08:23 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-02-19 18:08:23 +0800 |
commit | 1af675c91315525a1eb260ca4099289bae781c71 (patch) | |
tree | f833bd67f50446fc9d72f68d86727b0d96ccbe9d /security | |
parent | 6f6dca89f3d8cdc4dd19d4391687d1f2a75b382c (diff) | |
download | freebsd-ports-graphics-1af675c91315525a1eb260ca4099289bae781c71.tar.gz freebsd-ports-graphics-1af675c91315525a1eb260ca4099289bae781c71.tar.zst freebsd-ports-graphics-1af675c91315525a1eb260ca4099289bae781c71.zip |
Readd deleted patches. We should include the system SSL headers,
not the ones provided with the saferpay distfiles.
Diffstat (limited to 'security')
-rw-r--r-- | security/saferpay/files/patch-idpapp.mk | 31 | ||||
-rw-r--r-- | security/saferpay/files/patch-idphttp.cpp | 11 |
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 00000000000..5e5e40e6695 --- /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 00000000000..179c6f37f3b --- /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());
|