diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/ftgl | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/ftgl')
-rw-r--r-- | abs/core/ftgl/PKGBUILD | 25 | ||||
-rw-r--r-- | abs/core/ftgl/ftgl-gcc411.patch | 12 |
2 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/ftgl/PKGBUILD b/abs/core/ftgl/PKGBUILD new file mode 100644 index 0000000..47c9eb4 --- /dev/null +++ b/abs/core/ftgl/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# Contributor: tobias <tobias@archlinux.org> +pkgname=ftgl +pkgver=2.1.2 +pkgrel=4 +pkgdesc="OpenGL library to use arbitrary fonts" +arch=(i686 x86_64) +source=(http://superb-east.dl.sourceforge.net/sourceforge/ftgl/$pkgname-$pkgver.tar.gz ftgl-gcc411.patch) +url="http://homepages.paradise.net.nz/henryj/code/" +options=(!libtool) +depends=(freetype2 glut) +makedepends=(doxygen) + +build() { + cd $startdir/src/FTGL/ + patch -Np1 -i ${startdir}/src/ftgl-gcc411.patch || return 1 + cd unix + sed -i 's|^ \$| $|g' src/Makefile + ./configure --prefix=/usr --with-pic + make || return 1 + make prefix=$startdir/pkg/usr install + +} +md5sums=('f81c0a7128192ba11e036186f9a968f2' '2a4ad16c1bfae869a8bf0ddababfd25a') diff --git a/abs/core/ftgl/ftgl-gcc411.patch b/abs/core/ftgl/ftgl-gcc411.patch new file mode 100644 index 0000000..f52d48b --- /dev/null +++ b/abs/core/ftgl/ftgl-gcc411.patch @@ -0,0 +1,12 @@ +diff -ruN FTGL.org/include/FTTextureGlyph.h FTGL/include/FTTextureGlyph.h +--- FTGL.org/include/FTTextureGlyph.h 2006-07-11 17:49:42.000000000 +0200 ++++ FTGL/include/FTTextureGlyph.h 2006-07-11 17:50:23.000000000 +0200 +@@ -52,7 +52,7 @@ + * Reset the currently active texture to zero to get into a known state before + * drawing a string. This is to get round possible threading issues. + */ +- static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;} ++ static void ResetActiveTexture(){ activeTextureID = 0;} + + private: + /** |