diff options
author | 2014-11-14 07:50:14 +0100 | |
---|---|---|
committer | 2014-11-14 07:50:14 +0100 | |
commit | dee1a23e0aaa00c050c994f105b18debe7afa66d (patch) | |
tree | d4a7b0ae3a11cda447ac300247209d99d6b9584e /games-strategy | |
parent | Masked ogre-1.9.0-r2, as the in tree version 1.9.0-r1 has all the fixes, is r... (diff) | |
download | seden-dee1a23e0aaa00c050c994f105b18debe7afa66d.tar.gz seden-dee1a23e0aaa00c050c994f105b18debe7afa66d.tar.bz2 seden-dee1a23e0aaa00c050c994f105b18debe7afa66d.zip |
games-strategy/glfrontier-20060623-r3 : Eventually managed to fix that (missing -lm, no -march, missing optimizations)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/glfrontier/ChangeLog | 12 | ||||
-rw-r--r-- | games-strategy/glfrontier/Manifest | 5 | ||||
-rw-r--r-- | games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch | 24 | ||||
-rw-r--r-- | games-strategy/glfrontier/glfrontier-20060623-r3.ebuild (renamed from games-strategy/glfrontier/glfrontier-20060623-r2.ebuild) | 4 |
4 files changed, 42 insertions, 3 deletions
diff --git a/games-strategy/glfrontier/ChangeLog b/games-strategy/glfrontier/ChangeLog index 74e6ac2..6567755 100644 --- a/games-strategy/glfrontier/ChangeLog +++ b/games-strategy/glfrontier/ChangeLog @@ -2,7 +2,17 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*glfrontier-20060623-r3 (14 Nov 2014) + + 14 Nov 2014; Sven Eden <yamakuzure@gmx.net> -glfrontier-20060623-r2.ebuild, + +glfrontier-20060623-r3.ebuild : + Fixed missing -lm. + Took out the non-optimization of the intense helper functions, because the + assumptions from 2006 do no longer fit. + Added -march=native to the CFLAGS, which wasn't available in 2006. + + *glfrontier-20060623-r2 (27 Mar 2011) - 27 Mar 2011; Sven Eden <sven.eden@gmx.de> +glfrontier-20060623-r2.ebuild : + 27 Mar 2011; Sven Eden <yamakuzure@gmx.net> +glfrontier-20060623-r2.ebuild : Initial commit of the ebuild. diff --git a/games-strategy/glfrontier/Manifest b/games-strategy/glfrontier/Manifest index b46b2a1..fc07991 100644 --- a/games-strategy/glfrontier/Manifest +++ b/games-strategy/glfrontier/Manifest @@ -1,5 +1,6 @@ +AUX glfrontier-20060623-fix_missing_math_lib.patch 1174 SHA256 87021473377c9dabc1962ec19671af4853973b2b94511aa3175a9ea6938121db SHA512 c0c4dcb85413dfc38472e4dc64f2fd78571f743e2dee026a0ac2305f8b02584634deca7e20f582aed01dda0835db08f790a57582fd3f8b999c530032af978e56 WHIRLPOOL ff53578319e18199ce685c9993d2fe86e1a46dc6ff0dd8f6d954e1786b1e17b64e022a435173792214a8931e75a7ebd3383516f93f6011401ffe5f1b608a3176 DIST frontvm-audio-20060222.tar.bz2 4623648 SHA256 e759e587047abd6f041aea4ef339e404b3ca5a6407acf65084a2af79a75ceb87 SHA512 50fdd3e7ac5547a0ca2081ab0350a8b7f5ecbeed015d2f3b1947777921fd145cc4475e5fc36910898577d1c9c3fec87d11e0e18240c03490991441c2bd484f6a WHIRLPOOL 136d00022892b9c383c4d5180bc3820e18c06a276e2253a51932e583cbfc0d86f16dfc9f4006bc4116db4cc98dadcb737e7b16a0130a6a9419298d6340e32916 DIST frontvm3-20060623.tar.bz2 426463 SHA256 9b6c04e8dad75bea11cce459515c7d5983276e23dba4a4764f1084d4810c0afb SHA512 45c4b5aaf4f7e2caac632c6af8936992684b048df87c183387283fbb627966e077ac4a50d5e4df0072f025e755a82e43bb9684cb81d1ac4080fc0042d2a36159 WHIRLPOOL 982a7735956e92f310ad732f03514cd700e3755b7dbbf004a957d19c0c929dfbed5621b1c8ea38a995fa019f463f029e613886049567bf99d033ca242d4ab7e8 -EBUILD glfrontier-20060623-r2.ebuild 1110 SHA256 98b4006fc735d1cbf3e8044a21691b28d924c8680f9824d81729a31df63ac380 SHA512 3df6cc0b129bb4c75f284cfc28bd5bf395630de32d09d5b37f843e8bd04c07b3bf1f61e2ea95ff4b3fdf6445a2259c317b78d141a637ffe194432a8badd9250b WHIRLPOOL 30a08d9a5b0b63a5e120790cf0f4d4b5dc684bd1520582d191bae7d0fa9a8f1a2fe1642184600161ee32c1205bdccd8e395319411d793a44896fc7ca8288da80 -MISC ChangeLog 274 SHA256 0e297975f43139e81a293bce99b96d9c85de75d307bb22b82cc87e746ac79cff SHA512 450efeb99949c875047d5991aacbbdead3e784f8239a934d960abf2f5e3a46a138560d3b7e89f1b8b4f5b110bd6af232c71c3954b42e946fceff8ef3b5921ba3 WHIRLPOOL 912bdbfe6360bd5108d54fa4f76d580309ca1525d1b82c6d9c7eb0ca1891dda4409be24e6df3a9d2f7045c7662fe07c65ac9f17e3146c47b883d004386170694 +EBUILD glfrontier-20060623-r3.ebuild 1186 SHA256 4d01158846645ac58a555692583e89f6b7b8d43dddd8d103b97b3e3fb9d8e86b SHA512 7e9dd1d67f0af8cf1195d99a3cf680998e4fd296c12c561ba3270f186a0f3cf3c37b2941b09fb036c7f443ca7defb7019671ea99f2f9dd367e733f269ce25496 WHIRLPOOL 2b008fdaefa7cc7d24c1cb9601c48c2f3a0ab791b04261df5f9391e558a60ae80d43c561362fd32ab450eb9f3b7cea7dc3f33c6c23f1e05183e58c98fe57a583 +MISC ChangeLog 639 SHA256 5c0d88cc3b7c91001a26840bfc91e3c9ff2540062d549de015736669bb1120c7 SHA512 9b01bf121a57751b6d2ea6c07a6d004d63c0f0745d3dd80b7109d02cce16decf819e04b5e2b6291a1f284ed2efb560b2ca7ab7841357fb263c078353d07f4e21 WHIRLPOOL f7563b9f641f64dbbbc5833301cc2b08d5f20dc4072e764119e7f48d0738f6d4c10ff5d2497e9f93cc98e84e81d8617e926d88cefec419d33af6b95da281caa6 MISC metadata.xml 365 SHA256 893c5c875b76e0fca07fa192fc5fed8250e5575bcf6683a9cae7ec1149e68eae SHA512 03230952c3d2a293a1bc6a3ca07f1e005bd09a4c9c90e0a22502b8849d693f82134c34145ea5e9f9ca379fb1981c1bb0ed8c2840f188cb06bae894680a57ed10 WHIRLPOOL bac3f2f8eb2b0a2d5d5c7cefa3e346c990d0032c302ade2aa117193fbf138fee9b3e30374227af6598153380cce49da42df8e83f639ab14f56b92c0c15f604fe diff --git a/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch b/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch new file mode 100644 index 0000000..fa314f5 --- /dev/null +++ b/games-strategy/glfrontier/files/glfrontier-20060623-fix_missing_math_lib.patch @@ -0,0 +1,24 @@ +--- a/frontvm3-20060623/Makefile-C 2014-11-14 07:37:29.430146785 +0100 ++++ b/frontvm3-20060623/Makefile-C 2014-11-14 07:37:54.728146745 +0100 +@@ -1,5 +1,5 @@ +-export CFLAGS = -O2 -g -Wall -DOGG_MUSIC +-export LIBS = -lGL -lGLU -lvorbisfile -lvorbis -logg ++export CFLAGS = -march=native -pipe -O2 -Wall -DOGG_MUSIC ++export LIBS = -lGL -lGLU -lvorbisfile -lvorbis -logg -lm + export FE2OBJS = ../fe2.part1.o ../fe2.part2.o + + THIS=Makefile-C +@@ -24,11 +24,8 @@ + + fe2obj: + as68k/as68k --output-c fe2.s +- # this bit can be optimised because it is lots of small functions +- $(CC) -DPART1 -O1 -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part1.o +- # this can't unless you have shitloads of memory and a fuck meaty +- # machine, because it is a huge stinking function. +- $(CC) -DPART2 -O0 -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part2.o ++ $(CC) -DPART1 $(CFLAGS) -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part1.o ++ $(CC) -DPART2 $(CFLAGS) -fomit-frame-pointer -Wall -Wno-unused -s `sdl-config --cflags` -c fe2.s.c -o fe2.part2.o + + clean: + $(MAKE) -C src/ clean diff --git a/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r3.ebuild index 92cf230..f37bc61 100644 --- a/games-strategy/glfrontier/glfrontier-20060623-r2.ebuild +++ b/games-strategy/glfrontier/glfrontier-20060623-r3.ebuild @@ -27,6 +27,10 @@ DEPEND="${RDEPEND}" S=${WORKDIR} +src_prepare() { + epatch "${FILESDIR}/${MY_P}"-fix_missing_math_lib.patch +} + src_compile() { cd ${S}/frontvm3-20060623 make -f Makefile-C || die "make install failed" |