Hello community, here is the log from the commit of package gambas3 for openSUSE:Factory checked in at 2017-06-07 09:55:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gambas3 (Old) and /work/SRC/openSUSE:Factory/.gambas3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gambas3" Wed Jun 7 09:55:14 2017 rev:2 rq:501074 version:3.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gambas3/gambas3.changes 2017-02-28 23:49:28.298570834 +0100 +++ /work/SRC/openSUSE:Factory/.gambas3.new/gambas3.changes 2017-06-07 09:55:15.516080482 +0200 @@ -1,0 +2,5 @@ +Sun Jun 4 23:33:57 UTC 2017 - [email protected] + +- Build with gcc7 (gambas3-3.9.2-gcc7.patch) + +------------------------------------------------------------------- New: ---- gambas3-3.9.2-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gambas3.spec ++++++ --- /var/tmp/diff_new_pack.FuGu5I/_old 2017-06-07 09:55:16.279972533 +0200 +++ /var/tmp/diff_new_pack.FuGu5I/_new 2017-06-07 09:55:16.283971968 +0200 @@ -38,6 +38,8 @@ Patch0: gambas3-mime_translation.patch # PATCH-FIX-OPENSUSE llvm.patch [email protected] -- Change the location for an header files Patch1: gambas3-3.9.2-llvm.patch +# PATCH-FIX-UPSTREAM gcc7.patch -- https://sourceforge.net/p/gambas/mailman/message/35637223/ +Patch2: gambas3-3.9.2-gcc7.patch BuildRequires: SDL_image BuildRequires: aalib-devel BuildRequires: atk-devel @@ -1094,6 +1096,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p3 # don't compile in DATE and TIME BUILDTIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%H:%M') ++++++ gambas3-3.9.2-gcc7.patch ++++++ --- a/gambas/trunk/gb.db.sqlite2/src/sqlitedataset.cpp +++ b/gambas/trunk/gb.db.sqlite2/src/sqlitedataset.cpp @@ -765,7 +765,7 @@ _right = (char *)rindex(Type, ')'); _left = (char *)index(Type, '('); if (_right){ - _right = '\0'; + _right = NULL; rTypeLen = atoi(_left + 1); } else {
