OBS User unknown 2007-10-25 23:42:30 +00:00 committed by Git OBS Bridge
parent 99de833c6f
commit 5535683548
3 changed files with 41 additions and 5 deletions

View File

@ -0,0 +1,28 @@
--- MultiPlay.cpp
+++ MultiPlay.cpp
@@ -42,9 +42,9 @@
typedef int socklen_t; /* mimic Penguin's typedef */
#else /* ! WIN32 */
-
+#if !defined closesocket /* see included ttincl.h */
#define closesocket(FD) close(FD)
-
+#endif
#endif
extern long mode;
--- Network.cpp
+++ Network.cpp
@@ -41,9 +41,9 @@
typedef int socklen_t; /* mimic Penguin's typedef */
#else /* ! WIN32 */
-
+#if !defined closesocket /* see included ttincl.h */
#define closesocket(FD) close(FD)
-
+#endif
#endif
bool endian;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 25 18:18:33 CEST 2007 - pgajdos@suse.cz
- fixed build with new gcc 4.3
-------------------------------------------------------------------
Fri Mar 23 18:49:59 CET 2007 - lmichnovic@suse.cz

View File

@ -12,11 +12,11 @@
Name: csmash
BuildRequires: SDL_image-devel SDL_mixer-devel gcc-c++ gtk1-compat-devel libdrm-devel update-desktop-files xorg-x11-devel
License: GNU General Public License (GPL)
License: GPL v2 or later
Group: Amusements/Games/3D/Other
Autoreqprov: on
AutoReqProv: on
Version: 0.6.6
Release: 60
Release: 128
Source: %{name}-%{version}.tar.bz2
Source1: danslatristesse2-48.ogg
Source2: %name.desktop
@ -24,7 +24,8 @@ Patch: %{name}-%{version}.diff
Patch2: %{name}-%{version}-datadir.diff
Patch3: %{name}-%{version}-return_value.diff
Patch4: %{name}-%{version}-qualification.diff
URL: http://cannonsmash.sourceforge.net/
Patch5: %{name}-%{version}_new-gcc.patch
Url: http://cannonsmash.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: 3D Table Tennis Game
@ -44,6 +45,7 @@ Authors:
%patch2 -p1
%patch3
%patch4
%patch5
mv README README.jp
cp README.en README
%{?suse_update_config:%{suse_update_config -f}}
@ -79,8 +81,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/csmash
%doc README README.jp AUTHORS COPYING CREDITS INSTALL NEWS ChangeLog
/usr/share/applications/%name.desktop
%changelog
* Thu Oct 25 2007 - pgajdos@suse.cz
- fixed build with new gcc 4.3
* Fri Mar 23 2007 - lmichnovic@suse.cz
- forcing use of CXXFLAGS for compilation
* Mon Aug 07 2006 - lmichnovic@suse.cz