forked from ports/contrib
scorched3d: picked up droped port from opt
This commit is contained in:
parent
bb7dd9866a
commit
67fbf0c3d1
1825
scorched3d/.footprint
Normal file
1825
scorched3d/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
2
scorched3d/.md5sum
Normal file
2
scorched3d/.md5sum
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
81d9d39748e77c56a9a6bce608169baa Scorched3D-41.1-src.tar.gz
|
||||||
|
48af0988f70d1eb1eddf71a9ec1fb0bc scorched3d-41.1-gljpg.patch
|
25
scorched3d/Pkgfile
Normal file
25
scorched3d/Pkgfile
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Description: A 3D recreation of the classic DOS game Scorched Earth.
|
||||||
|
# URL: http://www.scorched3d.co.uk/
|
||||||
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||||
|
# Packager: Matt Housh, jaeger at crux dot nu
|
||||||
|
# Depends on: sdl_mixer sdl_net wxgtk freealut fftw
|
||||||
|
|
||||||
|
name=scorched3d
|
||||||
|
version=41.1
|
||||||
|
release=1
|
||||||
|
source=(http://dl.sourceforge.net/scorched3d/Scorched3D-$version-src.tar.gz \
|
||||||
|
scorched3d-$version-gljpg.patch)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd scorched
|
||||||
|
patch -i $SRC/scorched3d-$version-gljpg.patch src/GLEXT/GLJpg.cpp
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--datadir=/usr/share/scorched3d
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
|
rm -r $PKG/usr/share/scorched3d/documentation
|
||||||
|
}
|
||||||
|
|
13
scorched3d/scorched3d-41.1-gljpg.patch
Normal file
13
scorched3d/scorched3d-41.1-gljpg.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- GLJpg.cpp.orig 2008-01-11 16:04:25.000000000 -0600
|
||||||
|
+++ GLJpg.cpp 2008-01-11 16:04:40.000000000 -0600
|
||||||
|
@@ -20,7 +20,9 @@
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <math.h>
|
||||||
|
-#include <jpeglib.h>
|
||||||
|
+extern "C" {
|
||||||
|
+ #include <jpeglib.h>
|
||||||
|
+}
|
||||||
|
#include <common/Defines.h>
|
||||||
|
#include <GLEXT/GLJpg.h>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user