Author: miriam
Date: 2014-01-13 01:55:12 +0000 (Mon, 13 Jan 2014)
New Revision: 14800

Added:
   packages/branches/love/0.4/debian/patches/ilvoid.patch
   packages/branches/love/0.4/debian/patches/include.patch
Modified:
   packages/branches/love/0.4/debian/changelog
   packages/branches/love/0.4/debian/patches/series
Log:
Make package buildable again 



Modified: packages/branches/love/0.4/debian/changelog
===================================================================
--- packages/branches/love/0.4/debian/changelog 2014-01-13 01:37:05 UTC (rev 
14799)
+++ packages/branches/love/0.4/debian/changelog 2014-01-13 01:55:12 UTC (rev 
14800)
@@ -7,6 +7,7 @@
   * Moved to source format 3.0 (quilt). See 
http://wiki.debian.org/Projects/DebSrc3.0
   * Removed dependency from SNG
   * Removed love-dev package
+  * Added patches to make it buildable again. Fixes #527724
 
  -- Miriam Ruiz <mir...@debian.org>  Mon, 13 Jan 2014 02:12:48 +0100
 

Added: packages/branches/love/0.4/debian/patches/ilvoid.patch
===================================================================
--- packages/branches/love/0.4/debian/patches/ilvoid.patch                      
        (rev 0)
+++ packages/branches/love/0.4/debian/patches/ilvoid.patch      2014-01-13 
01:55:12 UTC (rev 14800)
@@ -0,0 +1,35 @@
+Index: love-0.4/src/opengl/Image.cpp
+===================================================================
+--- love-0.4.orig/src/opengl/Image.cpp 2008-08-29 01:40:47.000000000 +0200
++++ love-0.4/src/opengl/Image.cpp      2014-01-13 02:43:11.646368909 +0100
+@@ -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;
+Index: love-0.4/src/opengl/love_opengl.cpp
+===================================================================
+--- love-0.4.orig/src/opengl/love_opengl.cpp   2008-08-29 01:40:47.000000000 
+0200
++++ love-0.4/src/opengl/love_opengl.cpp        2014-01-13 02:45:00.282368769 
+0100
+@@ -1465,7 +1465,7 @@
+               // Create the image.
+               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);
+ 
+               // Save it.
+               ilEnable(IL_FILE_OVERWRITE);

Added: packages/branches/love/0.4/debian/patches/include.patch
===================================================================
--- packages/branches/love/0.4/debian/patches/include.patch                     
        (rev 0)
+++ packages/branches/love/0.4/debian/patches/include.patch     2014-01-13 
01:55:12 UTC (rev 14800)
@@ -0,0 +1,12 @@
+Index: love-0.4/src/opengl/ImageFont.cpp
+===================================================================
+--- love-0.4.orig/src/opengl/ImageFont.cpp     2008-08-29 01:40:47.000000000 
+0200
++++ love-0.4/src/opengl/ImageFont.cpp  2014-01-13 02:44:13.530368829 +0100
+@@ -1,6 +1,7 @@
+ #include "ImageFont.h"
+ 
+ #include <SDL_opengl.h>
++#include <stdio.h>
+ 
+ using std::string;
+ 

Modified: packages/branches/love/0.4/debian/patches/series
===================================================================
--- packages/branches/love/0.4/debian/patches/series    2014-01-13 01:37:05 UTC 
(rev 14799)
+++ packages/branches/love/0.4/debian/patches/series    2014-01-13 01:55:12 UTC 
(rev 14800)
@@ -1,2 +1,4 @@
 makefile.patch
 headers.patch
+ilvoid.patch
+include.patch


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to