Hello community, here is the log from the commit of package ooRexx for openSUSE:Factory checked in at 2018-10-15 09:38:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ooRexx (Old) and /work/SRC/openSUSE:Factory/.ooRexx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ooRexx" Mon Oct 15 09:38:52 2018 rev:20 rq:641334 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ooRexx/ooRexx.changes 2018-06-28 15:14:18.359495363 +0200 +++ /work/SRC/openSUSE:Factory/.ooRexx.new/ooRexx.changes 2018-10-15 09:40:50.163517315 +0200 @@ -1,0 +2,7 @@ +Thu Oct 11 18:39:12 UTC 2018 - Erico Mendonca <erico.mendo...@suse.com> + +- Part of the GCC6 fixes broke the SysFileSearch() function. The pointer comparison +to '\0' needs to be done in the rexxutil library, as the result is returned via a null-delimited string. +Thus, the -fpermissive flag needs to be added. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ooRexx.spec ++++++ --- /var/tmp/diff_new_pack.CL4hXY/_old 2018-10-15 09:40:51.731515877 +0200 +++ /var/tmp/diff_new_pack.CL4hXY/_new 2018-10-15 09:40:51.739515870 +0200 @@ -155,7 +155,7 @@ echo "SUSE_VERSION=%{suse_version}" %endif # to avoid segmentation fault -export CFLAGS="$CFLAGS `echo $RPM_OPT_FLAGS | sed 's/O2/O0/'`" +export CFLAGS="$CFLAGS -fpermissive `echo $RPM_OPT_FLAGS | sed 's/O2/O0/'`" export SUSE_ASNEEDED=0 ./configure --disable-static --prefix=%{_prefix} ++++++ ooRexx-4.2.0-gcc6.patch ++++++ --- /var/tmp/diff_new_pack.CL4hXY/_old 2018-10-15 09:40:51.767515844 +0200 +++ /var/tmp/diff_new_pack.CL4hXY/_new 2018-10-15 09:40:51.767515844 +0200 @@ -405,14 +405,3 @@ #define LITEND *mfctop // named flag; 1=little-endian return LITEND == 0; ---- ooRexx-4.2.0/extensions/rexxutil/platform/unix/rexxutil.cpp-orig 2017-12-06 15:06:56.589056503 -0200 -+++ ooRexx-4.2.0/extensions/rexxutil/platform/unix/rexxutil.cpp 2017-12-06 15:07:38.380941637 -0200 -@@ -1701,7 +1701,7 @@ - num++; - - ptr = mystrstr(line, target, len, args[0].strlength, sensitive); -- if (ptr != '\0') { -+ if (!ptr) { - if (linenums) { - sprintf(ldp.ibuf, "%d ", (int)num); - len2 = strlen(ldp.ibuf);