summary refs log tree commit diff
path: root/pkgs/development/libraries/crypto++
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-08-11 07:52:29 +0000
committerLudovic Courtès <ludo@gnu.org>2009-08-11 07:52:29 +0000
commitc919587a263d564aef82371ce146a8b35f0a679c (patch)
tree926a8f3c3c7af76cbc4292960024277a347fdad0 /pkgs/development/libraries/crypto++
parent5a75fd214791d45a557677302564b0b01b624851 (diff)
downloadnixpkgs-c919587a263d564aef82371ce146a8b35f0a679c.tar
nixpkgs-c919587a263d564aef82371ce146a8b35f0a679c.tar.gz
nixpkgs-c919587a263d564aef82371ce146a8b35f0a679c.tar.bz2
nixpkgs-c919587a263d564aef82371ce146a8b35f0a679c.tar.lz
nixpkgs-c919587a263d564aef82371ce146a8b35f0a679c.tar.xz
nixpkgs-c919587a263d564aef82371ce146a8b35f0a679c.tar.zst
nixpkgs-c919587a263d564aef82371ce146a8b35f0a679c.zip
Crypto++: Fix shared library.
svn path=/nixpkgs/trunk/; revision=16664
Diffstat (limited to 'pkgs/development/libraries/crypto++')
-rw-r--r--pkgs/development/libraries/crypto++/pic.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/libraries/crypto++/pic.patch b/pkgs/development/libraries/crypto++/pic.patch
index d192c6a617e..c01550b132a 100644
--- a/pkgs/development/libraries/crypto++/pic.patch
+++ b/pkgs/development/libraries/crypto++/pic.patch
@@ -1,7 +1,16 @@
-Build position-independent code, for shared libraries.
+Build position-independent code, for shared libraries.  Fix $(DLLSRCS)
+while we're at it (it lacks `pssr.cpp', for instance).
 
 --- a/GNUmakefile	2009-03-15 02:48:02.000000000 +0100
 +++ b/GNUmakefile	2009-08-11 00:13:43.000000000 +0200
+@@ -104,6 +104,7 @@ TESTOBJS = bench.o bench2.o test.o valid
+ LIBOBJS = $(filter-out $(TESTOBJS),$(OBJS))
+ 
+ DLLSRCS = algebra.cpp algparam.cpp asn.cpp basecode.cpp cbcmac.cpp channels.cpp cryptlib.cpp des.cpp dessp.cpp dh.cpp dll.cpp dsa.cpp ec2n.cpp eccrypto.cpp ecp.cpp eprecomp.cpp files.cpp filters.cpp fips140.cpp fipstest.cpp gf2n.cpp gfpcrypt.cpp hex.cpp hmac.cpp integer.cpp iterhash.cpp misc.cpp modes.cpp modexppc.cpp mqueue.cpp nbtheory.cpp oaep.cpp osrng.cpp pch.cpp pkcspad.cpp pubkey.cpp queue.cpp randpool.cpp rdtables.cpp rijndael.cpp rng.cpp rsa.cpp sha.cpp simple.cpp skipjack.cpp strciphr.cpp trdlocal.cpp
++DLLSRCS = $(SRCS)
+ DLLOBJS = $(DLLSRCS:.cpp=.export.o)
+ LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o)
+ TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o)
 @@ -162,7 +162,7 @@ endif
  	$(CXX) $(CXXFLAGS) -DCRYPTOPP_IMPORTS -c $< -o $@