[curl] Tweak patch 0102 to not require re-running autotools

Paul Howarth pghmcfc at fedoraproject.org
Tue Aug 24 22:05:47 UTC 2010


commit 3c135c0a3f9c3121acd9d2b7d706591702176a58
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Aug 24 22:16:25 2010 +0100

    Tweak patch 0102 to not require re-running autotools

 0102-curl-7.21.1-lrt.patch |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/0102-curl-7.21.1-lrt.patch b/0102-curl-7.21.1-lrt.patch
index 775f183..94bca96 100644
--- a/0102-curl-7.21.1-lrt.patch
+++ b/0102-curl-7.21.1-lrt.patch
@@ -28,3 +28,25 @@ index 70b0f12..6512ce4 100644
  DEPENDENCIES = $(top_builddir)/lib/libcurl.la
  
  # Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -337,7 +337,7 @@
+ 	writeout.h writeenv.h getpass.h homedir.h curlutil.h
+ 
+ curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES)
+-curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@
++curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ -lrt
+ curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la
+ BUILT_SOURCES = hugehelp.c
+ CLEANFILES = hugehelp.c
+--- a/tests/libtest/Makefile.in
++++ b/tests/libtest/Makefile.in
+@@ -670,7 +670,7 @@
+ 
+ 
+ # Dependencies (may need to be overriden)
+-LDADD = $(top_builddir)/lib/libcurl.la
++LDADD = $(top_builddir)/lib/libcurl.la -lrt
+ DEPENDENCIES = $(top_builddir)/lib/libcurl.la
+ 
+ # files used only in some libcurl test programs


More information about the scm-commits mailing list