Hello community,

here is the log from the commit of package gri for openSUSE:Factory checked in 
at 2017-06-27 10:21:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gri (Old)
 and      /work/SRC/openSUSE:Factory/.gri.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gri"

Tue Jun 27 10:21:31 2017 rev:14 rq:506249 version:2.12.23

Changes:
--------
--- /work/SRC/openSUSE:Factory/gri/gri.changes  2016-03-17 16:47:25.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.gri.new/gri.changes     2017-06-27 
10:21:45.935012272 +0200
@@ -0,0 +1,9 @@
+
+-------------------------------------------------------------------
+Mon Jun 26 09:44:40 UTC 2017 - [email protected]
+
+- Add gri-invalid-char-to-pointer.patch: Fix a char to char*
+  conversion by replacing '\0' with NULL.
+- Cleanup spec file by removing conditionals for outdated openSUSE
+  versions, running spec-cleaner.
+

New:
----
  gri-invalid-char-to-pointer.patch

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

Other differences:
------------------
++++++ gri.spec ++++++
--- /var/tmp/diff_new_pack.yf2bVT/_old  2017-06-27 10:21:46.918873218 +0200
+++ /var/tmp/diff_new_pack.yf2bVT/_new  2017-06-27 10:21:46.918873218 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gri
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -28,19 +28,17 @@
 Patch1:         gri-texinfo-5.0.patch
 # PATCH-FIX-UPSTREAM https://github.com/dankelley/gri/pull/10
 Patch2:         reproducible.patch
+# PATCH-FIX-UPSTREAM gri-invalid-char-to-pointer.patch [email protected] -- 
Fix a char to char* conversion by replacing '\0' with NULL
+Patch3:         gri-invalid-char-to-pointer.patch
 BuildRequires:  ImageMagick
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  readline-devel
 BuildRequires:  texinfo
-%if %suse_version <= 1220
-BuildRequires:  texlive
-%else
 BuildRequires:  texlive-dvips
-%endif
 BuildRequires:  perl(Time::CTime)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires(post): /sbin/install-info
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Gri is a language for scientific graphics programming.  It is a
@@ -63,24 +61,19 @@
 %patch0
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure
-%__make
+# Parallel make does not work
+make
 
 %install
-%if 0%{sles_version}
-%makeinstall DESTDIR=%{buildroot}
-%else
 %make_install DESTDIR=%{buildroot}
-%endif
 # drop timestamp from texinfo
 sed -i "s/<!-- [A-Z].. [A-Z].. .. ..:..:.. .... -->//" 
%{buildroot}%{_datadir}/%{name}/doc/html/index.html
 %fdupes %{buildroot}%{_datadir}/%{name}/
 
-%clean
-%{?buildroot:rm -rf %{buildroot}}
-
 %post
 /sbin/install-info %{_infodir}/gri.info %{_infodir}/dir
 

++++++ gri-invalid-char-to-pointer.patch ++++++
Index: gri-2.12.23/src/query.cc
===================================================================
--- gri-2.12.23.orig/src/query.cc
+++ gri-2.12.23/src/query.cc
@@ -56,7 +56,7 @@ queryCmd()
        if (!find_hint_and_def(hint, def)) {
                return false;
        }
-       def_word[0] = '\0';
+       def_word[0] = NULL;
        chop_into_words(def, def_word, &def_words, NCHAR);
        // Strip off double-quotes form list of defaults
        for (unsigned int i = 0; i < def_words; i++) {

Reply via email to