forked from ports/contrib
hedgewars: 0.9.12 -> 0.9.13
This commit is contained in:
parent
72d8d6d950
commit
f501b03380
File diff suppressed because it is too large
Load Diff
@ -1 +1,2 @@
|
||||
10e9815d19df066b5df074fc2cd08c26 hedgewars-src-0.9.12.tar.bz2
|
||||
05d360f485a3ce5f3069b97a6a1392ca hedgewars-0.9.13_unit-opengl.patch
|
||||
b91de13d54670970568b56f150cf9fe4 hedgewars-src-0.9.13.tar.bz2
|
||||
|
@ -5,14 +5,14 @@
|
||||
# Depends on: fpc cmake qt4 sdl_net sdl_mixer sdl_image sdl_ttf libsdl
|
||||
|
||||
name=hedgewars
|
||||
version=0.9.12
|
||||
version=0.9.13
|
||||
release=1
|
||||
source=(http://download.gna.org/$name/hedgewars-src-$version.tar.bz2)
|
||||
source=(http://download.gna.org/$name/hedgewars-src-$version.tar.bz2
|
||||
hedgewars-0.9.13_unit-opengl.patch)
|
||||
|
||||
build() {
|
||||
cd hedgewars-src-$version
|
||||
|
||||
sed -i -e 's|"-O2" "-Xs" "-Nu"|"-O3" "-Xs" "-XD" "-Fu/usr/lib/fpc/2.4.0/units/i386-linux/opengl"|' hedgewars/CMakeLists.txt
|
||||
patch -p1 -i $SRC/hedgewars-0.9.13_unit-opengl.patch
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
13
hedgewars/hedgewars-0.9.13_unit-opengl.patch
Normal file
13
hedgewars/hedgewars-0.9.13_unit-opengl.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -priN hedgewars-src-0.9.13.orig/hedgewars/CMakeLists.txt hedgewars-src-0.9.13/hedgewars/CMakeLists.txt
|
||||
*** hedgewars-src-0.9.13.orig/hedgewars/CMakeLists.txt 2010-06-19 22:21:20.012523788 +1000
|
||||
--- hedgewars-src-0.9.13/hedgewars/CMakeLists.txt 2010-06-19 22:23:20.325522488 +1000
|
||||
*************** endif()
|
||||
*** 129,134 ****
|
||||
--- 129,135 ----
|
||||
set(pascal_compiler ${fpc_executable})
|
||||
set(pascal_compiler_flags ${noexecstack_flags} ${pascal_compiler_flags_cmn} ${hwengine_project})
|
||||
|
||||
+ set(pascal_compiler_flags "-O3" "-Xs" "-XD" "-Fu/usr/lib/fpc/2.4.0/units/i386-linux/opengl" ${pascal_compiler_flags})
|
||||
|
||||
#DEPENDECIES AND EXECUTABLES SECTION
|
||||
IF(NOT APPLE)
|
Loading…
x
Reference in New Issue
Block a user