Hello community,

here is the log from the commit of package libofa for openSUSE:Factory
checked in at Mon Aug 8 15:05:26 CEST 2011.



--------
--- libofa/libofa.changes       2011-05-26 23:04:47.000000000 +0200
+++ /mounts/work_src_done/STABLE/libofa/libofa.changes  2011-08-06 
18:57:31.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Aug  6 16:56:52 UTC 2011 - [email protected]
+
+- Ficx build with newer curl 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  libofa-curl-types.patch

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

Other differences:
------------------
++++++ libofa.spec ++++++
--- /var/tmp/diff_new_pack.AU2lml/_old  2011-08-08 15:05:00.000000000 +0200
+++ /var/tmp/diff_new_pack.AU2lml/_new  2011-08-08 15:05:00.000000000 +0200
@@ -23,7 +23,7 @@
 License:        GPL-2.0+ or APL-1.0 (spdx.org/licenses)
 Group:          System/Libraries
 Version:        0.9.3
-Release:        86
+Release:        88
 Url:            http://code.google.com/p/musicip-libofa/
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
@@ -31,6 +31,7 @@
 Patch1:         libofa-0.9.3-gcc43.patch
 Patch2:         libofa-0.9.3-pkgconfigbloat.patch
 Patch3:         libofa-0.9.3-gcc44.patch
+Patch4:         libofa-curl-types.patch
 BuildRequires:  curl-devel fftw3-devel gcc-c++ libexpat-devel pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -44,6 +45,7 @@
 
 %package -n libofa0
 
+
 Group:          System/Libraries
 Summary:        Open Fingerprint Architecture Library
 Provides:       %{name} = %{version}
@@ -60,6 +62,7 @@
 
 %package devel
 
+
 Group:          Development/Libraries/C and C++
 Requires:       libofa0 = %{version} fftw3-devel libexpat-devel glibc-devel
 Summary:        Open Fingerprint Architecture Library
@@ -78,6 +81,7 @@
 %patch1
 %patch2
 %patch3 -p1
+%patch4
 tr -d '\r' <README >README~
 mv README~ README
 

++++++ libofa-curl-types.patch ++++++
--- configure.in.orig
+++ configure.in
@@ -27,7 +27,9 @@ AM_CONDITIONAL(FREEBSD, test x$os = xfre
 dnl Checks for programs.
 AC_PREREQ(2.52)
 AC_PROG_AWK
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AC_LIBLTDL_CONVENIENCE
 AM_PROG_LIBTOOL
 AC_SUBST(LIBTOOL_DEPS)  
@@ -61,7 +63,9 @@ AC_SUBST(EXPAT_LIBS)
 
 dnl libcurl check
 AC_CHECK_LIB(curl, curl_global_init,
-       [CURL_LIBS="-lcurl"], [
+       [CURL_LIBS="-lcurl"
+       AC_CHECK_HEADERS([curl/types.h])
+       ], [
        echo "*"
        echo "*  libcurl is needed to build this library. It is either not"
        echo "*  installed on your system or it is too old."
--- examples/protocol.cpp.orig
+++ examples/protocol.cpp
@@ -6,13 +6,17 @@
    No rights reserved.
 
 -------------------------------------------------------------------*/
+
+#include "config.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <cstring>
 #include <map>
 #include <expat.h>
 #include <curl/curl.h>
+#ifdef HAVE_CURL_TYPES_H
 #include <curl/types.h>
+#endif
 #include <curl/easy.h>
 
 using namespace std;

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to