From 231ba62b043755da11678f73a28c75203253a846 Mon Sep 17 00:00:00 2001 From: My Karlsson Date: Sep 25 2017 21:03:56 +0000 Subject: Disable -Wno-format --- diff --git a/gnu-smalltalk.spec b/gnu-smalltalk.spec index ada312c..858e096 100644 --- a/gnu-smalltalk.spec +++ b/gnu-smalltalk.spec @@ -1,7 +1,7 @@ Summary: GNU Smalltalk Name: gnu-smalltalk Version: 3.2.5 -Release: 17%{?dist} +Release: 18%{?dist} License: GPLv2+ with exceptions Group: Development/Languages URL: http://www.gnu.org/software/smalltalk/smalltalk.html @@ -15,6 +15,7 @@ Patch2: gst-3.2.3-ltdl.patch Patch3: gst-3.2.5-inf.patch Patch4: gst-3.2.5-emacs.patch Patch5: gst-3.2.5-tk86.patch +Patch6: gst-3.2.5-format.patch # seems only little endian arches are supported # eg. https://bugzilla.redhat.com/show_bug.cgi?id=1269811 @@ -86,6 +87,7 @@ with functions written in C. %patch3 -p1 -b .inf %patch4 -p1 -b .emx %patch5 -p1 -b .tk86 +%patch6 -p1 -b .format %build libtoolize @@ -209,6 +211,9 @@ fi %{_includedir}/gstpub.h %changelog +* Mon Sep 25 2017 My Karlsson - 3.2.5-18 +- Disable -Wno-format + * Wed Aug 02 2017 Fedora Release Engineering - 3.2.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/gst-3.2.5-format.patch b/gst-3.2.5-format.patch new file mode 100644 index 0000000..9add8cb --- /dev/null +++ b/gst-3.2.5-format.patch @@ -0,0 +1,11 @@ +--- smalltalk-3.2.5/configure.ac.format 2017-09-25 22:36:27.696371203 +0200 ++++ smalltalk-3.2.5/configure.ac 2017-09-25 22:36:31.181374089 +0200 +@@ -43,7 +43,7 @@ + GST_PROG_CC(strict-aliasing, dnl enabled optimizations + gcse, dnl disabled optimizations + all write-strings pointer-arith declaration-after-statement, dnl enabled warnings +- strict-aliasing pointer-sign long-double format switch) dnl disabled warnings ++ strict-aliasing pointer-sign long-double switch) dnl disabled warnings + + if test "$GCC" != yes; then + AC_MSG_ERROR([Please use GCC to compile GNU Smalltalk.])