Hello community,

here is the log from the commit of package libgpg-error for openSUSE:Factory 
checked in at 2015-02-22 17:24:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgpg-error (Old)
 and      /work/SRC/openSUSE:Factory/.libgpg-error.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgpg-error"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgpg-error/libgpg-error.changes        
2015-01-30 06:11:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libgpg-error.new/libgpg-error.changes   
2015-02-22 17:25:00.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 19 09:24:12 UTC 2015 - rguent...@suse.com
+
+- Add libgpg-error-1.18-gcc5.patch to pass -P to the preprocessor
+  when generating files to deal with C preprocessor changes in GCC 4.9 and up.
+
+-------------------------------------------------------------------

New:
----
  libgpg-error-1.18-gcc5.patch

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

Other differences:
------------------
++++++ libgpg-error.spec ++++++
--- /var/tmp/diff_new_pack.5Wp5hJ/_old  2015-02-22 17:25:01.000000000 +0100
+++ /var/tmp/diff_new_pack.5Wp5hJ/_new  2015-02-22 17:25:01.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libgpg-error
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -28,6 +28,7 @@
 # http://www.gnupg.org/signature_key.en.html
 Source2:        %{name}.keyring
 Source3:        baselibs.conf
+Patch1:         libgpg-error-1.18-gcc5.patch
 BuildRequires:  libtool
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -72,6 +73,7 @@
 
 %prep
 %setup -q -n libgpg-error-%{version}
+%patch1
 
 %build
 %configure \

++++++ libgpg-error-1.18-gcc5.patch ++++++
Index: src/Makefile.am
===================================================================
--- src/Makefile.am.orig        2014-10-25 14:42:43.000000000 +0200
+++ src/Makefile.am     2015-02-19 10:22:03.273114977 +0100
@@ -204,14 +204,14 @@ code-to-errno.h: Makefile mkerrnos.awk e
 # It is correct to use $(CPP).  We want the host's idea of the error codes.
 mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers)
        $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
-       $(CPP) $(CPPFLAGS) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
+       $(CPP) -P $(CPPFLAGS) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
                $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
        -rm _$@
 
 if HAVE_W32CE_SYSTEM
 # It is correct to use $(CPP).  We want the host's idea of the error codes.
 mkw32errmap.tab.h: Makefile mkw32errmap.c
-       $(CPP) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \
+       $(CPP) -P -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \
              grep '{&mkw32errmap_marker' >$@
 mkw32errmap.map.c: mkw32errmap
        ./mkw32errmap --map > $@
@@ -227,7 +227,7 @@ endif
 # the data is really to be preprocessed.
 gpg-error.def: Makefile gpg-error.def.in
        cat $(srcdir)/gpg-error.def.in >_$@.h
-       $(CPP) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \
+       $(CPP) -P $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \
          grep -v '^#' >$@
        -rm _$@.h
 
Index: src/Makefile.in
===================================================================
--- src/Makefile.in.orig        2015-01-26 10:34:10.000000000 +0100
+++ src/Makefile.in     2015-02-19 10:22:42.318558424 +0100
@@ -1227,13 +1227,13 @@ code-to-errno.h: Makefile mkerrnos.awk e
 # It is correct to use $(CPP).  We want the host's idea of the error codes.
 mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers)
        $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
-       $(CPP) $(CPPFLAGS) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
+       $(CPP) -P $(CPPFLAGS) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
                $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
        -rm _$@
 
 # It is correct to use $(CPP).  We want the host's idea of the error codes.
 @have_w32ce_system_t...@mkw32errmap.tab.h: Makefile mkw32errmap.c
-@HAVE_W32CE_SYSTEM_TRUE@       $(CPP) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c 
| \
+@HAVE_W32CE_SYSTEM_TRUE@       $(CPP) -P -DRESOLVE_MACROS 
$(srcdir)/mkw32errmap.c | \
 @HAVE_W32CE_SYSTEM_TRUE@             grep '{&mkw32errmap_marker' >$@
 @have_w32ce_system_t...@mkw32errmap.map.c: mkw32errmap
 @HAVE_W32CE_SYSTEM_TRUE@       ./mkw32errmap --map > $@
@@ -1247,7 +1247,7 @@ mkerrcodes.h: Makefile mkerrcodes.awk $(
 # the data is really to be preprocessed.
 gpg-error.def: Makefile gpg-error.def.in
        cat $(srcdir)/gpg-error.def.in >_$@.h
-       $(CPP) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \
+       $(CPP) -P $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \
          grep -v '^#' >$@
        -rm _$@.h
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to