Hello community, here is the log from the commit of package gnokii for openSUSE:Factory checked in at 2015-06-17 16:16:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnokii (Old) and /work/SRC/openSUSE:Factory/.gnokii.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnokii" Changes: -------- --- /work/SRC/openSUSE:Factory/gnokii/gnokii.changes 2014-09-17 17:27:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnokii.new/gnokii.changes 2015-06-17 16:16:23.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 11 08:07:59 UTC 2015 - [email protected] + +- Force gnu89 inline semantics +- invalid-cast.patch: fix invalid cast + +------------------------------------------------------------------- New: ---- invalid-cast.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnokii.spec ++++++ --- /var/tmp/diff_new_pack.bIsHjp/_old 2015-06-17 16:16:24.000000000 +0200 +++ /var/tmp/diff_new_pack.bIsHjp/_new 2015-06-17 16:16:24.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gnokii # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,8 @@ Patch1: gnokii-suid_flags.patch # PATCH-FIX-OPENSUSE gnokii-date-time.patch [email protected] -- Do not include __DATE__ or __TIME__ in resulting binaries. Patch2: gnokii-date-time.patch +# PATCH-FIX-UPSTREAM invalid-cast.patch https://savannah.nongnu.org/patch/index.php?8685 [email protected] -- Fix invalid cast +Patch3: invalid-cast.patch BuildRequires: bluez-devel BuildRequires: coreutils BuildRequires: gtk2-devel @@ -102,10 +104,12 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 + %build # Needed by patch0 and patch1 autoreconf -fi -export CFLAGS="%{optflags} -D_GNU_SOURCE -fPIC -Wall -Wno-unused -fstack-protector -fno-strict-aliasing" +export CFLAGS="%{optflags} -fgnu89-inline -D_GNU_SOURCE -fPIC -Wall -Wno-unused -fstack-protector -fno-strict-aliasing" export SUID_CFLAGS="-fPIE" export SUID_LDFLAGS="-pie" %configure \ ++++++ invalid-cast.patch ++++++ Index: gnokii-0.6.31/xgnokii/xgnokii_xring.c =================================================================== --- gnokii-0.6.31.orig/xgnokii/xgnokii_xring.c +++ gnokii-0.6.31/xgnokii/xgnokii_xring.c @@ -195,7 +195,7 @@ static int createpixmap(GtkWidget * wind &style-> bg[GTK_STATE_NORMAL], a); - return (int) pam->pixmap; /* (to) NULL or not (to) NULL */ + return pam->pixmap != NULL; /* (to) NULL or not (to) NULL */ } enum {
