View | Details | Raw Unified | Return to bug 126802
Collapse All | Expand All

(-)graphics/devil/Makefile (-12 / +17 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	devil
8
PORTNAME=	devil
9
PORTVERSION=	1.6.7
9
PORTVERSION=	1.7.0
10
PORTREVISION=	6
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	SF/openil
13
MASTER_SITE_SUBDIR=	openil
14
DISTNAME=	DevIL-${PORTVERSION}
12
DISTNAME=	DevIL-${PORTVERSION}
15
13
16
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
Lines 22-35 Link Here
22
		mng.1:${PORTSDIR}/graphics/libmng \
20
		mng.1:${PORTSDIR}/graphics/libmng \
23
		lcms.1:${PORTSDIR}/graphics/lcms
21
		lcms.1:${PORTSDIR}/graphics/lcms
24
22
25
USE_AUTOTOOLS=	libtool:15
23
OPTIONS=	SDL "Enable SDL support" off
26
USE_GL=		yes
24
25
NO_WRKSUBDIR=	yes
26
27
USE_GL=		glu
28
USE_AUTOTOOLS=	aclocal:110 autoheader:262 automake:110 autoconf:262 libtool:15
29
ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
30
AUTOMAKE_ARGS=	--add-missing --copy --force-missing
31
CONFIGURE_ARGS=	--disable-allegro --disable-directx8 --disable-directx9 \
32
		--disable-altivec --disable-sse --disable-sse2 --disable-sse3
33
34
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
27
USE_LDCONFIG=	yes
35
USE_LDCONFIG=	yes
28
GNU_CONFIGURE=	yes
29
CONFIGURE_ARGS=	--disable-allegro
30
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
31
36
32
OPTIONS=	SDL "Enable SDL support" off
37
CPPFLAGS=	-I${LOCALBASE}/include
38
LDFLAGS=	-L${LOCALBASE}/lib
33
39
34
.include <bsd.port.pre.mk>
40
.include <bsd.port.pre.mk>
35
41
Lines 40-46 Link Here
40
.endif
46
.endif
41
47
42
post-patch:
48
post-patch:
43
	${FIND} ${WRKSRC} \( -name '*.c' -o -name '*.cpp' -o -name '*.h' \) -print0 |\
49
	@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/configure.ac
44
		${XARGS} -0 ${REINPLACE_CMD} 's|ILvoid|void|g'
45
50
46
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)graphics/devil/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (DevIL-1.6.7.tar.gz) = 0d0c3842196d85c4e24bedabcd84f626
1
MD5 (DevIL-1.7.0.tar.gz) = 6b3e1cee164e5319e5bb7c879a3959bb
2
SHA256 (DevIL-1.6.7.tar.gz) = 61cc4d203d9c4272d10b7ba19b45ef53882bb545936389092361302d94b5f907
2
SHA256 (DevIL-1.7.0.tar.gz) = 0a19f8cd5ea00d682c1df640e0f0bf23828f47b16cd71e079113c556ef17ab7e
3
SIZE (DevIL-1.6.7.tar.gz) = 3013312
3
SIZE (DevIL-1.7.0.tar.gz) = 698579
(-)graphics/devil/files/patch-include-IL_il.h (-175 lines)
Lines 1-175 Link Here
1
--- include/IL/il.h.orig	Mon Jul 12 18:55:08 2004
2
+++ include/IL/il.h	Mon Sep 17 19:36:05 2007
3
@@ -125,7 +125,6 @@
4
 typedef float			ILclampf;
5
 typedef double			ILdouble;
6
 typedef double			ILclampd;
7
-typedef void			ILvoid;
8
 
9
 #ifdef _UNICODE
10
 	#ifndef _WIN32_WCE
11
@@ -460,7 +459,7 @@
12
 
13
 // Callback functions for file reading
14
 typedef void* ILHANDLE;
15
-typedef ILvoid		(ILAPIENTRY *fCloseRProc)(ILHANDLE);
16
+typedef void		(ILAPIENTRY *fCloseRProc)(ILHANDLE);
17
 typedef ILboolean	(ILAPIENTRY *fEofProc)   (ILHANDLE);
18
 typedef ILint		(ILAPIENTRY *fGetcProc)  (ILHANDLE);
19
 typedef ILHANDLE	(ILAPIENTRY *fOpenRProc) (const ILstring);
20
@@ -469,7 +468,7 @@
21
 typedef ILint		(ILAPIENTRY *fTellRProc) (ILHANDLE);
22
 
23
 // Callback functions for file writing
24
-typedef ILvoid		(ILAPIENTRY *fCloseWProc)(ILHANDLE);
25
+typedef void		(ILAPIENTRY *fCloseWProc)(ILHANDLE);
26
 typedef ILHANDLE	(ILAPIENTRY *fOpenWProc) (const ILstring);
27
 typedef ILint		(ILAPIENTRY *fPutcProc)  (ILubyte, ILHANDLE);
28
 typedef ILint		(ILAPIENTRY *fSeekWProc) (ILHANDLE, ILint, ILint);
29
@@ -477,8 +476,8 @@
30
 typedef ILint		(ILAPIENTRY *fWriteProc) (const void*, ILuint, ILuint, ILHANDLE);
31
 
32
 // Callback functions for allocation and deallocation
33
-typedef ILvoid*		(ILAPIENTRY *mAlloc)(ILuint);
34
-typedef ILvoid		(ILAPIENTRY *mFree) (ILvoid*);
35
+typedef void*		(ILAPIENTRY *mAlloc)(ILuint);
36
+typedef void		(ILAPIENTRY *mFree) (void*);
37
 
38
 // Registered format procedures
39
 typedef ILenum		(ILAPIENTRY *IL_LOADPROC)(const ILstring);
40
@@ -491,91 +490,91 @@
41
 ILAPI ILboolean		ILAPIENTRY ilActiveMipmap(ILuint Number);
42
 ILAPI ILboolean		ILAPIENTRY ilApplyPal(const ILstring FileName);
43
 ILAPI ILboolean		ILAPIENTRY ilApplyProfile(const ILstring InProfile, const ILstring OutProfile);
44
-ILAPI ILvoid		ILAPIENTRY ilBindImage(ILuint Image);
45
+ILAPI void		ILAPIENTRY ilBindImage(ILuint Image);
46
 ILAPI ILboolean		ILAPIENTRY ilBlit(ILuint Source, ILint DestX, ILint DestY, ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint Width, ILuint Height, ILuint Depth);
47
-ILAPI ILvoid		ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
48
-ILAPI ILboolean		ILAPIENTRY ilClearImage(ILvoid);
49
-ILAPI ILuint		ILAPIENTRY ilCloneCurImage(ILvoid);
50
+ILAPI void		ILAPIENTRY ilClearColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
51
+ILAPI ILboolean		ILAPIENTRY ilClearImage(void);
52
+ILAPI ILuint		ILAPIENTRY ilCloneCurImage(void);
53
 ILAPI ILboolean		ILAPIENTRY ilCompressFunc(ILenum Mode);
54
 ILAPI ILboolean		ILAPIENTRY ilConvertImage(ILenum DestFormat, ILenum DestType);
55
 ILAPI ILboolean		ILAPIENTRY ilConvertPal(ILenum DestFormat);
56
 ILAPI ILboolean		ILAPIENTRY ilCopyImage(ILuint Src);
57
-ILAPI ILuint		ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, ILvoid *Data);
58
+ILAPI ILuint		ILAPIENTRY ilCopyPixels(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data);
59
 ILAPI ILuint		ILAPIENTRY ilCreateSubImage(ILenum Type, ILuint Num);
60
-ILAPI ILboolean		ILAPIENTRY ilDefaultImage(ILvoid);
61
-ILAPI ILvoid		ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images);
62
+ILAPI ILboolean		ILAPIENTRY ilDefaultImage(void);
63
+ILAPI void		ILAPIENTRY ilDeleteImages(ILsizei Num, const ILuint *Images);
64
 ILAPI ILboolean		ILAPIENTRY ilDisable(ILenum Mode);
65
 ILAPI ILboolean		ILAPIENTRY ilEnable(ILenum Mode);
66
 ILAPI ILboolean		ILAPIENTRY ilFormatFunc(ILenum Mode);
67
-ILAPI ILvoid		ILAPIENTRY ilGenImages(ILsizei Num, ILuint *Images);
68
+ILAPI void		ILAPIENTRY ilGenImages(ILsizei Num, ILuint *Images);
69
 ILAPI ILubyte*		ILAPIENTRY ilGetAlpha(ILenum Type);
70
-ILAPI ILvoid            ILAPIENTRY ilModAlpha( ILdouble AlphaValue );
71
-ILAPI ILvoid            ILAPIENTRY ilSetAlpha( ILdouble AlphaValue );
72
+ILAPI void            ILAPIENTRY ilModAlpha( ILdouble AlphaValue );
73
+ILAPI void            ILAPIENTRY ilSetAlpha( ILdouble AlphaValue );
74
 ILAPI ILboolean		ILAPIENTRY ilGetBoolean(ILenum Mode);
75
-ILAPI ILvoid		ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param);
76
-ILAPI ILubyte*		ILAPIENTRY ilGetData(ILvoid);
77
-ILAPI ILuint		ILAPIENTRY ilGetDXTCData(ILvoid *Buffer, ILuint BufferSize, ILenum DXTCFormat);
78
-ILAPI ILenum		ILAPIENTRY ilGetError(ILvoid);
79
+ILAPI void		ILAPIENTRY ilGetBooleanv(ILenum Mode, ILboolean *Param);
80
+ILAPI ILubyte*		ILAPIENTRY ilGetData(void);
81
+ILAPI ILuint		ILAPIENTRY ilGetDXTCData(void *Buffer, ILuint BufferSize, ILenum DXTCFormat);
82
+ILAPI ILenum		ILAPIENTRY ilGetError(void);
83
 ILAPI ILint             ILAPIENTRY ilGetInteger(ILenum Mode);
84
-ILAPI ILvoid		ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param);
85
-ILAPI ILuint		ILAPIENTRY ilGetLumpPos(ILvoid);
86
-ILAPI ILubyte*		ILAPIENTRY ilGetPalette(ILvoid);
87
+ILAPI void		ILAPIENTRY ilGetIntegerv(ILenum Mode, ILint *Param);
88
+ILAPI ILuint		ILAPIENTRY ilGetLumpPos(void);
89
+ILAPI ILubyte*		ILAPIENTRY ilGetPalette(void);
90
 ILAPI const ILstring    ILAPIENTRY ilGetString(ILenum StringName);
91
-ILAPI ILvoid		ILAPIENTRY ilHint(ILenum Target, ILenum Mode);
92
-ILAPI ILvoid		ILAPIENTRY ilInit(ILvoid);
93
+ILAPI void		ILAPIENTRY ilHint(ILenum Target, ILenum Mode);
94
+ILAPI void		ILAPIENTRY ilInit(void);
95
 ILAPI ILboolean		ILAPIENTRY ilIsDisabled(ILenum Mode);
96
 ILAPI ILboolean		ILAPIENTRY ilIsEnabled(ILenum Mode);
97
 ILAPI ILboolean		ILAPIENTRY ilIsImage(ILuint Image);
98
 ILAPI ILboolean		ILAPIENTRY ilIsValid(ILenum Type, const ILstring FileName);
99
 ILAPI ILboolean		ILAPIENTRY ilIsValidF(ILenum Type, ILHANDLE File);
100
-ILAPI ILboolean		ILAPIENTRY ilIsValidL(ILenum Type, ILvoid *Lump, ILuint Size);
101
-ILAPI ILvoid		ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
102
+ILAPI ILboolean		ILAPIENTRY ilIsValidL(ILenum Type, void *Lump, ILuint Size);
103
+ILAPI void		ILAPIENTRY ilKeyColour(ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha);
104
 ILAPI ILboolean		ILAPIENTRY ilLoad(ILenum Type, const ILstring FileName);
105
 ILAPI ILboolean		ILAPIENTRY ilLoadF(ILenum Type, ILHANDLE File);
106
 ILAPI ILboolean		ILAPIENTRY ilLoadImage(const ILstring FileName);
107
-ILAPI ILboolean		ILAPIENTRY ilLoadL(ILenum Type, ILvoid *Lump, ILuint Size);
108
+ILAPI ILboolean		ILAPIENTRY ilLoadL(ILenum Type, void *Lump, ILuint Size);
109
 ILAPI ILboolean		ILAPIENTRY ilLoadPal(const ILstring FileName);
110
 ILAPI ILboolean		ILAPIENTRY ilOriginFunc(ILenum Mode);
111
 ILAPI ILboolean		ILAPIENTRY ilOverlayImage(ILuint Source, ILint XCoord, ILint YCoord, ILint ZCoord);
112
-ILAPI ILvoid		ILAPIENTRY ilPopAttrib(ILvoid);
113
-ILAPI ILvoid		ILAPIENTRY ilPushAttrib(ILuint Bits);
114
-ILAPI ILvoid		ILAPIENTRY ilRegisterFormat(ILenum Format);
115
+ILAPI void		ILAPIENTRY ilPopAttrib(void);
116
+ILAPI void		ILAPIENTRY ilPushAttrib(ILuint Bits);
117
+ILAPI void		ILAPIENTRY ilRegisterFormat(ILenum Format);
118
 ILAPI ILboolean		ILAPIENTRY ilRegisterLoad(const ILstring Ext, IL_LOADPROC Load);
119
 ILAPI ILboolean		ILAPIENTRY ilRegisterMipNum(ILuint Num);
120
 ILAPI ILboolean		ILAPIENTRY ilRegisterNumImages(ILuint Num);
121
-ILAPI ILvoid		ILAPIENTRY ilRegisterOrigin(ILenum Origin);
122
-ILAPI ILvoid		ILAPIENTRY ilRegisterPal(ILvoid *Pal, ILuint Size, ILenum Type);
123
+ILAPI void		ILAPIENTRY ilRegisterOrigin(ILenum Origin);
124
+ILAPI void		ILAPIENTRY ilRegisterPal(void *Pal, ILuint Size, ILenum Type);
125
 ILAPI ILboolean		ILAPIENTRY ilRegisterSave(const ILstring Ext, IL_SAVEPROC Save);
126
-ILAPI ILvoid		ILAPIENTRY ilRegisterType(ILenum Type);
127
+ILAPI void		ILAPIENTRY ilRegisterType(ILenum Type);
128
 ILAPI ILboolean		ILAPIENTRY ilRemoveLoad(const ILstring Ext);
129
 ILAPI ILboolean		ILAPIENTRY ilRemoveSave(const ILstring Ext);
130
-ILAPI ILvoid		ILAPIENTRY ilResetMemory(ILvoid);
131
-ILAPI ILvoid		ILAPIENTRY ilResetRead(ILvoid);
132
-ILAPI ILvoid		ILAPIENTRY ilResetWrite(ILvoid);
133
+ILAPI void		ILAPIENTRY ilResetMemory(void);
134
+ILAPI void		ILAPIENTRY ilResetRead(void);
135
+ILAPI void		ILAPIENTRY ilResetWrite(void);
136
 ILAPI ILboolean		ILAPIENTRY ilSave(ILenum Type, const ILstring FileName);
137
 ILAPI ILuint		ILAPIENTRY ilSaveF(ILenum Type, ILHANDLE File);
138
 ILAPI ILboolean		ILAPIENTRY ilSaveImage(const ILstring FileName);
139
-ILAPI ILuint		ILAPIENTRY ilSaveL(ILenum Type, ILvoid *Lump, ILuint Size);
140
+ILAPI ILuint		ILAPIENTRY ilSaveL(ILenum Type, void *Lump, ILuint Size);
141
 ILAPI ILboolean		ILAPIENTRY ilSavePal(const ILstring FileName);
142
-ILAPI ILboolean		ILAPIENTRY ilSetData(ILvoid *Data);
143
+ILAPI ILboolean		ILAPIENTRY ilSetData(void *Data);
144
 ILAPI ILboolean		ILAPIENTRY ilSetDuration(ILuint Duration);
145
-ILAPI ILvoid		ILAPIENTRY ilSetInteger(ILenum Mode, ILint Param);
146
-ILAPI ILvoid		ILAPIENTRY ilSetMemory(mAlloc, mFree);
147
-ILAPI ILvoid		ILAPIENTRY ilSetPixels(ILint XOff, ILint YOff, ILint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, ILvoid *Data);
148
-ILAPI ILvoid		ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc);
149
-ILAPI ILvoid		ILAPIENTRY ilSetString(ILenum Mode, const char *String);
150
-ILAPI ILvoid		ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc);
151
-ILAPI ILvoid		ILAPIENTRY ilShutDown(ILvoid);
152
-ILAPI ILboolean		ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, ILvoid *Data);
153
+ILAPI void		ILAPIENTRY ilSetInteger(ILenum Mode, ILint Param);
154
+ILAPI void		ILAPIENTRY ilSetMemory(mAlloc, mFree);
155
+ILAPI void		ILAPIENTRY ilSetPixels(ILint XOff, ILint YOff, ILint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data);
156
+ILAPI void		ILAPIENTRY ilSetRead(fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc);
157
+ILAPI void		ILAPIENTRY ilSetString(ILenum Mode, const char *String);
158
+ILAPI void		ILAPIENTRY ilSetWrite(fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc);
159
+ILAPI void		ILAPIENTRY ilShutDown(void);
160
+ILAPI ILboolean		ILAPIENTRY ilTexImage(ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILenum Format, ILenum Type, void *Data);
161
 ILAPI ILboolean		ILAPIENTRY ilTypeFunc(ILenum Mode);
162
 
163
 ILAPI ILboolean		ILAPIENTRY ilLoadData(const ILstring FileName, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp);
164
 ILAPI ILboolean		ILAPIENTRY ilLoadDataF(ILHANDLE File, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp);
165
-ILAPI ILboolean		ILAPIENTRY ilLoadDataL(ILvoid *Lump, ILuint Size, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp);
166
+ILAPI ILboolean		ILAPIENTRY ilLoadDataL(void *Lump, ILuint Size, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp);
167
 ILAPI ILboolean		ILAPIENTRY ilSaveData(const ILstring FileName);
168
 
169
-ILAPI ILboolean		ILAPIENTRY ilLoadFromJpegStruct(ILvoid* JpegDecompressorPtr);
170
-ILAPI ILboolean		ILAPIENTRY ilSaveFromJpegStruct(ILvoid* JpegCompressorPtr);
171
+ILAPI ILboolean		ILAPIENTRY ilLoadFromJpegStruct(void* JpegDecompressorPtr);
172
+ILAPI ILboolean		ILAPIENTRY ilSaveFromJpegStruct(void* JpegCompressorPtr);
173
 
174
 // For all those weirdos that spell "colour" without the 'u'.
175
 #define ilClearColor	ilClearColour
(-)graphics/devil/files/patch-include-IL_ilu.h (-72 lines)
Lines 1-72 Link Here
1
--- include/IL/ilu.h.orig	2007-09-17 17:42:11.000000000 +0200
2
+++ include/IL/ilu.h	2007-09-17 17:43:47.000000000 +0200
3
@@ -132,40 +132,40 @@
4
 
5
 
6
 // ImageLib Utility Functions
7
-ILAPI ILboolean			ILAPIENTRY iluAlienify(ILvoid);
8
+ILAPI ILboolean			ILAPIENTRY iluAlienify(void);
9
 ILAPI ILboolean			ILAPIENTRY iluBlurAvg(ILuint Iter);
10
 ILAPI ILboolean			ILAPIENTRY iluBlurGaussian(ILuint Iter);
11
-ILAPI ILboolean			ILAPIENTRY iluBuildMipmaps(ILvoid);
12
-ILAPI ILuint			ILAPIENTRY iluColoursUsed(ILvoid);
13
+ILAPI ILboolean			ILAPIENTRY iluBuildMipmaps(void);
14
+ILAPI ILuint			ILAPIENTRY iluColoursUsed(void);
15
 ILAPI ILboolean			ILAPIENTRY iluCompareImage(ILuint Comp);
16
 ILAPI ILboolean			ILAPIENTRY iluContrast(ILfloat Contrast);
17
 ILAPI ILboolean			ILAPIENTRY iluCrop(ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth);
18
-ILAPI ILvoid			ILAPIENTRY iluDeleteImage(ILuint Id);
19
-ILAPI ILboolean			ILAPIENTRY iluEdgeDetectE(ILvoid);
20
-ILAPI ILboolean			ILAPIENTRY iluEdgeDetectP(ILvoid);
21
-ILAPI ILboolean			ILAPIENTRY iluEdgeDetectS(ILvoid);
22
-ILAPI ILboolean			ILAPIENTRY iluEmboss(ILvoid);
23
+ILAPI void			ILAPIENTRY iluDeleteImage(ILuint Id);
24
+ILAPI ILboolean			ILAPIENTRY iluEdgeDetectE(void);
25
+ILAPI ILboolean			ILAPIENTRY iluEdgeDetectP(void);
26
+ILAPI ILboolean			ILAPIENTRY iluEdgeDetectS(void);
27
+ILAPI ILboolean			ILAPIENTRY iluEmboss(void);
28
 ILAPI ILboolean			ILAPIENTRY iluEnlargeCanvas(ILuint Width, ILuint Height, ILuint Depth);
29
 ILAPI ILboolean			ILAPIENTRY iluEnlargeImage(ILfloat XDim, ILfloat YDim, ILfloat ZDim);
30
-ILAPI ILboolean			ILAPIENTRY iluEqualize(ILvoid);
31
+ILAPI ILboolean			ILAPIENTRY iluEqualize(void);
32
 ILAPI const ILstring	ILAPIENTRY iluErrorString(ILenum Error);
33
-ILAPI ILboolean			ILAPIENTRY iluFlipImage(ILvoid);
34
+ILAPI ILboolean			ILAPIENTRY iluFlipImage(void);
35
 ILAPI ILboolean			ILAPIENTRY iluGammaCorrect(ILfloat Gamma);
36
-ILAPI ILuint			ILAPIENTRY iluGenImage(ILvoid);
37
-ILAPI ILvoid			ILAPIENTRY iluGetImageInfo(ILinfo *Info);
38
+ILAPI ILuint			ILAPIENTRY iluGenImage(void);
39
+ILAPI void			ILAPIENTRY iluGetImageInfo(ILinfo *Info);
40
 ILAPI ILint				ILAPIENTRY iluGetInteger(ILenum Mode);
41
-ILAPI ILvoid			ILAPIENTRY iluGetIntegerv(ILenum Mode, ILint *Param);
42
+ILAPI void			ILAPIENTRY iluGetIntegerv(ILenum Mode, ILint *Param);
43
 ILAPI const ILstring	ILAPIENTRY iluGetString(ILenum StringName);
44
-ILAPI ILvoid			ILAPIENTRY iluImageParameter(ILenum PName, ILenum Param);
45
-ILAPI ILvoid			ILAPIENTRY iluInit(ILvoid);
46
-ILAPI ILboolean			ILAPIENTRY iluInvertAlpha(ILvoid);
47
+ILAPI void			ILAPIENTRY iluImageParameter(ILenum PName, ILenum Param);
48
+ILAPI void			ILAPIENTRY iluInit(void);
49
+ILAPI ILboolean			ILAPIENTRY iluInvertAlpha(void);
50
 ILAPI ILuint			ILAPIENTRY iluLoadImage(const ILstring FileName);
51
-ILAPI ILboolean			ILAPIENTRY iluMirror(ILvoid);
52
-ILAPI ILboolean			ILAPIENTRY iluNegative(ILvoid);
53
+ILAPI ILboolean			ILAPIENTRY iluMirror(void);
54
+ILAPI ILboolean			ILAPIENTRY iluNegative(void);
55
 ILAPI ILboolean			ILAPIENTRY iluNoisify(ILclampf Tolerance);
56
 ILAPI ILboolean			ILAPIENTRY iluPixelize(ILuint PixSize);
57
-ILAPI ILvoid			ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n);
58
-ILAPI ILvoid			ILAPIENTRY iluRegioniv(ILpointi *Points, ILuint n);
59
+ILAPI void			ILAPIENTRY iluRegionfv(ILpointf *Points, ILuint n);
60
+ILAPI void			ILAPIENTRY iluRegioniv(ILpointi *Points, ILuint n);
61
 ILAPI ILboolean			ILAPIENTRY iluReplaceColour(ILubyte Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance);
62
 ILAPI ILboolean			ILAPIENTRY iluRotate(ILfloat Angle);
63
 ILAPI ILboolean			ILAPIENTRY iluRotate3D(ILfloat x, ILfloat y, ILfloat z, ILfloat Angle);
64
@@ -174,7 +174,7 @@
65
 ILAPI ILboolean			ILAPIENTRY iluScale(ILuint Width, ILuint Height, ILuint Depth);
66
 ILAPI ILboolean			ILAPIENTRY iluScaleColours(ILfloat r, ILfloat g, ILfloat b);
67
 ILAPI ILboolean			ILAPIENTRY iluSharpen(ILfloat Factor, ILuint Iter);
68
-ILAPI ILboolean			ILAPIENTRY iluSwapColours(ILvoid);
69
+ILAPI ILboolean			ILAPIENTRY iluSwapColours(void);
70
 ILAPI ILboolean			ILAPIENTRY iluWave(ILfloat Angle);
71
 
72
 #define iluColorsUsed	iluColoursUsed
(-)graphics/devil/files/patch-src-IL-src-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- src-IL/src/Makefile.in.orig	Tue Jan 10 16:09:29 2006
2
+++ src-IL/src/Makefile.in	Tue Jan 10 16:09:45 2006
3
@@ -312,7 +312,7 @@
4
 
5
 AM_CFLAGS = @LIBIL_CFLAGS@
6
 libIL_la_LDFLAGS = -no-undefined @VERSIONINFO@
7
-libIL_la_LIBADD = @LIBPNG@ @LIBJPG@ @LIBTIFF@ @LIBGIF@ @LIBMNG@ @LIBLCMS@
8
+libIL_la_LIBADD = @LIBPNG@ @LIBJPG@ @LIBTIFF@ @LIBMNG@ @LIBLCMS@
9
 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src-IL/include
10
 all: all-am
11
 
(-)graphics/devil/files/patch-src-IL-src-il_png.c (-18 lines)
Lines 1-18 Link Here
1
--- src-IL/src/il_png.c.orig	Thu Jun 24 11:38:54 2004
2
+++ src-IL/src/il_png.c	Wed Oct  5 22:44:17 2005
3
@@ -282,11 +282,11 @@
4
 
5
 ILboolean readpng_get_image(ILdouble display_exponent)
6
 {
7
-	ILuint		i;
8
 	png_bytepp	row_pointers = NULL;
9
-	ILuint		width, height, channels;
10
-	ILdouble	screen_gamma = 1.0, image_gamma;
11
-	ILuint		bit_depth;
12
+	png_uint_32   width, height;
13
+	ILuint      i, channels, bit_depth;
14
+	ILdouble      screen_gamma = 1.0, image_gamma;
15
+
16
 
17
 
18
 	/* setjmp() must be called in every function that calls a PNG-reading
(-)graphics/devil/pkg-plist (-7 / +7 lines)
Lines 1-3 Link Here
1
include/IL/config.h
2
include/IL/devil_internal_exports.h
3
include/IL/il.h
4
include/IL/il_wrap.h
5
include/IL/ilu.h
6
include/IL/ilu_region.h
7
include/IL/ilut.h
1
lib/libIL.a
8
lib/libIL.a
2
lib/libIL.la
9
lib/libIL.la
3
lib/libIL.so
10
lib/libIL.so
Lines 10-20 Link Here
10
lib/libILUT.la
17
lib/libILUT.la
11
lib/libILUT.so
18
lib/libILUT.so
12
lib/libILUT.so.1
19
lib/libILUT.so.1
13
include/IL/il.h
14
include/IL/ilu.h
15
include/IL/ilut.h
16
include/IL/il_wrap.h
17
include/IL/config.h
18
include/IL/devil_internal_exports.h
19
include/IL/ilu_region.h
20
@dirrm include/IL
20
@dirrm include/IL

Return to bug 126802