Hello community,

here is the log from the commit of package libetpan for openSUSE:Factory 
checked in at 2013-04-22 14:07:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libetpan (Old)
 and      /work/SRC/openSUSE:Factory/.libetpan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libetpan", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libetpan/libetpan.changes        2012-04-02 
19:54:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libetpan.new/libetpan.changes   2013-04-22 
14:07:58.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Apr 13 09:34:51 UTC 2013 - [email protected]
+
+- libetpan-configure.patch: Correct configure checks for libcurl and
+  libexpat to work with --as-needed
+
+-------------------------------------------------------------------

New:
----
  libetpan-configure.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libetpan.spec ++++++
--- /var/tmp/diff_new_pack.6zy5rR/_old  2013-04-22 14:07:59.000000000 +0200
+++ /var/tmp/diff_new_pack.6zy5rR/_new  2013-04-22 14:07:59.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libetpan
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 Url:            http://libetpan.sourceforge.net/
 Source0:        
http://downloads.sourceforge.net/project/libetpan/libetpan/%{version}/libetpan-%{version}.tar.gz
 Patch0:         %{name}-0.56-uninitialized.patch
+Patch1:         %{name}-configure.patch
 BuildRequires:  cyrus-sasl-devel
 BuildRequires:  db-devel
 # Stupid dependency. Compiles with gcc but tries to link with g++.
@@ -59,7 +60,9 @@
 Group:          Development/Libraries/C and C++
 Requires:       cyrus-sasl-devel
 Requires:       db-devel
+Requires:       libcurl-devel
 Requires:       libetpan%{soname} = %{version}
+Requires:       libexpat-devel
 Requires:       openssl-devel
 
 %description -n libetpan-devel
@@ -71,6 +74,7 @@
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 
 %build
 %configure --disable-static --with-gnutls=yes

++++++ libetpan-configure.patch ++++++
Index: libetpan-1.1/configure
===================================================================
--- libetpan-1.1.orig/configure
+++ libetpan-1.1/configure
@@ -19845,8 +19845,8 @@ fi
   if test "x$libcurl" = "xyes"; then
     { echo "$as_me:$LINENO: checking whether curl-config hints compiles and 
links fine" >&5
 echo $ECHO_N "checking whether curl-config hints compiles and links fine... 
$ECHO_C" >&6; }
-    OLDFLAGS="$LDFLAGS"
-    LDFLAGS="$LDFLAGS `$libcurlconfig --libs 2>/dev/null`"
+    OLDLIBS="$LIBS"
+    LIBS="$LIBS `$libcurlconfig --libs 2>/dev/null`"
     cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -19893,7 +19893,7 @@ rm -f core conftest.err conftest.$ac_obj
     { echo "$as_me:$LINENO: result: $libcurl" >&5
 echo "${ECHO_T}$libcurl" >&6; }
     if test "x$libcurl" = "xno"; then
-      LDFLAGS="$OLDFLAGS"
+      LIBS="$OLDLIBS"
     fi
   fi
 
@@ -20058,8 +20058,8 @@ fi
 if test "x$libexpat" = "xyes"; then
   { echo "$as_me:$LINENO: checking whether libexpat compiles and links fine" 
>&5
 echo $ECHO_N "checking whether libexpat compiles and links fine... $ECHO_C" 
>&6; }
-  OLDFLAGS="$LDFLAGS"
-  LDFLAGS="$LDFLAGS -lexpat"
+  OLDLIBS="$LIBS"
+  LIBS="$LIBS -lexpat"
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -20106,7 +20106,7 @@ rm -f core conftest.err conftest.$ac_obj
   { echo "$as_me:$LINENO: result: $libexpat" >&5
 echo "${ECHO_T}$libexpat" >&6; }
   if test "x$libexpat" = "xno"; then
-    LDFLAGS="$OLDFLAGS"
+    LIBS="$OLDLIBS"
   fi
 fi
 
Index: libetpan-1.1/configure.ac
===================================================================
--- libetpan-1.1.orig/configure.ac
+++ libetpan-1.1/configure.ac
@@ -577,12 +577,12 @@ if test "x$libcurlconfig" != "x"; then
   AC_CHECK_HEADER(curl/curl.h, [libcurl=yes])
   if test "x$libcurl" = "xyes"; then
     AC_MSG_CHECKING([whether curl-config hints compiles and links fine])
-    OLDFLAGS="$LDFLAGS"
-    LDFLAGS="$LDFLAGS `$libcurlconfig --libs 2>/dev/null`"
+    OLDLIBS="$LIBS"
+    LIBS="$LIBS `$libcurlconfig --libs 2>/dev/null`"
     AC_TRY_LINK([], [curl_easy_init();], [libcurl=yes], [libcurl=no])
     AC_MSG_RESULT([$libcurl])
     if test "x$libcurl" = "xno"; then
-      LDFLAGS="$OLDFLAGS"
+      LIBS="$OLDLIBS"
     fi
   fi
 
@@ -609,12 +609,12 @@ libexpat=no
 AC_CHECK_HEADER(expat.h, [libexpat=yes])
 if test "x$libexpat" = "xyes"; then
   AC_MSG_CHECKING([whether libexpat compiles and links fine])
-  OLDFLAGS="$LDFLAGS"
-  LDFLAGS="$LDFLAGS -lexpat"
+  OLDLIBS="$LIBS"
+  LIBS="$LIBS -lexpat"
   AC_TRY_LINK([], [XML_SetElementHandler();], [libexpat=yes], [libexpat=no])
   AC_MSG_RESULT([$libexpat])
   if test "x$libexpat" = "xno"; then
-    LDFLAGS="$OLDFLAGS"
+    LIBS="$OLDLIBS"
   fi
 fi
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to