Hello community,
here is the log from the commit of package libopensync-plugin-opie for
openSUSE:Factory checked in at 2013-07-01 15:55:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libopensync-plugin-opie (Old)
and /work/SRC/openSUSE:Factory/.libopensync-plugin-opie.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libopensync-plugin-opie"
Changes:
--------
---
/work/SRC/openSUSE:Factory/libopensync-plugin-opie/libopensync-plugin-opie.changes
2011-11-23 19:35:48.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.libopensync-plugin-opie.new/libopensync-plugin-opie.changes
2013-07-01 15:55:16.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jun 26 19:30:33 UTC 2013 - [email protected]
+
+- Fix build with gcc 48 and prevent future build failures
+ due to usage of -Werror
+
+-------------------------------------------------------------------
New:
----
libopensync-update-gcc48.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libopensync-plugin-opie.spec ++++++
--- /var/tmp/diff_new_pack.tMIGUI/_old 2013-07-01 15:55:16.000000000 +0200
+++ /var/tmp/diff_new_pack.tMIGUI/_new 2013-07-01 15:55:16.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libopensync-plugin-opie
#
-# Copyright (c) 2011 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
@@ -15,23 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: libopensync-plugin-opie
-BuildRequires: curl-devel glib2-devel libopensync-devel libtool libxml2-devel
openssl-devel sqlite-devel
+BuildRequires: curl-devel
+BuildRequires: glib2-devel
+BuildRequires: libopensync-devel
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: openssl-devel
+BuildRequires: sqlite-devel
Url: http://www.opensync.org
Version: 0.22
-Release: 1
+Release: 0
Summary: Opie Synchronization Plug-In for OpenSync
License: GPL-2.0+
Group: Productivity/Other
Source: %{name}-%{version}.tar.bz2
Patch1: libopensync-plugin-opie-0.22-curl-callbacks.patch
Patch2: curl-types.patch
+Patch3: libopensync-update-gcc48.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Requires: sqlite curl libxml2 openssl glib2
-%define prefix /usr
%description
This plug-in allows applications using OpenSync to synchronize to and
@@ -50,11 +53,11 @@
%setup -q
%patch1
%patch2 -p0
-autoreconf -sfi
-
+%patch3
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir
--localstatedir=%_localstatedir
-make
+autoreconf -fiv
+%configure --disable-static --with-pic
+make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
++++++ libopensync-update-gcc48.patch ++++++
--- configure.ac.orig
+++ configure.ac
@@ -31,9 +31,9 @@ CFLAGS=$OLD_CFLAGS
AC_CHECK_LIB(curl,curl_global_init,,AC_MSG_ERROR(You must have libcurl
installed.))
-AC_ISC_POSIX
-AC_PROG_CC
-AM_PROG_CC_STDC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AC_HEADER_STDC
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
--- src/opie_qcop.c.orig
+++ src/opie_qcop.c
@@ -545,7 +545,7 @@ static void opie_base64_init(char *rank)
{
int i;
- memset(rank, 0xff, sizeof(rank));
+ memset(rank, 0xff, strlen(rank));
for (i=0;i<64;i++) {
rank[(unsigned int)base64_alphabet[i]] = i;
}
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -2,8 +2,8 @@ plugindir=@OPENSYNC_PLUGINDIR@
configdir=@OPENSYNC_CONFIGDIR@
formatsdir=@OPENSYNC_FORMATSDIR@
opensyncheaderdir=@OPENSYNC_HEADERDIR@
-
-AM_CFLAGS = @PACKAGE_CFLAGS@ -Wall -Werror
+AM_CPPFLAGS = -include config.h
+AM_CFLAGS = @PACKAGE_CFLAGS@ -Wall
EXTRA_DIST = \
opie-sync \
@@ -24,11 +24,11 @@ opensyncheader_HEADER = opie_sync.h
formats_LTLIBRARIES = opie.la
opie_la_SOURCES = opie_format.c opie_xml.c
-opie_la_LDFLAGS = -avoid-version -export-dynamic -module
+opie_la_LDFLAGS = -no-undefined -avoid-version -module -shared -export-dynamic
opie_la_LIBADD = @PACKAGE_LIBS@ @LIBS@
plugin_LTLIBRARIES = opie_sync.la
opie_sync_la_SOURCES = opie_sync.c opie_qcop.c opie_comms.c opie_xml.c
-opie_sync_la_LDFLAGS = -avoid-version -export-dynamic -module
+opie_sync_la_LDFLAGS = -no-undefined -avoid-version -module -shared
-export-dynamic
opie_sync_la_LIBADD = @PACKAGE_LIBS@ @LIBS@
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]