summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/DevIL/04_png_set_expand_gray.diff26
-rw-r--r--libraries/DevIL/DevIL.SlackBuild54
-rw-r--r--libraries/DevIL/DevIL.info10
-rw-r--r--libraries/DevIL/patches/ILvoid_fix_1.diff1112
-rw-r--r--libraries/DevIL/patches/ILvoid_fix_2.diff132
-rw-r--r--libraries/DevIL/patches/ILvoid_fix_3.diff11
-rw-r--r--libraries/DevIL/patches/devil-1.6.8-libpng14.patch11
7 files changed, 57 insertions, 1299 deletions
diff --git a/libraries/DevIL/04_png_set_expand_gray.diff b/libraries/DevIL/04_png_set_expand_gray.diff
new file mode 100644
index 0000000000..78fe892881
--- /dev/null
+++ b/libraries/DevIL/04_png_set_expand_gray.diff
@@ -0,0 +1,26 @@
+Index: devil-1.7.8/src-IL/src/il_icon.c
+===================================================================
+--- devil-1.7.8.orig/src-IL/src/il_icon.c 2013-05-21 00:08:36.847356129 +0200
++++ devil-1.7.8/src-IL/src/il_icon.c 2013-05-21 00:10:29.317942183 +0200
+@@ -525,7 +525,7 @@
+
+ // Expand low-bit-depth grayscale images to 8 bits
+ if (ico_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
+- png_set_gray_1_2_4_to_8(ico_png_ptr);
++ png_set_expand_gray_1_2_4_to_8(ico_png_ptr);
+ }
+
+ // Expand RGB images with transparency to full alpha channels
+Index: devil-1.7.8/src-IL/src/il_png.c
+===================================================================
+--- devil-1.7.8.orig/src-IL/src/il_png.c 2009-03-08 08:10:09.000000000 +0100
++++ devil-1.7.8/src-IL/src/il_png.c 2013-05-21 00:10:18.554077504 +0200
+@@ -278,7 +278,7 @@
+
+ // Expand low-bit-depth grayscale images to 8 bits
+ if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
+- png_set_gray_1_2_4_to_8(png_ptr);
++ png_set_expand_gray_1_2_4_to_8(png_ptr);
+ }
+
+ // Expand RGB images with transparency to full alpha channels
diff --git a/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild
index 265647dc22..6ae4a05869 100644
--- a/libraries/DevIL/DevIL.SlackBuild
+++ b/libraries/DevIL/DevIL.SlackBuild
@@ -3,11 +3,12 @@
# Slackware build script for DevIL
# Written by Phil Warner <pc_warner@yahoo.com>
# Modified by Robby Workman <rworkman@slackbuilds.org>
+# Currently maintained by Dugan Chen
PRGNAM=DevIL
-VERSION=${VERSION:-1.6.8}
-PKG_VERSION=${VERSION}_rc2
-BUILD=${BUILD:-3}
+SRCNAM=devil
+VERSION=${VERSION:-1.7.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -42,51 +43,48 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$(echo $PKG_VERSION | tr _ -).tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fixes a libpng 1.4 problem.
-patch -p1 < $CWD/patches/devil-1.6.8-libpng14.patch
+# Build against libpng14, not libpng12.
+sed -i 's/png12/png14/g' configure
-# Fix the typo that prevents building with Allegro
-# Also patch files to change (ILvoid) to (void) in order to
-# fix issues with gcc 4.2.
-# Thanks to David Somero for the heads up on this.
-patch -p1 < $CWD/patches/ILvoid_fix_1.diff
-patch -p1 < $CWD/patches/ILvoid_fix_2.diff
-# There is a space in the filename's path, so we have to cd into
-# the offending directory before patching.
-( cd cpp\ wrapper
- patch < $CWD/patches/ILvoid_fix_3.diff
-)
+# Fix further linking issues with libpng. This patch is taken
+# from Ubuntu. Without this patch, DevIL will compile, but attempts
+# to link against it will break.
+patch -p1 < $CWD/04_png_set_expand_gray.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --datarootdir=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --enable-static=no \
--build=$ARCH-slackware-linux
-
-force_arch="$ARCH" make
+make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING CREDITS ChangeLog INSTALL Libraries.txt \
- NEWS README README.unix TODO $PKG/usr/doc/$PRGNAM-$VERSION
+ NEWS README README.unix TODO examples/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/DevIL/DevIL.info b/libraries/DevIL/DevIL.info
index 9abe477401..073e932c59 100644
--- a/libraries/DevIL/DevIL.info
+++ b/libraries/DevIL/DevIL.info
@@ -1,10 +1,10 @@
PRGNAM="DevIL"
-VERSION="1.6.8_rc2"
+VERSION="1.7.8"
HOMEPAGE="http://openil.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/openil/DevIL-1.6.8-rc2.tar.gz"
-MD5SUM="9d815c8637adb6fb6c25c38dc178aca2"
+DOWNLOAD="http://downloads.sourceforge.net/project/openil/DevIL/1.7.8/DevIL-1.7.8.tar.gz"
+MD5SUM="7918f215524589435e5ec2e8736d5e1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Phil Warner"
-EMAIL="pc_warner@yahoo.com"
+MAINTAINER="Dugan Chen"
+EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/libraries/DevIL/patches/ILvoid_fix_1.diff b/libraries/DevIL/patches/ILvoid_fix_1.diff
deleted file mode 100644
index 119372d652..0000000000
--- a/libraries/DevIL/patches/ILvoid_fix_1.diff
+++ /dev/null
@@ -1,1112 +0,0 @@
-diff -ru DevIL-1.6.8.orig/include/IL/devil_internal_exports.h DevIL-1.6.8/include/IL/devil_internal_exports.h
---- DevIL-1.6.8.orig/include/IL/devil_internal_exports.h 2006-07-15 03:24:39.000000000 -0500
-+++ DevIL-1.6.8/include/IL/devil_internal_exports.h 2008-04-23 00:35:20.000000000 -0500
-@@ -91,7 +91,7 @@
- #endif
-
- // Internal library functions in IL
--ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
-+ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
- ILAPI ILvoid ILAPIENTRY ilSetCurImage(ILimage *Image);
- ILAPI ILvoid ILAPIENTRY ilSetError(ILenum Error);
- ILAPI ILvoid ILAPIENTRY ilSetPal(ILpal *Pal);
-@@ -113,15 +113,15 @@
- //
- // Image functions
- //
--ILAPI ILvoid ILAPIENTRY iBindImageTemp (ILvoid);
-+ILAPI ILvoid ILAPIENTRY iBindImageTemp (void);
- ILAPI ILboolean ILAPIENTRY ilClearImage_ (ILimage *Image);
- ILAPI ILvoid ILAPIENTRY ilCloseImage (ILimage *Image);
- ILAPI ILvoid ILAPIENTRY ilClosePal (ILpal *Palette);
--ILAPI ILpal* ILAPIENTRY iCopyPal (ILvoid);
-+ILAPI ILpal* ILAPIENTRY iCopyPal (void);
- ILAPI ILboolean ILAPIENTRY ilCopyImageAttr (ILimage *Dest, ILimage *Src);
- ILAPI ILimage* ILAPIENTRY ilCopyImage_ (ILimage *Src);
- ILAPI ILvoid ILAPIENTRY ilGetClear (ILvoid *Colours, ILenum Format, ILenum Type);
--ILAPI ILuint ILAPIENTRY ilGetCurName (ILvoid);
-+ILAPI ILuint ILAPIENTRY ilGetCurName (void);
- ILAPI ILboolean ILAPIENTRY ilIsValidPal (ILpal *Palette);
- ILAPI ILimage* ILAPIENTRY ilNewImage (ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILubyte Bpc);
- ILAPI ILimage* ILAPIENTRY ilNewImageFull (ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, ILvoid *Data);
-diff -ru DevIL-1.6.8.orig/include/IL/il.h DevIL-1.6.8/include/IL/il.h
---- DevIL-1.6.8.orig/include/IL/il.h 2006-08-10 08:20:10.000000000 -0500
-+++ DevIL-1.6.8/include/IL/il.h 2008-04-23 00:35:20.000000000 -0500
-@@ -445,15 +445,15 @@
- ILAPI ILvoid ILAPIENTRY ilBindImage(ILuint Image);
- ILAPI ILboolean ILAPIENTRY ilBlit(ILuint Source, ILint DestX, ILint DestY, ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint Width, ILuint Height, ILuint Depth);
- ILAPI ILvoid ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
--ILAPI ILboolean ILAPIENTRY ilClearImage(ILvoid);
--ILAPI ILuint ILAPIENTRY ilCloneCurImage(ILvoid);
-+ILAPI ILboolean ILAPIENTRY ilClearImage(void);
-+ILAPI ILuint ILAPIENTRY ilCloneCurImage(void);
- ILAPI ILboolean ILAPIENTRY ilCompressFunc(ILenum Mode);
- ILAPI ILboolean ILAPIENTRY ilConvertImage(ILenum DestFormat, ILenum DestType);
- ILAPI ILboolean ILAPIENTRY ilConvertPal(ILenum DestFormat);
- ILAPI ILboolean ILAPIENTRY ilCopyImage(ILuint Src);
- ILAPI ILuint ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, ILvoid *Data);
- ILAPI ILuint ILAPIENTRY ilCreateSubImage(ILenum Type, ILuint Num);
--ILAPI ILboolean ILAPIENTRY ilDefaultImage(ILvoid);
-+ILAPI ILboolean ILAPIENTRY ilDefaultImage(void);
- ILAPI ILvoid ILAPIENTRY ilDeleteImage(const ILuint Num);
- ILAPI ILvoid ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images);
- ILAPI ILboolean ILAPIENTRY ilDisable(ILenum Mode);
-@@ -464,16 +464,16 @@
- ILAPI ILubyte* ILAPIENTRY ilGetAlpha(ILenum Type);
- ILAPI ILboolean ILAPIENTRY ilGetBoolean(ILenum Mode);
- ILAPI ILvoid ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param);
--ILAPI ILubyte* ILAPIENTRY ilGetData(ILvoid);
-+ILAPI ILubyte* ILAPIENTRY ilGetData(void);
- ILAPI ILuint ILAPIENTRY ilGetDXTCData(ILvoid *Buffer, ILuint BufferSize, ILenum DXTCFormat);
--ILAPI ILenum ILAPIENTRY ilGetError(ILvoid);
-+ILAPI ILenum ILAPIENTRY ilGetError(void);
- ILAPI ILint ILAPIENTRY ilGetInteger(ILenum Mode);
- ILAPI ILvoid ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param);
--ILAPI ILuint ILAPIENTRY ilGetLumpPos(ILvoid);
--ILAPI ILubyte* ILAPIENTRY ilGetPalette(ILvoid);
-+ILAPI ILuint ILAPIENTRY ilGetLumpPos(void);
-+ILAPI ILubyte* ILAPIENTRY ilGetPalette(void);
- ILAPI ILstring ILAPIENTRY ilGetString(ILenum StringName);
- ILAPI ILvoid ILAPIENTRY ilHint(ILenum Target, ILenum Mode);
--ILAPI ILvoid ILAPIENTRY ilInit(ILvoid);
-+ILAPI ILvoid ILAPIENTRY ilInit(void);
- ILAPI ILboolean ILAPIENTRY ilIsDisabled(ILenum Mode);
- ILAPI ILboolean ILAPIENTRY ilIsEnabled(ILenum Mode);
- ILAPI ILboolean ILAPIENTRY ilIsImage(ILuint Image);
-@@ -489,7 +489,7 @@
- ILAPI ILvoid ILAPIENTRY ilModAlpha( ILdouble AlphaValue );
- ILAPI ILboolean ILAPIENTRY ilOriginFunc(ILenum Mode);
- ILAPI ILboolean ILAPIENTRY ilOverlayImage(ILuint Source, ILint XCoord, ILint YCoord, ILint ZCoord);
--ILAPI ILvoid ILAPIENTRY ilPopAttrib(ILvoid);
-+ILAPI ILvoid ILAPIENTRY ilPopAttrib(void);
- ILAPI ILvoid ILAPIENTRY ilPushAttrib(ILuint Bits);
- ILAPI ILvoid ILAPIENTRY ilRegisterFormat(ILenum Format);
- ILAPI ILboolean ILAPIENTRY ilRegisterLoad(const ILstring Ext, IL_LOADPROC Load);
-@@ -501,9 +501,9 @@
- ILAPI ILvoid ILAPIENTRY ilRegisterType(ILenum Type);
- ILAPI ILboolean ILAPIENTRY ilRemoveLoad(const ILstring Ext);
- ILAPI ILboolean ILAPIENTRY ilRemoveSave(const ILstring Ext);
--ILAPI ILvoid ILAPIENTRY ilResetMemory(ILvoid);
--ILAPI ILvoid ILAPIENTRY ilResetRead(ILvoid);
--ILAPI ILvoid ILAPIENTRY ilResetWrite(ILvoid);
-+ILAPI ILvoid ILAPIENTRY ilResetMemory(void);
-+ILAPI ILvoid ILAPIENTRY ilResetRead(void);
-+ILAPI ILvoid ILAPIENTRY ilResetWrite(void);
- ILAPI ILboolean ILAPIENTRY ilSave(ILenum Type, ILstring FileName);
- ILAPI ILuint ILAPIENTRY ilSaveF(ILenum Type, ILHANDLE File);
- ILAPI ILboolean ILAPIENTRY ilSaveImage(const ILstring FileName);
-@@ -518,7 +518,7 @@
- ILAPI ILvoid ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc);
- ILAPI ILvoid ILAPIENTRY ilSetString(ILenum Mode, const char *String);
- ILAPI ILvoid ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc);
--ILAPI ILvoid ILAPIENTRY ilShutDown(ILvoid);
-+ILAPI ILvoid ILAPIENTRY ilShutDown(void);
- ILAPI ILboolean ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte numChannels, ILenum Format, ILenum Type, ILvoid *Data);
- ILAPI ILenum ILAPIENTRY ilTypeFromExt(const ILstring FileName);
- ILAPI ILboolean ILAPIENTRY ilTypeFunc(ILenum Mode);
-diff -ru DevIL-1.6.8.orig/include/IL/il_wrap.h DevIL-1.6.8/include/IL/il_wrap.h
---- DevIL-1.6.8.orig/include/IL/il_wrap.h 2006-07-02 05:04:36.000000000 -0500
-+++ DevIL-1.6.8/include/IL/il_wrap.h 2008-04-23 00:35:20.000000000 -0500
-@@ -29,44 +29,44 @@
- ILboolean ActiveImage(ILuint);
- ILboolean ActiveLayer(ILuint);
- ILboolean ActiveMipmap(ILuint);
-- ILboolean Clear(ILvoid);
-+ ILboolean Clear(void);
- ILvoid ClearColour(ILclampf, ILclampf, ILclampf, ILclampf);
- ILboolean Convert(ILenum);
- ILboolean Copy(ILuint);
-- ILboolean Default(ILvoid);
-- ILboolean Flip(ILvoid);
-- ILboolean SwapColours(ILvoid);
-+ ILboolean Default(void);
-+ ILboolean Flip(void);
-+ ILboolean SwapColours(void);
- ILboolean Resize(ILuint, ILuint, ILuint);
- ILboolean TexImage(ILuint, ILuint, ILuint, ILubyte, ILenum, ILenum, ILvoid*);
-
-
- // Image handling
-- ILvoid Bind(ILvoid) const;
-+ ILvoid Bind(void) const;
- ILvoid Bind(ILuint);
-- ILvoid Close(ILvoid) { this->Delete(); }
-- ILvoid Delete(ILvoid);
-+ ILvoid Close(void) { this->Delete(); }
-+ ILvoid Delete(void);
- ILvoid iGenBind();
- ILenum PaletteAlphaIndex();
-
- // Image characteristics
-- ILuint Width(ILvoid);
-- ILuint Height(ILvoid);
-- ILuint Depth(ILvoid);
-- ILubyte Bpp(ILvoid);
-- ILubyte Bitpp(ILvoid);
-- ILenum PaletteType(ILvoid);
-- ILenum Format(ILvoid);
-- ILenum Type(ILvoid);
-- ILuint NumImages(ILvoid);
-- ILuint NumMipmaps(ILvoid);
-- ILuint GetId(ILvoid) const;
-- ILenum GetOrigin(ILvoid);
-- ILubyte *GetData(ILvoid);
-- ILubyte *GetPalette(ILvoid);
-+ ILuint Width(void);
-+ ILuint Height(void);
-+ ILuint Depth(void);
-+ ILubyte Bpp(void);
-+ ILubyte Bitpp(void);
-+ ILenum PaletteType(void);
-+ ILenum Format(void);
-+ ILenum Type(void);
-+ ILuint NumImages(void);
-+ ILuint NumMipmaps(void);
-+ ILuint GetId(void) const;
-+ ILenum GetOrigin(void);
-+ ILubyte *GetData(void);
-+ ILubyte *GetPalette(void);
-
-
- // Rendering
-- ILuint BindImage(ILvoid);
-+ ILuint BindImage(void);
- ILuint BindImage(ILenum);
-
-
-@@ -111,12 +111,12 @@
- class ilOgl
- {
- public:
-- static ILvoid Init(ILvoid);
-+ static ILvoid Init(void);
- static GLuint BindTex(ilImage &);
- static ILboolean Upload(ilImage &, ILuint);
- static GLuint Mipmap(ilImage &);
-- static ILboolean Screen(ILvoid);
-- static ILboolean Screenie(ILvoid);
-+ static ILboolean Screen(void);
-+ static ILboolean Screenie(void);
- };
- #endif//ILUT_USE_OPENGL
-
-@@ -125,7 +125,7 @@
- class ilAlleg
- {
- public:
-- static ILvoid Init(ILvoid);
-+ static ILvoid Init(void);
- static BITMAP *Convert(ilImage &);
- };
- #endif//ILUT_USE_ALLEGRO
-@@ -135,7 +135,7 @@
- class ilWin32
- {
- public:
-- static ILvoid Init(ILvoid);
-+ static ILvoid Init(void);
- static HBITMAP Convert(ilImage &);
- static ILboolean GetClipboard(ilImage &);
- static ILvoid GetInfo(ilImage &, BITMAPINFO *Info);
-@@ -175,7 +175,7 @@
- static ILboolean IsDisabled(ILenum);
- static ILboolean IsEnabled(ILenum);
- static ILboolean Origin(ILenum);
-- static ILvoid Pop(ILvoid);
-+ static ILvoid Pop(void);
- static ILvoid Push(ILuint);
-
-
-@@ -191,8 +191,8 @@
- public:
- static ILvoid Check(ILvoid (*Callback)(const char*));
- static ILvoid Check(ILvoid (*Callback)(ILenum));
-- static ILenum Get(ILvoid);
-- static const char *String(ILvoid);
-+ static ILenum Get(void);
-+ static const char *String(void);
- static const char *String(ILenum);
-
- protected:
-diff -ru DevIL-1.6.8.orig/include/IL/ilu.h DevIL-1.6.8/include/IL/ilu.h
---- DevIL-1.6.8.orig/include/IL/ilu.h 2006-08-16 04:18:21.000000000 -0500
-+++ DevIL-1.6.8/include/IL/ilu.h 2008-04-23 00:35:20.000000000 -0500
-@@ -122,37 +122,37 @@
-
-
- // ImageLib Utility Functions
--ILAPI ILboolean ILAPIENTRY iluAlienify(ILvoid);
-+ILAPI ILboolean ILAPIENTRY iluAlienify(void);
- ILAPI ILboolean ILAPIENTRY iluBlurAvg(ILuint Iter);
- ILAPI ILboolean ILAPIENTRY iluBlurGaussian(ILuint Iter);
--ILAPI ILboolean ILAPIENTRY iluBuildMipmaps(ILvoid);
--ILAPI ILuint ILAPIENTRY iluColoursUsed(ILvoid);
-+ILAPI ILboolean ILAPIENTRY iluBuildMipmaps(void);
-+ILAPI ILuint ILAPIENTRY iluColoursUsed(void);
- ILAPI ILboolean ILAPIENTRY iluCompareImage(ILuint Comp);
- ILAPI ILboolean ILAPIENTRY iluContrast(ILfloat Contrast);
- ILAPI ILboolean ILAPIENTRY iluCrop(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth);
- ILAPI ILvoid ILAPIENTRY iluDeleteImage(ILuint Id);
--ILAPI ILboolean ILAPIENTRY iluEdgeDetectE(ILvoid);
--ILAPI ILboolean ILAPIENTRY iluEdgeDetectP(ILvoid);
--ILAPI ILboolean ILAPIENTRY iluEdgeDetectS(ILvoid);
--ILAPI ILboolean ILAPIENTRY iluEmboss(ILvoid);
-+ILAPI ILboolean ILAPIENTRY iluEdgeDetectE(void);
-+ILAPI ILboolean ILAPIENTRY iluEdgeDetectP(void);
-+ILAPI ILboolean ILAPIENTRY iluEdgeDetectS(void);
-+ILAPI ILboolean ILAPIENTRY iluEmboss(void);
- ILAPI ILboolean ILAPIENTRY iluEnlargeCanvas(ILuint Width, ILuint Height, ILuint Depth);
- ILAPI ILboolean ILAPIENTRY iluEnlargeImage(ILfloat XDim, ILfloat YDim, ILfloat ZDim);
--ILAPI ILboolean ILAPIENTRY iluEqualize(ILvoid);
-+ILAPI ILboolean ILAPIENTRY iluEqualize(void);
- ILAPI ILstring ILAPIENTRY iluErrorString(ILenum Error);
- ILAPI ILboolean ILAPIENTRY iluConvolution(ILint *matrix, ILint scale, ILint bias);
--ILAPI ILboolean ILAPIENTRY iluFlipImage(ILvoid);
-+ILAPI ILboolean ILAPIENTRY iluFlipImage(void);
- ILAPI ILboolean ILAPIENTRY iluGammaCorrect(ILfloat Gamma);
--ILAPI ILuint ILAPIENTRY iluGenImage(ILvoid);
-+ILAPI ILuint ILAPIENTRY iluGenImage(void);
- ILAPI ILvoid ILAPIENTRY iluGetImageInfo(ILinfo *Info);
- ILAPI ILint ILAPIENTRY iluGetInteger(ILenum Mode);
- ILAPI ILvoid ILAPIENTRY iluGetIntegerv(ILenum Mode, ILint *Param);
- ILAPI ILstring ILAPIENTRY iluGetString(ILenum StringName);
- ILAPI ILvoid ILAPIENTRY iluImageParameter(ILenum PName, ILenum Param);
--ILAPI ILvoid ILAPIENTRY iluInit(ILvoid);
--ILAPI ILboolean ILAPIENTRY iluInvertAlpha(ILvoid);
-+ILAPI ILvoid ILAPIENTRY iluInit(void);
-+ILAPI ILboolean ILAPIENTRY iluInvertAlpha(void);
- ILAPI ILuint ILAPIENTRY iluLoadImage(const ILstring FileName);
--ILAPI ILboolean ILAPIENTRY iluMirror(ILvoid);
--ILAPI ILboolean ILAPIENTRY iluNegative(ILvoid);
-+ILAPI ILboolean ILAPIENTRY iluMirror(void);
-+ILAPI ILboolean ILAPIENTRY iluNegative(void);
- ILAPI ILboolean ILAPIENTRY iluNoisify(ILclampf Tolerance);
- ILAPI ILboolean ILAPIENTRY iluPixelize(ILuint PixSize);
- ILAPI ILvoid ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n);
-@@ -166,7 +166,7 @@
- ILAPI ILboolean ILAPIENTRY iluScaleAlpha(ILfloat scale);
- ILAPI ILboolean ILAPIENTRY iluScaleColours(ILfloat r, ILfloat g, ILfloat b);
- ILAPI ILboolean ILAPIENTRY iluSharpen(ILfloat Factor, ILuint Iter);
--ILAPI ILboolean ILAPIENTRY iluSwapColours(ILvoid);
-+ILAPI ILboolean ILAPIENTRY iluSwapColours(void);
- ILAPI ILboolean ILAPIENTRY iluWave(ILfloat Angle);
-
- #define iluColorsUsed iluColoursUsed
-diff -ru DevIL-1.6.8.orig/include/IL/ilut.h DevIL-1.6.8/include/IL/ilut.h
---- DevIL-1.6.8.orig/include/IL/ilut.h 2006-07-04 09:43:23.000000000 -0500
-+++ DevIL-1.6.8/include/IL/ilut.h 2008-04-23 00:35:42.000000000 -0500
-@@ -198,10 +198,10 @@
- ILAPI ILint ILAPIENTRY ilutGetInteger(ILenum Mode);
- ILAPI ILvoid ILAPIENTRY ilutGetIntegerv(ILenum Mode, ILint *Param);
- ILAPI ILstring ILAPIENTRY ilutGetString(ILenum StringName);
--ILAPI ILvoid ILAPIENTRY ilutInit(ILvoid);
-+ILAPI ILvoid ILAPIENTRY ilutInit(void);
- ILAPI ILboolean ILAPIENTRY ilutIsDisabled(ILenum Mode);
- ILAPI ILboolean ILAPIENTRY ilutIsEnabled(ILenum Mode);
--ILAPI ILvoid ILAPIENTRY ilutPopAttrib(ILvoid);
-+ILAPI ILvoid ILAPIENTRY ilutPopAttrib(void);
- ILAPI ILvoid ILAPIENTRY ilutPushAttrib(ILuint Bits);
- ILAPI ILvoid ILAPIENTRY ilutSetInteger(ILenum Mode, ILint Param);
-
-@@ -211,11 +211,11 @@
- // ImageLib Utility Toolkit's OpenGL Functions
- #ifdef ILUT_USE_OPENGL
- ILAPI GLuint ILAPIENTRY ilutGLBindTexImage();
-- ILAPI GLuint ILAPIENTRY ilutGLBindMipmaps(ILvoid);
-- ILAPI ILboolean ILAPIENTRY ilutGLBuildMipmaps(ILvoid);
-+ ILAPI GLuint ILAPIENTRY ilutGLBindMipmaps(void);
-+ ILAPI ILboolean ILAPIENTRY ilutGLBuildMipmaps(void);
- ILAPI GLuint ILAPIENTRY ilutGLLoadImage(ILstring FileName);
-- ILAPI ILboolean ILAPIENTRY ilutGLScreen(ILvoid);
-- ILAPI ILboolean ILAPIENTRY ilutGLScreenie(ILvoid);
-+ ILAPI ILboolean ILAPIENTRY ilutGLScreen(void);
-+ ILAPI ILboolean ILAPIENTRY ilutGLScreenie(void);
- ILAPI ILboolean ILAPIENTRY ilutGLSaveImage(ILstring FileName, GLuint TexID);
- ILAPI ILboolean ILAPIENTRY ilutGLSetTex(GLuint TexID);
- ILAPI ILboolean ILAPIENTRY ilutGLTexImage(GLuint Level);
-@@ -234,7 +234,7 @@
- extern "C" {
- #endif
-
-- ILAPI BITMAP* ILAPIENTRY ilutAllegLoadImage(Lstring FileName);
-+ ILAPI BITMAP* ILAPIENTRY ilutAllegLoadImage(ILstring FileName);
- ILAPI BITMAP* ILAPIENTRY ilutConvertToAlleg(PALETTE Pal);
- #endif//ILUT_USE_ALLEGRO
-
-@@ -249,7 +249,7 @@
-
- // ImageLib Utility Toolkit's BeOS Functions
- #ifdef ILUT_USE_BEOS
-- ILAPI BBitmap ILAPIENTRY ilutConvertToBBitmap(ILvoid);
-+ ILAPI BBitmap ILAPIENTRY ilutConvertToBBitmap(void);
- #endif//ILUT_USE_BEOS
-
-
-@@ -259,13 +259,13 @@
- ILAPI HBITMAP ILAPIENTRY ilutConvertSliceToHBitmap(HDC hDC, ILuint slice);
- ILAPI ILvoid ILAPIENTRY ilutFreePaddedData(ILubyte *Data);
- ILAPI ILvoid ILAPIENTRY ilutGetBmpInfo(BITMAPINFO *Info);
-- ILAPI HPALETTE ILAPIENTRY ilutGetHPal(ILvoid);
-- ILAPI ILubyte* ILAPIENTRY ilutGetPaddedData(ILvoid);
-- ILAPI ILboolean ILAPIENTRY ilutGetWinClipboard(ILvoid);
-+ ILAPI HPALETTE ILAPIENTRY ilutGetHPal(void);
-+ ILAPI ILubyte* ILAPIENTRY ilutGetPaddedData(void);
-+ ILAPI ILboolean ILAPIENTRY ilutGetWinClipboard(void);
- ILAPI ILboolean ILAPIENTRY ilutLoadResource(HINSTANCE hInst, ILint ID, ILstring ResourceType, ILenum Type);
- ILAPI ILboolean ILAPIENTRY ilutSetHBitmap(HBITMAP Bitmap);
- ILAPI ILboolean ILAPIENTRY ilutSetHPal(HPALETTE Pal);
-- ILAPI ILboolean ILAPIENTRY ilutSetWinClipboard(ILvoid);
-+ ILAPI ILboolean ILAPIENTRY ilutSetWinClipboard(void);
- ILAPI HBITMAP ILAPIENTRY ilutWinLoadImage(ILstring FileName, HDC hDC);
- ILAPI ILboolean ILAPIENTRY ilutWinLoadUrl(ILstring Url);
- ILAPI ILboolean ILAPIENTRY ilutWinPrint(ILuint XPos, ILuint YPos, ILuint Width, ILuint Height, HDC hDC);
-diff -ru DevIL-1.6.8.orig/projects/msvc/gdi+/DevIL-GDI+.cpp DevIL-1.6.8/projects/msvc/gdi+/DevIL-GDI+.cpp
---- DevIL-1.6.8.orig/projects/msvc/gdi+/DevIL-GDI+.cpp 2006-09-01 13:21:35.000000000 -0500
-+++ DevIL-1.6.8/projects/msvc/gdi+/DevIL-GDI+.cpp 2008-04-23 00:35:18.000000000 -0500
-@@ -56,9 +56,9 @@
-
- ILAPI ILimage* ILAPIENTRY iConvertImage(ILenum DestFormat, ILenum DestType);
- ILAPI ILubyte* ILAPIENTRY iGetPaddedData(ILimage *Image);
--ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
-+ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
- ILAPI ILvoid ILAPIENTRY ilCloseImage(ILimage *Image);
--ILAPI ILvoid ILAPIENTRY iBindImageTemp(ILvoid);
-+ILAPI ILvoid ILAPIENTRY iBindImageTemp(void);
-
-
- // @TODO: Use 48-bit and 64-bit types.
-diff -ru DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.cpp DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.cpp
---- DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.cpp 2006-09-01 13:21:35.000000000 -0500
-+++ DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.cpp 2008-04-23 00:35:18.000000000 -0500
-@@ -56,9 +56,9 @@
-
- ILAPI ILimage* ILAPIENTRY iConvertImage(ILenum DestFormat, ILenum DestType);
- ILAPI ILubyte* ILAPIENTRY iGetPaddedData(ILimage *Image);
--ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
-+ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
- ILAPI ILvoid ILAPIENTRY ilCloseImage(ILimage *Image);
--ILAPI ILvoid ILAPIENTRY iBindImageTemp(ILvoid);
-+ILAPI ILvoid ILAPIENTRY iBindImageTemp(void);
-
-
- CBitmap *ilutConvertToCBitmap()
-diff -ru DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.h DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.h
---- DevIL-1.6.8.orig/projects/msvc/mfc/DevIL-MFC.h 2006-09-01 13:21:35.000000000 -0500
-+++ DevIL-1.6.8/projects/msvc/mfc/DevIL-MFC.h 2008-04-23 00:35:18.000000000 -0500
-@@ -23,9 +23,9 @@
- struct ILimage;
- ILAPI ILimage* ILAPIENTRY iConvertImage(ILenum DestFormat, ILenum DestType);
- ILAPI ILubyte* ILAPIENTRY iGetPaddedData(ILimage *Image);
--ILAPI ILimage* ILAPIENTRY ilGetCurImage(ILvoid);
-+ILAPI ILimage* ILAPIENTRY ilGetCurImage(void);
- ILAPI ILvoid ILAPIENTRY ilCloseImage(ILimage *Image);
--ILAPI ILvoid ILAPIENTRY iBindImageTemp(ILvoid);
-+ILAPI ILvoid ILAPIENTRY iBindImageTemp(void);
-
- // Functions for the static library.
- CBitmap *ilutConvertToCBitmap();
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_bmp.h DevIL-1.6.8/src-IL/include/il_bmp.h
---- DevIL-1.6.8.orig/src-IL/include/il_bmp.h 2006-09-01 12:41:19.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_bmp.h 2008-04-23 00:35:20.000000000 -0500
-@@ -61,11 +61,11 @@
- // Internal functions
- ILboolean iGetBmpHead(BMPHEAD *Header);
- ILboolean iGetOS2Head(OS2_HEAD *Header);
--ILboolean iIsValidBmp(ILvoid);
-+ILboolean iIsValidBmp(void);
- ILboolean iCheckBmp(BMPHEAD *Header);
- ILboolean iCheckOS2(OS2_HEAD *Header);
--ILboolean iLoadBitmapInternal(ILvoid);
--ILboolean iSaveBitmapInternal(ILvoid);
-+ILboolean iLoadBitmapInternal(void);
-+ILboolean iSaveBitmapInternal(void);
- ILboolean ilReadUncompBmp(BMPHEAD *Info);
- ILboolean ilReadRLE8Bmp(BMPHEAD *Info);
- ILboolean ilReadRLE4Bmp(BMPHEAD *Info);
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_dcx.h DevIL-1.6.8/src-IL/include/il_dcx.h
---- DevIL-1.6.8.orig/src-IL/include/il_dcx.h 2002-06-13 01:51:36.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_dcx.h 2008-04-23 00:35:20.000000000 -0500
-@@ -43,9 +43,9 @@
- #endif
-
- // For checking and reading
--ILboolean iIsValidDcx(ILvoid);
-+ILboolean iIsValidDcx(void);
- ILboolean iCheckDcx(DCXHEAD *Header);
--ILboolean iLoadDcxInternal(ILvoid);
-+ILboolean iLoadDcxInternal(void);
- ILimage* iUncompressDcx(DCXHEAD *Header);
- ILimage* iUncompressDcxSmall(DCXHEAD *Header);
-
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_files.h DevIL-1.6.8/src-IL/include/il_files.h
---- DevIL-1.6.8.orig/src-IL/include/il_files.h 2006-07-02 05:04:41.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_files.h 2008-04-23 00:35:20.000000000 -0500
-@@ -21,8 +21,8 @@
- #include <IL/il.h>
-
-
--__FILES_EXTERN ILvoid ILAPIENTRY iPreserveReadFuncs(ILvoid);
--__FILES_EXTERN ILvoid ILAPIENTRY iRestoreReadFuncs(ILvoid);
-+__FILES_EXTERN ILvoid ILAPIENTRY iPreserveReadFuncs(void);
-+__FILES_EXTERN ILvoid ILAPIENTRY iRestoreReadFuncs(void);
-
- __FILES_EXTERN fEofProc EofProc;
- __FILES_EXTERN fGetcProc GetcProc;
-@@ -47,13 +47,13 @@
-
- __FILES_EXTERN ILvoid iSetInputFile(ILHANDLE File);
- __FILES_EXTERN ILvoid iSetInputLump(const ILvoid *Lump, ILuint Size);
--__FILES_EXTERN ILboolean (ILAPIENTRY *ieof)(ILvoid);
-+__FILES_EXTERN ILboolean (ILAPIENTRY *ieof)(void);
- __FILES_EXTERN ILHANDLE (ILAPIENTRY *iopenr)(const ILstring);
- __FILES_EXTERN ILvoid (ILAPIENTRY *icloser)(ILHANDLE);
--__FILES_EXTERN ILint (ILAPIENTRY *igetc)(ILvoid);
-+__FILES_EXTERN ILint (ILAPIENTRY *igetc)(void);
- __FILES_EXTERN ILuint (ILAPIENTRY *iread)(ILvoid *Buffer, ILuint Size, ILuint Number);
- __FILES_EXTERN ILuint (ILAPIENTRY *iseek)(ILint Offset, ILuint Mode);
--__FILES_EXTERN ILuint (ILAPIENTRY *itell)(ILvoid);
-+__FILES_EXTERN ILuint (ILAPIENTRY *itell)(void);
-
- __FILES_EXTERN ILvoid iSetOutputFile(ILHANDLE File);
- __FILES_EXTERN ILvoid iSetOutputLump(ILvoid *Lump, ILuint Size);
-@@ -61,16 +61,16 @@
- __FILES_EXTERN ILHANDLE (ILAPIENTRY *iopenw)(const ILstring);
- __FILES_EXTERN ILint (ILAPIENTRY *iputc)(ILubyte Char);
- __FILES_EXTERN ILuint (ILAPIENTRY *iseekw)(ILint Offset, ILuint Mode);
--__FILES_EXTERN ILuint (ILAPIENTRY *itellw)(ILvoid);
-+__FILES_EXTERN ILuint (ILAPIENTRY *itellw)(void);
- __FILES_EXTERN ILint (ILAPIENTRY *iwrite)(const ILvoid *Buffer, ILuint Size, ILuint Number);
-
--__FILES_EXTERN ILHANDLE ILAPIENTRY iGetFile(ILvoid);
--__FILES_EXTERN const ILubyte* ILAPIENTRY iGetLump(ILvoid);
-+__FILES_EXTERN ILHANDLE ILAPIENTRY iGetFile(void);
-+__FILES_EXTERN const ILubyte* ILAPIENTRY iGetLump(void);
-
- __FILES_EXTERN ILuint ILAPIENTRY ilprintf(const char *, ...);
- __FILES_EXTERN ILvoid ipad(ILuint NumZeros);
-
- __FILES_EXTERN ILboolean iPreCache(ILuint Size);
--__FILES_EXTERN ILvoid iUnCache(ILvoid);
-+__FILES_EXTERN ILvoid iUnCache(void);
-
- #endif//FILES_H
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_gif.h DevIL-1.6.8/src-IL/include/il_gif.h
---- DevIL-1.6.8.orig/src-IL/include/il_gif.h 2004-06-13 05:09:37.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_gif.h 2008-04-23 00:35:20.000000000 -0500
-@@ -57,9 +57,9 @@
- #endif
-
- // Internal functions
--ILboolean iLoadGifInternal(ILvoid);
-+ILboolean iLoadGifInternal(void);
- ILboolean ilLoadGifF(ILHANDLE File);
--ILboolean iIsValidGif(ILvoid);
-+ILboolean iIsValidGif(void);
- ILboolean iGetPalette(ILubyte Info, ILpal *Pal);
- ILboolean GetImages(ILpal *GlobalPal, GIFHEAD *GifHead);
- ILboolean SkipExtensions(GFXCONTROL *Gfx);
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_internal.h DevIL-1.6.8/src-IL/include/il_internal.h
---- DevIL-1.6.8.orig/src-IL/include/il_internal.h 2006-07-02 05:04:40.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_internal.h 2008-04-23 00:35:20.000000000 -0500
-@@ -137,10 +137,10 @@
- char* ilStrDup(const char *Str);
- ILuint ilStrLen(const char *Str);
- // Miscellaneous functions
--ILvoid ilDefaultStates(ILvoid);
-+ILvoid ilDefaultStates(void);
- ILenum iGetHint(ILenum Target);
- ILint iGetInt(ILenum Mode);
--ILvoid ilRemoveRegistered(ILvoid);
-+ILvoid ilRemoveRegistered(void);
- ILAPI ILvoid ILAPIENTRY ilSetCurImage(ILimage *Image);
- //
- // Rle compression
-@@ -151,14 +151,14 @@
- #define IL_BMPCOMP 0x04
- ILboolean ilRleCompressLine(ILubyte *ScanLine, ILuint Width, ILubyte Bpp, ILubyte *Dest, ILuint *DestWidth, ILenum CompressMode);
- ILuint ilRleCompress(ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILubyte *Dest, ILenum CompressMode, ILuint *ScanTable);
--ILvoid iSetImage0(ILvoid);
-+ILvoid iSetImage0(void);
- // Conversion functions
--ILboolean ilAddAlpha(ILvoid);
-+ILboolean ilAddAlpha(void);
- ILboolean ilAddAlphaKey(ILimage *Image);
- ILboolean iFastConvert(ILenum DestFormat);
--ILboolean ilFixImage(ILvoid);
--ILboolean ilRemoveAlpha(ILvoid);
--ILboolean ilSwapColours(ILvoid);
-+ILboolean ilFixImage(void);
-+ILboolean ilRemoveAlpha(void);
-+ILboolean ilSwapColours(void);
- // Miscellaneous functions
- char *iGetString(ILenum StringName); // Internal version of ilGetString
- // Library usage
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_jpeg.h DevIL-1.6.8/src-IL/include/il_jpeg.h
---- DevIL-1.6.8.orig/src-IL/include/il_jpeg.h 2002-06-13 01:51:36.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_jpeg.h 2008-04-23 00:35:20.000000000 -0500
-@@ -16,11 +16,11 @@
- #include "il_internal.h"
-
- ILboolean iCheckJpg(ILubyte Header[2]);
--ILboolean iIsValidJpg(ILvoid);
-+ILboolean iIsValidJpg(void);
-
- #ifndef IL_USE_IJL
-- ILboolean iLoadJpegInternal(ILvoid);
-- ILboolean iSaveJpegInternal(ILvoid);
-+ ILboolean iLoadJpegInternal(void);
-+ ILboolean iSaveJpegInternal(void);
- #else
- ILboolean iLoadJpegInternal(const ILstring FileName, ILvoid *Lump, ILuint Size);
- ILboolean iSaveJpegInternal(const ILstring FileName, ILvoid *Lump, ILuint Size);
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_lif.h DevIL-1.6.8/src-IL/include/il_lif.h
---- DevIL-1.6.8.orig/src-IL/include/il_lif.h 2002-06-13 01:51:36.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_lif.h 2008-04-23 00:35:20.000000000 -0500
-@@ -30,8 +30,8 @@
- ILuint TeamEffect1; // Team effect offset 1
- } LIF_HEAD;
-
--ILboolean iIsValidLif(ILvoid);
-+ILboolean iIsValidLif(void);
- ILboolean iCheckLif(LIF_HEAD *Header);
--ILboolean iLoadLifInternal(ILvoid);
-+ILboolean iLoadLifInternal(void);
-
- #endif//LIF_H
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_manip.h DevIL-1.6.8/src-IL/include/il_manip.h
---- DevIL-1.6.8.orig/src-IL/include/il_manip.h 2002-06-21 01:57:33.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_manip.h 2008-04-23 00:35:20.000000000 -0500
-@@ -13,7 +13,7 @@
- #ifndef MANIP_H
- #define MANIP_H
-
--ILboolean ilFlipImage(ILvoid);
--ILboolean ilMirrorImage(ILvoid); //@JASON New routine created 03/28/2001
-+ILboolean ilFlipImage(void);
-+ILboolean ilMirrorImage(void); //@JASON New routine created 03/28/2001
-
- #endif//MANIP_H
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_pcx.h DevIL-1.6.8/src-IL/include/il_pcx.h
---- DevIL-1.6.8.orig/src-IL/include/il_pcx.h 2002-06-13 01:51:36.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_pcx.h 2008-04-23 00:35:20.000000000 -0500
-@@ -43,10 +43,10 @@
- #endif
-
- // For checking and reading
--ILboolean iIsValidPcx(ILvoid);
-+ILboolean iIsValidPcx(void);
- ILboolean iCheckPcx(PCXHEAD *Header);
--ILboolean iLoadPcxInternal(ILvoid);
--ILboolean iSavePcxInternal(ILvoid);
-+ILboolean iLoadPcxInternal(void);
-+ILboolean iSavePcxInternal(void);
- ILboolean iUncompressPcx(PCXHEAD *Header);
- ILboolean iUncompressSmall(PCXHEAD *Header);
-
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_pic.h DevIL-1.6.8/src-IL/include/il_pic.h
---- DevIL-1.6.8.orig/src-IL/include/il_pic.h 2002-05-21 21:56:08.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_pic.h 2008-04-23 00:35:20.000000000 -0500
-@@ -65,9 +65,9 @@
- #define PIC_AUXILIARY_1_CHANNEL 0x02 // XXX: Not implemented
- #define PIC_AUXILIARY_2_CHANNEL 0x01 // XXX: Not implemented
-
--ILboolean iIsValidPic(ILvoid);
-+ILboolean iIsValidPic(void);
- ILboolean iCheckPic(PIC_HEAD *Header);
--ILboolean iLoadPicInternal(ILvoid);
-+ILboolean iLoadPicInternal(void);
- ILboolean readScanlines(ILuint *image, ILint width, ILint height, CHANNEL *channel, ILuint alpha);
- ILuint readScanline(ILubyte *scan, ILint width, CHANNEL *channel, ILint bytes);
- ILboolean channelReadRaw(ILubyte *scan, ILint width, ILint noCol, ILint *off, ILint bytes);
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_pnm.h DevIL-1.6.8/src-IL/include/il_pnm.h
---- DevIL-1.6.8.orig/src-IL/include/il_pnm.h 2002-06-13 01:51:36.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_pnm.h 2008-04-23 00:35:20.000000000 -0500
-@@ -38,14 +38,14 @@
- ILubyte Bpp;
- } PPMINFO;
-
--ILboolean iIsValidPnm(ILvoid);
-+ILboolean iIsValidPnm(void);
- ILboolean iCheckPnm(char Header[2]);
--ILboolean iLoadPnmInternal(ILvoid);
--ILboolean iSavePnmInternal(ILvoid);
-+ILboolean iLoadPnmInternal(void);
-+ILboolean iSavePnmInternal(void);
- ILimage *ilReadAsciiPpm(PPMINFO *Info);
- ILimage *ilReadBinaryPpm(PPMINFO *Info);
- ILimage *ilReadBitPbm(PPMINFO *Info);
--ILboolean iGetWord(ILvoid);
-+ILboolean iGetWord(void);
- ILvoid PbmMaximize(ILimage *Image);
-
-
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_psd.h DevIL-1.6.8/src-IL/include/il_psd.h
---- DevIL-1.6.8.orig/src-IL/include/il_psd.h 2002-06-13 01:51:36.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_psd.h 2008-04-23 00:35:20.000000000 -0500
-@@ -37,9 +37,9 @@
-
- ILushort ChannelNum;
-
--ILboolean iIsValidPsd(ILvoid);
-+ILboolean iIsValidPsd(void);
- ILboolean iCheckPsd(PSDHEAD *Header);
--ILboolean iLoadPsdInternal(ILvoid);
-+ILboolean iLoadPsdInternal(void);
- ILboolean ReadPsd(PSDHEAD *Head);
- ILboolean ReadGrey(PSDHEAD *Head);
- ILboolean ReadIndexed(PSDHEAD *Head);
-@@ -49,7 +49,7 @@
- ILboolean PsdGetData(PSDHEAD *Head, ILvoid *Buffer, ILboolean Compressed);
- ILboolean ParseResources(ILuint ResourceSize, ILubyte *Resources);
- ILboolean GetSingleChannel(PSDHEAD *Head, ILubyte *Buffer, ILboolean Compressed);
--ILboolean iSavePsdInternal(ILvoid);
-+ILboolean iSavePsdInternal(void);
-
-
-
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_psp.h DevIL-1.6.8/src-IL/include/il_psp.h
---- DevIL-1.6.8.orig/src-IL/include/il_psp.h 2002-06-13 01:51:36.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_psp.h 2008-04-23 00:35:20.000000000 -0500
-@@ -232,18 +232,18 @@
-
-
- // Function definitions
--ILboolean iLoadPspInternal(ILvoid);
--ILboolean iCheckPsp(ILvoid);
--ILboolean iIsValidPsp(ILvoid);
--ILboolean ReadGenAttributes(ILvoid);
--ILboolean ParseChunks(ILvoid);
-+ILboolean iLoadPspInternal(void);
-+ILboolean iCheckPsp(void);
-+ILboolean iIsValidPsp(void);
-+ILboolean ReadGenAttributes(void);
-+ILboolean ParseChunks(void);
- ILboolean ReadLayerBlock(ILuint BlockLen);
- ILboolean ReadAlphaBlock(ILuint BlockLen);
--ILubyte *GetChannel(ILvoid);
-+ILubyte *GetChannel(void);
- ILboolean UncompRLE(ILubyte *CompData, ILubyte *Data, ILuint CompLen);
- ILboolean ReadPalette(ILuint BlockLen);
--ILboolean AssembleImage(ILvoid);
--ILboolean Cleanup(ILvoid);
-+ILboolean AssembleImage(void);
-+ILboolean Cleanup(void);
-
-
-
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_sgi.h DevIL-1.6.8/src-IL/include/il_sgi.h
---- DevIL-1.6.8.orig/src-IL/include/il_sgi.h 2006-07-15 02:32:48.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_sgi.h 2008-04-23 00:35:20.000000000 -0500
-@@ -50,10 +50,10 @@
-
-
- // Internal functions
--ILboolean iIsValidSgi(ILvoid);
-+ILboolean iIsValidSgi(void);
- ILboolean iCheckSgi(iSgiHeader *Header);
--ILboolean iLoadSgiInternal(ILvoid);
--ILboolean iSaveSgiInternal(ILvoid);
-+ILboolean iLoadSgiInternal(void);
-+ILboolean iSaveSgiInternal(void);
- ILvoid iExpandScanLine(ILubyte *Dest, ILubyte *Src, ILuint Bpc);
- ILint iGetScanLine(ILubyte *ScanLine, iSgiHeader *Head, ILuint Length);
- ILint iGetScanLineFast(ILubyte *ScanLine, iSgiHeader *Head, ILuint Length, ILubyte*);
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_stack.h DevIL-1.6.8/src-IL/include/il_stack.h
---- DevIL-1.6.8.orig/src-IL/include/il_stack.h 2002-07-19 16:10:47.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_stack.h 2008-04-23 00:35:20.000000000 -0500
-@@ -27,8 +27,8 @@
-
-
- // Internal functions
--ILboolean iEnlargeStack(ILvoid);
--ILvoid iFreeMem(ILvoid);
-+ILboolean iEnlargeStack(void);
-+ILvoid iFreeMem(void);
-
- // Globals for il_stack.c
- ILuint StackSize = 0;
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_targa.h DevIL-1.6.8/src-IL/include/il_targa.h
---- DevIL-1.6.8.orig/src-IL/include/il_targa.h 2006-03-03 17:38:09.000000000 -0600
-+++ DevIL-1.6.8/src-IL/include/il_targa.h 2008-04-23 00:35:20.000000000 -0500
-@@ -95,8 +95,8 @@
- ILboolean iIsValidTarga();
- ILboolean iGetTgaHead(TARGAHEAD *Header);
- ILboolean iCheckTarga(TARGAHEAD *Header);
--ILboolean iLoadTargaInternal(ILvoid);
--ILboolean iSaveTargaInternal(ILvoid);
-+ILboolean iLoadTargaInternal(void);
-+ILboolean iSaveTargaInternal(void);
- //ILvoid iMakeString(char *Str);
- ILboolean iReadBwTga(TARGAHEAD *Header);
- ILboolean iReadColMapTga(TARGAHEAD *Header);
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_doom.c DevIL-1.6.8/src-IL/src/il_doom.c
---- DevIL-1.6.8.orig/src-IL/src/il_doom.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_doom.c 2008-04-23 00:35:19.000000000 -0500
-@@ -18,8 +18,8 @@
- #include "il_doompal.h"
-
-
--ILboolean iLoadDoomInternal(ILvoid);
--ILboolean iLoadDoomFlatInternal(ILvoid);
-+ILboolean iLoadDoomInternal(void);
-+ILboolean iLoadDoomFlatInternal(void);
-
-
- //
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_error.c DevIL-1.6.8/src-IL/src/il_error.c
---- DevIL-1.6.8.orig/src-IL/src/il_error.c 2002-06-13 01:51:37.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_error.c 2008-04-23 00:35:19.000000000 -0500
-@@ -41,7 +41,7 @@
-
-
- //! Gets the last error on the error stack
--ILenum ILAPIENTRY ilGetError(ILvoid)
-+ILenum ILAPIENTRY ilGetError(void)
- {
- ILenum ilReturn;
-
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_files.c DevIL-1.6.8/src-IL/src/il_files.c
---- DevIL-1.6.8.orig/src-IL/src/il_files.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_files.c 2008-04-23 00:35:20.000000000 -0500
-@@ -17,20 +17,20 @@
-
-
- // All specific to the next set of functions
--ILboolean ILAPIENTRY iEofFile(ILvoid);
--ILboolean ILAPIENTRY iEofLump(ILvoid);
--ILint ILAPIENTRY iGetcFile(ILvoid);
--ILint ILAPIENTRY iGetcLump(ILvoid);
-+ILboolean ILAPIENTRY iEofFile(void);
-+ILboolean ILAPIENTRY iEofLump(void);
-+ILint ILAPIENTRY iGetcFile(void);
-+ILint ILAPIENTRY iGetcLump(void);
- ILuint ILAPIENTRY iReadFile(ILvoid *Buffer, ILuint Size, ILuint Number);
- ILuint ILAPIENTRY iReadLump(ILvoid *Buffer, ILuint Size, ILuint Number);
- ILuint ILAPIENTRY iSeekRFile(ILint Offset, ILuint Mode);
- ILuint ILAPIENTRY iSeekRLump(ILint Offset, ILuint Mode);
- ILuint ILAPIENTRY iSeekWFile(ILint Offset, ILuint Mode);
- ILuint ILAPIENTRY iSeekWLump(ILint Offset, ILuint Mode);
--ILuint ILAPIENTRY iTellRFile(ILvoid);
--ILuint ILAPIENTRY iTellRLump(ILvoid);
--ILuint ILAPIENTRY iTellWFile(ILvoid);
--ILuint ILAPIENTRY iTellWLump(ILvoid);
-+ILuint ILAPIENTRY iTellRFile(void);
-+ILuint ILAPIENTRY iTellRLump(void);
-+ILuint ILAPIENTRY iTellWFile(void);
-+ILuint ILAPIENTRY iTellWLump(void);
- ILint ILAPIENTRY iPutcFile(ILubyte Char);
- ILint ILAPIENTRY iPutcLump(ILubyte Char);
- ILint ILAPIENTRY iWriteFile(const ILvoid *Buffer, ILuint Size, ILuint Number);
-@@ -341,13 +341,13 @@
-
- // Next 12 functions are the default write functions
-
--ILboolean ILAPIENTRY iEofFile(ILvoid)
-+ILboolean ILAPIENTRY iEofFile(void)
- {
- return EofProc((FILE*)FileRead);
- }
-
-
--ILboolean ILAPIENTRY iEofLump(ILvoid)
-+ILboolean ILAPIENTRY iEofLump(void)
- {
- if (ReadLumpSize)
- return (ReadLumpPos >= ReadLumpSize);
-@@ -355,7 +355,7 @@
- }
-
-
--ILint ILAPIENTRY iGetcFile(ILvoid)
-+ILint ILAPIENTRY iGetcFile(void)
- {
- if (!UseCache) {
- return GetcProc(FileRead);
-@@ -369,7 +369,7 @@
- }
-
-
--ILint ILAPIENTRY iGetcLump(ILvoid)
-+ILint ILAPIENTRY iGetcLump(void)
- {
- // If ReadLumpSize is 0, don't even check to see if we've gone past the bounds.
- if (ReadLumpSize > 0) {
-@@ -565,25 +565,25 @@
- }
-
-
--ILuint ILAPIENTRY iTellRFile(ILvoid)
-+ILuint ILAPIENTRY iTellRFile(void)
- {
- return TellRProc(FileRead);
- }
-
-
--ILuint ILAPIENTRY iTellRLump(ILvoid)
-+ILuint ILAPIENTRY iTellRLump(void)
- {
- return ReadLumpPos;
- }
-
-
--ILHANDLE ILAPIENTRY iGetFile(ILvoid)
-+ILHANDLE ILAPIENTRY iGetFile(void)
- {
- return FileRead;
- }
-
-
--const ILubyte* ILAPIENTRY iGetLump(ILvoid) {
-+const ILubyte* ILAPIENTRY iGetLump(void) {
- return (ILubyte *)ReadLump;
- }
-
-@@ -683,13 +683,13 @@
- }
-
-
--ILuint ILAPIENTRY iTellWFile(ILvoid)
-+ILuint ILAPIENTRY iTellWFile(void)
- {
- return TellWProc(FileWrite);
- }
-
-
--ILuint ILAPIENTRY iTellWLump(ILvoid)
-+ILuint ILAPIENTRY iTellWLump(void)
- {
- return WriteLumpPos;
- }
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_mdl.c DevIL-1.6.8/src-IL/src/il_mdl.c
---- DevIL-1.6.8.orig/src-IL/src/il_mdl.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_mdl.c 2008-04-23 00:35:20.000000000 -0500
-@@ -16,7 +16,7 @@
- #include "il_mdl.h"
-
-
--ILboolean iLoadMdlInternal(ILvoid);
-+ILboolean iLoadMdlInternal(void);
-
-
- //! Reads a .Mdl file
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_mng.c DevIL-1.6.8/src-IL/src/il_mng.c
---- DevIL-1.6.8.orig/src-IL/src/il_mng.c 2006-07-02 05:04:35.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_mng.c 2008-04-23 00:35:20.000000000 -0500
-@@ -185,7 +185,7 @@
- }
-
-
--ILboolean iLoadMngInternal(ILvoid);
-+ILboolean iLoadMngInternal(void);
-
- // Reads a file
- ILboolean ilLoadMng(const ILstring FileName)
-@@ -267,7 +267,7 @@
- }
-
-
--ILboolean iSaveMngInternal(ILvoid);
-+ILboolean iSaveMngInternal(void);
-
- //! Writes a Mng file
- ILboolean ilSaveMng(const ILstring FileName)
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_pcd.c DevIL-1.6.8/src-IL/src/il_pcd.c
---- DevIL-1.6.8.orig/src-IL/src/il_pcd.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_pcd.c 2008-04-23 00:35:20.000000000 -0500
-@@ -18,7 +18,7 @@
- #include "il_manip.h"
-
-
--ILboolean iLoadPcdInternal(ILvoid);
-+ILboolean iLoadPcdInternal(void);
-
- //! Reads a .pcd file
- ILboolean ilLoadPcd(const ILstring FileName)
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_pic.c DevIL-1.6.8/src-IL/src/il_pic.c
---- DevIL-1.6.8.orig/src-IL/src/il_pic.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_pic.c 2008-04-23 00:35:19.000000000 -0500
-@@ -242,7 +242,7 @@
- ILint i;
- ILuint *scan;
-
-- (ILvoid)alpha;
-+ (void)alpha;
-
- for (i = height - 1; i >= 0; i--) {
- scan = image + i * width;
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_pix.c DevIL-1.6.8/src-IL/src/il_pix.c
---- DevIL-1.6.8.orig/src-IL/src/il_pix.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_pix.c 2008-04-23 00:35:19.000000000 -0500
-@@ -33,7 +33,7 @@
- #endif
-
- ILboolean iCheckPix(PIXHEAD *Header);
--ILboolean iLoadPixInternal(ILvoid);
-+ILboolean iLoadPixInternal(void);
-
-
- // Internal function used to get the Pix header from the current file.
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_png.c DevIL-1.6.8/src-IL/src/il_png.c
---- DevIL-1.6.8.orig/src-IL/src/il_png.c 2006-08-16 04:18:21.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_png.c 2008-04-23 00:35:20.000000000 -0500
-@@ -36,13 +36,13 @@
- #endif
-
-
--ILboolean iIsValidPng(ILvoid);
--ILboolean iLoadPngInternal(ILvoid);
--ILboolean iSavePngInternal(ILvoid);
-+ILboolean iIsValidPng(void);
-+ILboolean iLoadPngInternal(void);
-+ILboolean iSavePngInternal(void);
-
--ILint readpng_init(ILvoid);
-+ILint readpng_init(void);
- ILboolean readpng_get_image(ILdouble display_exponent);
--ILvoid readpng_cleanup(ILvoid);
-+ILvoid readpng_cleanup(void);
-
- png_structp png_ptr = NULL;
- png_infop info_ptr = NULL;
-@@ -178,7 +178,7 @@
-
- static ILvoid png_read(png_structp png_ptr, png_bytep data, png_size_t length)
- {
-- (ILvoid)png_ptr;
-+ (void)png_ptr;
- iread(data, 1, length);
- return;
- }
-@@ -464,7 +464,7 @@
-
- ILvoid png_write(png_structp png_ptr, png_bytep data, png_size_t length)
- {
-- (ILvoid)png_ptr;
-+ (void)png_ptr;
- iwrite(data, 1, length);
- return;
- }
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_pnm.c DevIL-1.6.8/src-IL/src/il_pnm.c
---- DevIL-1.6.8.orig/src-IL/src/il_pnm.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_pnm.c 2008-04-23 00:35:19.000000000 -0500
-@@ -404,7 +404,7 @@
- }
-
-
--ILboolean iGetWord(ILvoid)
-+ILboolean iGetWord(void)
- {
- ILint WordPos = 0;
- ILint Current = 0;
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_pxr.c DevIL-1.6.8/src-IL/src/il_pxr.c
---- DevIL-1.6.8.orig/src-IL/src/il_pxr.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_pxr.c 2008-04-23 00:35:19.000000000 -0500
-@@ -34,7 +34,7 @@
- #pragma pack(pop, pxr_struct)
- #endif
-
--ILboolean iLoadPxrInternal(ILvoid);
-+ILboolean iLoadPxrInternal(void);
-
-
- //! Reads a Pxr file
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_raw.c DevIL-1.6.8/src-IL/src/il_raw.c
---- DevIL-1.6.8.orig/src-IL/src/il_raw.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_raw.c 2008-04-23 00:35:20.000000000 -0500
-@@ -15,8 +15,8 @@
- #ifndef IL_NO_RAW
-
-
--ILboolean iLoadRawInternal(ILvoid);
--ILboolean iSaveRawInternal(ILvoid);
-+ILboolean iLoadRawInternal(void);
-+ILboolean iSaveRawInternal(void);
-
-
- //! Reads a raw file
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_states.c DevIL-1.6.8/src-IL/src/il_states.c
---- DevIL-1.6.8.orig/src-IL/src/il_states.c 2006-07-02 05:04:33.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_states.c 2008-04-23 00:35:19.000000000 -0500
-@@ -308,7 +308,7 @@
- }
-
-
--ILimage *iGetBaseImage(ILvoid);
-+ILimage *iGetBaseImage(void);
-
- ILuint iGetActiveNum(ILenum Type)
- {
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_tiff.c DevIL-1.6.8/src-IL/src/il_tiff.c
---- DevIL-1.6.8.orig/src-IL/src/il_tiff.c 2006-09-01 07:04:22.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_tiff.c 2008-04-23 00:35:19.000000000 -0500
-@@ -36,8 +36,8 @@
- /*----------------------------------------------------------------------------*/
-
- // No need for a separate header
--static ILboolean iLoadTiffInternal(ILvoid);
--static char* iMakeString(ILvoid);
-+static ILboolean iLoadTiffInternal(void);
-+static char* iMakeString(void);
- static TIFF* iTIFFOpen(char *Mode);
- //static ILboolean iSaveTiffInternal();
- static ILboolean iSaveTiffInternal(const char* Filename);
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_wal.c DevIL-1.6.8/src-IL/src/il_wal.c
---- DevIL-1.6.8.orig/src-IL/src/il_wal.c 2006-07-15 02:23:13.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_wal.c 2008-04-23 00:35:19.000000000 -0500
-@@ -29,7 +29,7 @@
- ILuint Value; // ??
- } WALHEAD;
-
--ILboolean iLoadWalInternal(ILvoid);
-+ILboolean iLoadWalInternal(void);
-
-
- //! Reads a .wal file
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_xpm.c DevIL-1.6.8/src-IL/src/il_xpm.c
---- DevIL-1.6.8.orig/src-IL/src/il_xpm.c 2006-07-15 02:23:13.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_xpm.c 2008-04-23 00:35:19.000000000 -0500
-@@ -20,7 +20,7 @@
- //(not much).
- //#define XPM_DONT_USE_HASHTABLE
-
--ILboolean iLoadXpmInternal(ILvoid);
-+ILboolean iLoadXpmInternal(void);
-
-
- // Reads an .xpm file
-diff -ru DevIL-1.6.8.orig/src-ILU/include/ilu_internal.h DevIL-1.6.8/src-ILU/include/ilu_internal.h
---- DevIL-1.6.8.orig/src-ILU/include/ilu_internal.h 2006-07-09 05:10:57.000000000 -0500
-+++ DevIL-1.6.8/src-ILU/include/ilu_internal.h 2008-04-23 00:35:16.000000000 -0500
-@@ -84,7 +84,7 @@
-
-
- ILuint iluScaleAdvanced(ILuint Width, ILuint Height, ILenum Filter);
--ILubyte *iScanFill(ILvoid);
-+ILubyte *iScanFill(void);
-
-
- #endif//INTERNAL_H
-diff -ru DevIL-1.6.8.orig/src-ILU/src/ilu_filter.c DevIL-1.6.8/src-ILU/src/ilu_filter.c
---- DevIL-1.6.8.orig/src-ILU/src/ilu_filter.c 2006-08-16 04:18:21.000000000 -0500
-+++ DevIL-1.6.8/src-ILU/src/ilu_filter.c 2008-04-23 00:35:16.000000000 -0500
-@@ -1106,7 +1106,7 @@
-
-
- //! Funny as hell filter that I stumbled upon accidentally
--ILboolean ILAPIENTRY iluAlienify(ILvoid)
-+ILboolean ILAPIENTRY iluAlienify(void)
- {
- ILfloat Mat[3][3];
- ILubyte *Data;
-diff -ru DevIL-1.6.8.orig/src-ILUT/include/ilut_internal.h DevIL-1.6.8/src-ILUT/include/ilut_internal.h
---- DevIL-1.6.8.orig/src-ILUT/include/ilut_internal.h 2006-07-04 09:43:06.000000000 -0500
-+++ DevIL-1.6.8/src-ILUT/include/ilut_internal.h 2008-04-23 00:35:19.000000000 -0500
-@@ -43,7 +43,7 @@
-
- extern ILimage *ilutCurImage;
-
--ILvoid ilutDefaultStates(ILvoid);
-+ILvoid ilutDefaultStates(void);
-
-
- // ImageLib Utility Toolkit's OpenGL Functions
diff --git a/libraries/DevIL/patches/ILvoid_fix_2.diff b/libraries/DevIL/patches/ILvoid_fix_2.diff
deleted file mode 100644
index b443bb06ee..0000000000
--- a/libraries/DevIL/patches/ILvoid_fix_2.diff
+++ /dev/null
@@ -1,132 +0,0 @@
-diff -ru DevIL-1.6.8.orig/src-IL/include/il_dds.h DevIL-1.6.8/src-IL/include/il_dds.h
---- DevIL-1.6.8.orig/src-IL/include/il_dds.h 2006-04-15 00:40:56.000000000 -0500
-+++ DevIL-1.6.8/src-IL/include/il_dds.h 2008-04-23 00:44:43.000000000 -0500
-@@ -109,9 +109,9 @@
- //the written dds files more standard compliant
- #define DDS_CAPS 0x00000001L
- #define DDS_HEIGHT 0x00000002L
--#define DDS_WIDTH 0x00000004L
-+#define DDS_WIDTH 0x00000004L
- #define DDS_RGB 0x00000040L
--#define DDS_PIXELFORMAT 0x00001000L
-+#define DDS_PIXELFORMAT 0x00001000L
- #define DDS_LUMINANCE 0x00020000L
-
- #define DDS_ALPHAPIXELS 0x00000001L
-@@ -147,18 +147,18 @@
- PF_DXT2,
- PF_DXT3,
- PF_DXT4,
-- PF_DXT5,
-- PF_3DC,
-- PF_ATI1N,
-- PF_LUMINANCE,
-- PF_LUMINANCE_ALPHA,
-- PF_RXGB, //Doom3 normal maps
-- PF_A16B16G16R16,
-- PF_R16F,
-- PF_G16R16F,
-- PF_A16B16G16R16F,
-- PF_R32F,
-- PF_G32R32F,
-+ PF_DXT5,
-+ PF_3DC,
-+ PF_ATI1N,
-+ PF_LUMINANCE,
-+ PF_LUMINANCE_ALPHA,
-+ PF_RXGB, //Doom3 normal maps
-+ PF_A16B16G16R16,
-+ PF_R16F,
-+ PF_G16R16F,
-+ PF_A16B16G16R16F,
-+ PF_R32F,
-+ PF_G32R32F,
- PF_A32B32G32R32F,
- PF_UNKNOWN = 0xFF
- };
-@@ -166,34 +166,34 @@
- #define CUBEMAP_SIDES 6
-
- // Internal functions
--ILboolean iLoadDdsInternal(ILvoid);
--ILboolean iIsValidDds(ILvoid);
-+ILboolean iLoadDdsInternal(void);
-+ILboolean iIsValidDds(void);
- ILboolean iCheckDds(DDSHEAD *Head);
- ILvoid AdjustVolumeTexture(DDSHEAD *Head);
--ILboolean ReadData(ILvoid);
--ILboolean AllocImage(ILvoid);
--ILboolean Decompress(ILvoid);
--ILboolean ReadMipmaps(ILvoid);
--ILuint DecodePixelFormat(ILvoid);
--ILboolean DecompressARGB(ILvoid);
--ILboolean DecompressDXT1(ILvoid);
--ILboolean DecompressDXT2(ILvoid);
--ILboolean DecompressDXT3(ILvoid);
--ILboolean DecompressDXT4(ILvoid);
--ILboolean DecompressDXT5(ILvoid);
--ILboolean Decompress3Dc(ILvoid);
--ILboolean DecompressAti1n(ILvoid);
--ILboolean DecompressRXGB(ILvoid);
--ILboolean DecompressFloat(ILvoid);
--ILvoid CorrectPreMult(ILvoid);
-+ILboolean ReadData(void);
-+ILboolean AllocImage(void);
-+ILboolean Decompress(void);
-+ILboolean ReadMipmaps(void);
-+ILuint DecodePixelFormat(void);
-+ILboolean DecompressARGB(void);
-+ILboolean DecompressDXT1(void);
-+ILboolean DecompressDXT2(void);
-+ILboolean DecompressDXT3(void);
-+ILboolean DecompressDXT4(void);
-+ILboolean DecompressDXT5(void);
-+ILboolean Decompress3Dc(void);
-+ILboolean DecompressAti1n(void);
-+ILboolean DecompressRXGB(void);
-+ILboolean DecompressFloat(void);
-+ILvoid CorrectPreMult(void);
- ILvoid GetBitsFromMask(ILuint Mask, ILuint *ShiftLeft, ILuint *ShiftRight);
--ILboolean iSaveDdsInternal(ILvoid);
-+ILboolean iSaveDdsInternal(void);
- ILboolean WriteHeader(ILimage *Image, ILenum DXTCFormat, ILuint CubeFlags);
--ILushort *CompressTo565(ILimage *Image);
-+ILushort *CompressTo565(ILimage *Image);
- ILubyte *CompressTo88(ILimage *Image);
- ILuint Compress(ILimage *Image, ILenum DXTCFormat);
- ILboolean GetBlock(ILushort *Block, ILushort *Data, ILimage *Image, ILuint XPos, ILuint YPos);
--ILboolean GetAlphaBlock(ILubyte *Block, ILubyte *Data, ILimage *Image, ILuint XPos, ILuint YPos);
-+ILboolean GetAlphaBlock(ILubyte *Block, ILubyte *Data, ILimage *Image, ILuint XPos, ILuint YPos);
- ILboolean Get3DcBlock(ILubyte *Block, ILubyte *Data, ILimage *Image, ILuint XPos, ILuint YPos, int channel);
- ILvoid ShortToColor565(ILushort Pixel, Color565 *Colour);
- ILvoid ShortToColor888(ILushort Pixel, Color888 *Colour);
-@@ -207,7 +207,7 @@
- ILvoid ChooseAlphaEndpoints(ILubyte *Block, ILubyte *a0, ILubyte *a1);
- ILvoid CorrectEndDXT1(ILushort *ex0, ILushort *ex1, ILboolean HasAlpha);
- ILvoid PreMult(ILushort *Data, ILubyte *Alpha);
--
-+
- extern ILuint CubemapDirections[CUBEMAP_SIDES];
-
-
-diff -ru DevIL-1.6.8.orig/src-IL/src/il_jpeg.c DevIL-1.6.8/src-IL/src/il_jpeg.c
---- DevIL-1.6.8.orig/src-IL/src/il_jpeg.c 2006-07-15 02:23:12.000000000 -0500
-+++ DevIL-1.6.8/src-IL/src/il_jpeg.c 2008-04-23 00:43:16.000000000 -0500
-@@ -527,7 +527,7 @@
- // Here the array is only one element long, but you could pass
- // more than one scanline at a time if that's more convenient.
- row_pointer[0] = &TempData[JpegInfo.next_scanline * TempImage->Bps];
-- (ILvoid) jpeg_write_scanlines(&JpegInfo, row_pointer, 1);
-+ (void) jpeg_write_scanlines(&JpegInfo, row_pointer, 1);
- }
-
- // Step 6: Finish compression
-@@ -941,7 +941,7 @@
- // Here the array is only one element long, but you could pass
- // more than one scanline at a time if that's more convenient.
- row_pointer[0] = &TempData[JpegInfo->next_scanline * TempImage->Bps];
-- (ILvoid) jpeg_write_scanlines(JpegInfo, row_pointer, 1);
-+ (void) jpeg_write_scanlines(JpegInfo, row_pointer, 1);
- }
-
- if (TempImage->Origin == IL_ORIGIN_LOWER_LEFT)
diff --git a/libraries/DevIL/patches/ILvoid_fix_3.diff b/libraries/DevIL/patches/ILvoid_fix_3.diff
deleted file mode 100644
index 77bfb6ae52..0000000000
--- a/libraries/DevIL/patches/ILvoid_fix_3.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- il_wrap.cpp.orig 2008-04-23 01:10:46.000000000 -0500
-+++ il_wrap.cpp 2008-04-23 01:09:53.000000000 -0500
-@@ -374,7 +374,7 @@
- return this->Id;
- }
-
--ILenum ilImage::GetOrigin(ILvoid)
-+ILenum ilImage::GetOrigin(void)
- {
- ILinfo Info;
-
diff --git a/libraries/DevIL/patches/devil-1.6.8-libpng14.patch b/libraries/DevIL/patches/devil-1.6.8-libpng14.patch
deleted file mode 100644
index 886ce42239..0000000000
--- a/libraries/DevIL/patches/devil-1.6.8-libpng14.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- devil-1.6.8.orig/src-IL/src/il_png.c 2010-09-18 22:02:51.000000000 -0400
-+++ devil-1.6.8/src-IL/src/il_png.c 2010-09-18 22:07:53.066090769 -0400
-@@ -277,7 +277,7 @@
-
- // Expand low-bit-depth grayscale images to 8 bits
- if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
-- png_set_gray_1_2_4_to_8(png_ptr);
-+ png_set_expand_gray_1_2_4_to_8(png_ptr);
- }
-
- // Expand RGB images with transparency to full alpha channels