summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2008-01-06 01:21:30 +0000
committerJaka Kranjc2008-01-07 10:05:12 +0100
commitb5b56b5ad459d19085ccb5fab44673a6b015e6a6 (patch)
tree7db4ac8303e0d7c7f54d519f89c7787eebfaa408
parentc5f417c610eb7feb2071a73fbdb7ef8a8f6f585b (diff)
devil: Fix header inclusion with gcc 4.2 (devil bug #1651292)
(cherry picked from commit 41643d5b9974caca65a2b1e4bf60981d55278038)
-rwxr-xr-xgraphics-libs/devil/DETAILS5
-rw-r--r--graphics-libs/devil/HISTORY5
-rwxr-xr-xgraphics-libs/devil/PRE_BUILD2
3 files changed, 10 insertions, 2 deletions
diff --git a/graphics-libs/devil/DETAILS b/graphics-libs/devil/DETAILS
index 3c8ac4673e..fced6570ca 100755
--- a/graphics-libs/devil/DETAILS
+++ b/graphics-libs/devil/DETAILS
@@ -5,10 +5,11 @@
SOURCE=$SNAME-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SNAME-${VERSION//-rc?}
SOURCE_URL[0]=${SOURCEFORGE_URL}/openil/${SOURCE}
- WEB_SITE=http://openil.sourceforge.net/
- ENTERED=20031008
+ PATCHLEVEL=1
LICENSE[0]=LGPL
+ WEB_SITE=http://openil.sourceforge.net/
KEYWORDS="graphics libs"
+ ENTERED=20031008
SHORT="Developer's Image Library"
cat << EOF
Developer's Image Library (DevIL) is a programmer's library to develop applications with very powerful image loading capabilities, yet is easy for a developer to learn and use. Ultimate control of images is left to the developer, so unnecessary conversions, etc. are not performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate, filter and display a wide variety of image formats.
diff --git a/graphics-libs/devil/HISTORY b/graphics-libs/devil/HISTORY
index 8b4d79b6a5..a1494be9b7 100644
--- a/graphics-libs/devil/HISTORY
+++ b/graphics-libs/devil/HISTORY
@@ -1,3 +1,8 @@
+2008-01-05 Eric Sandall <sandalle@sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: Fix upstream bug #1651292 (header inclusion fails with gcc
+ 4.2) with fix from Debian Bug #376620
+
2007-07-21 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.6.8-rc2
* DEPENDS: libungif -> LIBGIF
diff --git a/graphics-libs/devil/PRE_BUILD b/graphics-libs/devil/PRE_BUILD
new file mode 100755
index 0000000000..ccecc1b956
--- /dev/null
+++ b/graphics-libs/devil/PRE_BUILD
@@ -0,0 +1,2 @@
+default_pre_build &&
+sed -i 's:(ILvoid):(void):g' $SOURCE_DIRECTORY/include/IL/*.h