Fix return-non-void patch
OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=12
This commit is contained in:
parent
c2d41a4d8f
commit
4a71d56b90
@ -11,12 +11,12 @@ diff -ur widelands-b13/src/events/event_factory.cc widelands-b13.patched//src/ev
|
|||||||
|
|
||||||
diff -ur widelands-b13/src/map.h widelands-b13.patched//src/map.h
|
diff -ur widelands-b13/src/map.h widelands-b13.patched//src/map.h
|
||||||
--- widelands-b13/src/map.h 2008-10-10 22:53:46.000000000 +0200
|
--- widelands-b13/src/map.h 2008-10-10 22:53:46.000000000 +0200
|
||||||
+++ widelands-b13.patched//src/map.h 2009-05-01 22:40:39.000000000 +0200
|
+++ widelands-b13.patched//src/map.h 2009-05-01 22:58:33.000000000 +0200
|
||||||
@@ -1038,6 +1038,7 @@
|
@@ -1038,6 +1038,7 @@
|
||||||
case Map_Object::WALK_W: return l_n(f);
|
case Map_Object::WALK_W: return l_n(f);
|
||||||
default:
|
default:
|
||||||
assert(false);
|
assert(false);
|
||||||
+ case Map_Object::WALK_NW: return tl_n(f);
|
+ return tl_n(f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ perhaps will have a thought, what Widelands is all about.
|
|||||||
sed -i 's#flagi#%{optflags}##' build/scons-tools/scons_configure.py
|
sed -i 's#flagi#%{optflags}##' build/scons-tools/scons_configure.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CCFLAGS="$optflags"
|
export CCFLAGS="$RPM_OPT_FLAGS"
|
||||||
scons build=release datadir=%{_datadir}/%{name} bindir=%{_bindir} localedir=%{_datadir}/%{name}/locale build_id=%{build_id}
|
scons build=release datadir=%{_datadir}/%{name} bindir=%{_bindir} localedir=%{_datadir}/%{name}/locale build_id=%{build_id}
|
||||||
|
|
||||||
# ./build-widelands.sh
|
# ./build-widelands.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user