r8625 - in packages/trunk/love/debian: . patches

Gonéri Le Bouder goneri at alioth.debian.org
Sun Jan 11 16:56:21 UTC 2009


Author: goneri
Date: 2009-01-11 16:56:21 +0000 (Sun, 11 Jan 2009)
New Revision: 8625

Added:
   packages/trunk/love/debian/patches/no-ILvoid-type.diff
Modified:
   packages/trunk/love/debian/changelog
   packages/trunk/love/debian/patches/series
Log:
* add no-ILvoid-type.diff to avoid ILvoid usage since the type is not
  defined in libdevil anymore


Modified: packages/trunk/love/debian/changelog
===================================================================
--- packages/trunk/love/debian/changelog	2009-01-11 16:38:55 UTC (rev 8624)
+++ packages/trunk/love/debian/changelog	2009-01-11 16:56:21 UTC (rev 8625)
@@ -6,8 +6,12 @@
   * Uses autotools for building now. Added autotools-dev to Build-Depends
   * Removed package liblove-dev
 
- -- Miriam Ruiz <little_miry at yahoo.es>  Sat, 15 Nov 2008 05:53:10 +0100
+  [ Gonéri Le Bouder ]
+  * add no-ILvoid-type.diff to avoid ILvoid usage since the type is not
+    defined in libdevil anymore 
 
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Sun, 11 Jan 2009 17:53:04 +0100
+
 love (0.4.0-2) unstable; urgency=low
 
   [ Miriam Ruiz ]

Added: packages/trunk/love/debian/patches/no-ILvoid-type.diff
===================================================================
--- packages/trunk/love/debian/patches/no-ILvoid-type.diff	                        (rev 0)
+++ packages/trunk/love/debian/patches/no-ILvoid-type.diff	2009-01-11 16:56:21 UTC (rev 8625)
@@ -0,0 +1,31 @@
+--- love-0.5.0.orig/src/opengl/Image.cpp
++++ love-0.5.0/src/opengl/Image.cpp
+@@ -376,7 +376,7 @@
+ 		ilBindImage(image);
+ 
+ 		// Create the new image
+-		ilTexImage(width, height, depth, bpp, format, type, (ILvoid*)d);
++		ilTexImage(width, height, depth, bpp, format, type, (void*)d);
+ 
+ 		// Set new "real" dimensions
+ 		this->textureWidth = width;
+@@ -518,7 +518,7 @@
+ 		ilBindImage(image);
+ 
+ 		// Create the new image
+-		ilTexImage(width, height, depth, bpp, format, type, (ILvoid*)data);
++		ilTexImage(width, height, depth, bpp, format, type, (void*)data);
+ 
+ 		// Set the new image dimensions.
+ 		this->textureWidth = width;
+--- love-0.5.0.orig/src/opengl/love_opengl.cpp
++++ love-0.5.0/src/opengl/love_opengl.cpp
+@@ -1598,7 +1598,7 @@
+ 
+ 		ilGenImages(1, &image);
+ 		ilBindImage(image);
+-		ilTexImage(w, h, 1, 3, IL_RGB, IL_UNSIGNED_BYTE, (ILvoid*)pixels);
++		ilTexImage(w, h, 1, 3, IL_RGB, IL_UNSIGNED_BYTE, (void*)pixels);
+ 
+ 		// Create the image.
+ 		ilSaveL(IL_BMP, pixels, 0);

Modified: packages/trunk/love/debian/patches/series
===================================================================
--- packages/trunk/love/debian/patches/series	2009-01-11 16:38:55 UTC (rev 8624)
+++ packages/trunk/love/debian/patches/series	2009-01-11 16:56:21 UTC (rev 8625)
@@ -1 +1,2 @@
 cstrings.patch
+no-ILvoid-type.diff




More information about the Pkg-games-commits mailing list