1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## gnutls.dpatch by <mikma@users.sourceforge.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: libccext2 need to be linked against ssl libraries,
## DP: but the ssl libs don't need to be added to the pkg-config file.
## DP: http://bugs.debian.org/395148
@DPATCH@
diff -urNad libcommoncpp2-1.5.9~/src/Makefile.in libcommoncpp2-1.5.9/src/Makefile.in
--- libcommoncpp2-1.5.9~/src/Makefile.in 2007-10-02 09:19:43.000000000 +0200
+++ libcommoncpp2-1.5.9/src/Makefile.in 2007-10-02 09:21:26.000000000 +0200
@@ -316,7 +316,7 @@
aclocal_DATA = ost_check2.m4
scriptdir = $(bindir)
script_DATA = ccgnu2-config
-libccgnu2_la_LIBADD = @THREAD_LIBS@ @DYN_LOADER@
+libccgnu2_la_LIBADD = @THREAD_LIBS@ @DYN_LOADER@ @SSL_LIBS@
libccgnu2_la_LDFLAGS = $(RELEASE) $(SHARED_FLAGS)
noinst_DATA = @STAGE2@
libccgnu2_la_SOURCES = thread.cpp mutex.cpp semaphore.cpp threadkey.cpp \
diff -urNad libcommoncpp2-1.5.9~/src/libccext2.pc.in libcommoncpp2-1.5.9/src/libccext2.pc.in
--- libcommoncpp2-1.5.9~/src/libccext2.pc.in 2007-10-02 09:19:43.000000000 +0200
+++ libcommoncpp2-1.5.9/src/libccext2.pc.in 2007-10-02 09:19:49.000000000 +0200
@@ -7,6 +7,6 @@
Description: GNU Common C++ Extension library
Version: @VERSION@
Requires: libccgnu2 = @VERSION@
-Libs: -lccext2 @GETOPT_LIBS@ @SSL_LIBS@ @ZSTREAM_LIBS@
+Libs: -lccext2 @GETOPT_LIBS@ @ZSTREAM_LIBS@
|