Hello community,
here is the log from the commit of package orbital
checked in at Fri Jan 19 12:45:11 CET 2007.
--------
--- orbital/orbital.changes 2006-01-25 21:39:11.000000000 +0100
+++ /mounts/work_src_done/STABLE/orbital/orbital.changes 2007-01-19 10:41:55.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Jan 18 17:45:13 CET 2007 - lmichnovic@suse.cz
+
+- now using RPM_OPT_FLAGS (flags*.patch)
+- fixed strict aliasing (strict_aliasing.patch)
+- fixed non void functions (non_void.patch)
+
+-------------------------------------------------------------------
Old:
----
orbit-freeglut.diff
New:
----
orbit-1.01-non_void.patch
orbit-1.01-strict_aliasing.patch
orbit-flags64.patch
orbit-flags.patch
orbit-freeglut.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ orbital.spec ++++++
--- /var/tmp/diff_new_pack.P30957/_old 2007-01-19 12:42:01.000000000 +0100
+++ /var/tmp/diff_new_pack.P30957/_new 2007-01-19 12:42:01.000000000 +0100
@@ -1,27 +1,31 @@
#
# spec file for package orbital (Version 1.01)
#
-# Copyright (c) 2005 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.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: orbital
BuildRequires: freeglut-devel libdrm-devel xorg-x11
-License: GPL
+License: GNU General Public License (GPL)
Group: Amusements/Games/3D/Simulation
Autoreqprov: on
Version: 1.01
-Release: 656
+Release: 701
Summary: Space Combat Simulator
URL: http://www.head-crash.com/orbit
Source: orbit-%{version}.tar.bz2
-Patch: orbit-%{version}-path.patch
-Patch1: orbit-freeglut.diff
+Patch1: orbit-%{version}-path.patch
+Patch2: orbit-freeglut.patch
+Patch3: orbit-flags.patch
+Patch4: orbit-flags64.patch
+Patch5: orbit-1.01-strict_aliasing.patch
+Patch6: orbit-1.01-non_void.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -47,8 +51,15 @@
mv file.new $FILE
done
cd ..
-%patch
%patch1
+%patch2
+%if "%_lib" == "lib64"
+%patch4
+%else
+%patch3
+%endif
+%patch5
+%patch6
# fix permision
chmod 644 README.TXT license.txt
chmod 644 doc/*.gif
@@ -56,7 +67,12 @@
%build
cd src
-make XLIBDIR="-L/usr/X11R6/%{_lib}" GLLIBS="-lglut -lGLU -lGL -lm"
+# Exporting these have no effect, forced in flags.patch
+#
+#export CFLAGS="$RPM_OPT_FLAGS"
+#export XLIBDIR="-L/usr/%{_lib}" GLLIBS="-lglut -lGLU -lGL -lm"
+#
+make %{?jobs:-j%jobs}
%install
install -m 755 -d $RPM_BUILD_ROOT/usr/games
@@ -72,6 +88,10 @@
/usr/share/games/orbital/
%changelog -n orbital
+* Thu Jan 18 2007 - lmichnovic@suse.cz
+- now using RPM_OPT_FLAGS (flags*.patch)
+- fixed strict aliasing (strict_aliasing.patch)
+- fixed non void functions (non_void.patch)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Nov 05 2005 - sndirsch@suse.de
++++++ orbit-1.01-non_void.patch ++++++
++++ 2637 lines (skipped)
++++++ orbit-1.01-strict_aliasing.patch ++++++
--- src/log.c
+++ src/log.c
@@ -67,11 +67,13 @@
va_list ap;
int tm;
char buf[64];
+ time_t * ptr_tmp;
tm = time (NULL);
+ ptr_tmp = &tm;
va_start (ap, fmt);
- strcpy (buf, ctime((const time_t *)&tm));
+ strcpy (buf, ctime(ptr_tmp));
buf[strlen(buf)-1] = 0;
fprintf (logfd, "%s: ", buf);
vfprintf (logfd, fmt, ap);
--- src/save.c
+++ src/save.c
@@ -175,13 +175,15 @@
/* Construct the selection list */
strcpy (buf, "Select mission to load:\\\\");
+ time_t * ptr_tmp;
for (s=0; s
participants (1)
-
root@Hilbert.suse.de