Hello community, here is the log from the commit of package ccgo checked in at Thu Jan 25 18:25:14 CET 2007. -------- --- ccgo/ccgo.changes 2006-09-05 09:56:45.000000000 +0200 +++ /mounts/work_src_done/STABLE/ccgo/ccgo.changes 2007-01-25 18:02:04.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 25 18:00:58 CET 2007 - anicka@suse.cz + +- build all files with $RPM_OPT_FLAGS +- fix arguments of execl (-sentinel.diff) + +------------------------------------------------------------------- New: ---- ccgo-0.3.6.2-sentinel.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ccgo.spec ++++++ --- /var/tmp/diff_new_pack.S32382/_old 2007-01-25 18:25:08.000000000 +0100 +++ /var/tmp/diff_new_pack.S32382/_new 2007-01-25 18:25:08.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ccgo (Version 0.3.6.2 ) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,15 +12,16 @@ Name: ccgo BuildRequires: gcc-c++ gconfmm-devel update-desktop-files -License: GPL +License: GNU General Public License (GPL) Group: Amusements/Games/Board/Other Autoreqprov: on Version: 0.3.6.2 -Release: 19 +Release: 50 Summary: gnugo and IGS graphical client URL: http://ccdw.org/~cjj/prog/ccgo/ Source: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop +Patch: %{name}-%{version}-sentinel.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -35,17 +36,17 @@ %prep %setup -q +%patch %build gettextize -f autoreconf -fi -GTKMM_CFLAGS="`pkg-config --cflags gtkmm-2.4 glibmm-2.4 gconfmm-2.6`" \ +GTKMM_CFLAGS="`pkg-config --cflags gtkmm-2.4 glibmm-2.4 gconfmm-2.6` $RPM_OPT_FLAGS" \ GTKMM_LIBS="`pkg-config --libs gconfmm-2.6 gtkmm-2.4 glibmm-2.4`" \ -CFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} -make +make CXXFLAGS="$RPM_OPT_FLAGS" %install make install DESTDIR=$RPM_BUILD_ROOT @@ -65,6 +66,9 @@ %{_datadir}/locale/*/*/* %changelog -n ccgo +* Thu Jan 25 2007 - anicka@suse.cz +- build all files with $RPM_OPT_FLAGS +- fix arguments of execl (-sentinel.diff) * Tue Sep 05 2006 - aj@suse.de - Cleanup BuildRequires. * Tue Aug 08 2006 - cthiel@suse.de ++++++ ccgo-0.3.6.2-sentinel.diff ++++++ --- gmp/device.cc +++ gmp/device.cc @@ -360,7 +360,7 @@ // close(2); // close cerr char * shell = "/bin/bash"; std::string c = std::string("exec ") + n; - execl(shell, shell, "-c", c.c_str(), 0); + execl(shell, shell, "-c", c.c_str(), (char *) NULL); // exec failed! std::cerr << "Fail to run " << n << "!" << std::endl; exit(EXIT_FAILURE); --- igs/fork.cc +++ igs/fork.cc @@ -141,7 +141,7 @@ close(2); // close cerr char * shell = "/bin/bash"; std::string c = std::string ("exec ") + n; - execl(shell, shell, "-c", c.c_str(), 0); + execl(shell, shell, "-c", c.c_str(), (char *) NULL); std::cerr << "Fail to fork: " << n << std::endl; exit(EXIT_FAILURE); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de