[Slackbuilds-users] DevIL

LukenShiro lukenshiro at ngi.it
Sun Jul 6 20:00:47 UTC 2008


I've noticed libraries/DevIL got lost in transfer form 12.0 to 12.1



BTW compiling 12.0 version's DevIL slackbuild I've seen an error 
in "include/IL/ilut.h" file while compiling (it seems to lack a capital 
letter "I" just before Lstring):

[..]
In file included from ../../src-ILUT/include/ilut_internal.h:39,
                 from ilut_allegro.c:14:
../../include/IL/ilut.h:237: error: expected ‘)’ before ‘FileName’
make[2]: *** [ilut_allegro.lo] Error 1
make[2]: Leaving directory `/tmp/SBo/DevIL-1.6.8/src-ILUT/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/DevIL-1.6.8/src-ILUT'
make: *** [all-recursive] Error 1

So I've modified it:
====================================================
--- /tmp/SBo/DevIL-1.6.8/include/IL/ilut.h	2006-07-04 16:43:23.000000000 
+0200
+++ ilut.h_new	2008-07-06 21:21:13.718281714 +0200
@@ -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

====================================================

After editing it compiles well (maybe it hasn't been noticed before, 
because allegro was not installed and this chunk's use depends on 
allegro availability? Just a guess).

-- 
GNU/Linux * Slackware 'current'
LU #210970 LM #98222 SU #12583
"A celebrity is a person who is known for his well-knownness."


More information about the SlackBuilds-users mailing list