Hello community, here is the log from the commit of package libapr-util1 for openSUSE:Factory checked in at 2013-08-28 21:21:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libapr-util1 (Old) and /work/SRC/openSUSE:Factory/.libapr-util1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libapr-util1" Changes: -------- --- /work/SRC/openSUSE:Factory/libapr-util1/libapr-util1.changes 2013-07-23 12:32:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libapr-util1.new/libapr-util1.changes 2013-08-28 21:21:53.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 28 07:17:07 UTC 2013 - [email protected] + +- Use compiler symbol visibility +- libapr1 does not have symbol *versioning* so requires_ge it + +------------------------------------------------------------------- New: ---- apr-util-visibility.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libapr-util1.spec ++++++ --- /var/tmp/diff_new_pack.Xd201X/_old 2013-08-28 21:21:53.000000000 +0200 +++ /var/tmp/diff_new_pack.Xd201X/_new 2013-08-28 21:21:53.000000000 +0200 @@ -39,6 +39,7 @@ BuildRequires: autoconf BuildRequires: db-devel BuildRequires: libapr1-devel +BuildRequires: libtool BuildRequires: libuuid-devel BuildRequires: openssl-devel # @@ -99,8 +100,9 @@ Source: http://www.apache.org/dist/apr/apr-util-%{version}.tar.bz2 Source2: baselibs.conf Patch1: apr-util-1.4.1-testmemcache-initialize-values-array.patch -# +Patch2: apr-util-visibility.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%requires_ge libapr1 Obsoletes: libapr_memcache0 # bug437293 %ifarch ppc64 @@ -216,15 +218,12 @@ %prep %setup -q -n apr-util-%{version} %patch1 -p1 - +%patch2 -p1 %build export ac_cv_ldap_set_rebind_proc_style=three -export CFLAGS="$RPM_OPT_FLAGS" rm -rf aclocal.m4 autom4te*.cache -autoheader --force -autoconf --force +autoreconf -fiv %{__sed} -i -e '/OBJECTS_all/s, dbd/apr_dbd_[^ ]*\.lo,,g' build-outputs.mk -export CPPFLAGS='-I /usr/include/pgsql' # all DBD driveres are built by default, nowadays -- except mysql. %configure --with-crypto --with-openssl=/usr \ --includedir=%{includedir} \ @@ -239,7 +238,8 @@ --disable-static \ --with-pic # -make %{?jobs:-j%jobs} CPPFLAGS='-I /usr/include/pgsql' +make %{?jobs:-j%jobs} CFLAGS="%{optflags} -DOPENSSL_LOAD_CONF -fvisibility=hidden" + # %if %{?suse_version:1}0 make dox ++++++ apr-util-visibility.patch ++++++ --- apr-util-1.5.2.orig/include/apu.h.in +++ apr-util-1.5.2/include/apu.h.in @@ -50,14 +50,14 @@ * * @fn APU_DECLARE(rettype) apr_func(args); */ -#define APU_DECLARE(type) type +#define APU_DECLARE(type) __attribute__ ((visibility ("default"))) type /** * The public APR-UTIL functions using variable arguments are declared with * APU_DECLARE_NONSTD(), as they must use the C language calling convention. * * @fn APU_DECLARE_NONSTD(rettype) apr_func(args, ...); */ -#define APU_DECLARE_NONSTD(type) type +#define APU_DECLARE_NONSTD(type) __attribute__ ((visibility ("default"))) type /** * The public APR-UTIL variables are declared with APU_DECLARE_DATA. * This assures the appropriate indirection is invoked at compile time. @@ -66,7 +66,7 @@ * @note APU_DECLARE_DATA extern type apr_variable; syntax is required for * declarations within headers to properly import the variable. */ -#define APU_DECLARE_DATA +#define APU_DECLARE_DATA __attribute__ ((visibility ("default"))) #elif defined(APU_DECLARE_STATIC) #define APU_DECLARE(type) type __stdcall #define APU_DECLARE_NONSTD(type) type __cdecl @@ -91,7 +91,7 @@ * module APU_MODULE_DECLARE_DATA mod_tag * @endcode */ -#define APU_MODULE_DECLARE_DATA +#define APU_MODULE_DECLARE_DATA __attribute__ ((visibility ("default"))) #else #define APU_MODULE_DECLARE_DATA __declspec(dllexport) #endif -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
