games-rpg/eternal-lands: remove unused patches
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 22 Dec 2017 15:27:30 +0000 (16:27 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 23 Dec 2017 13:10:36 +0000 (14:10 +0100)
games-rpg/eternal-lands/files/eternal-lands-1.9.1-libpng.patch [deleted file]
games-rpg/eternal-lands/files/eternal-lands-1.9.2-glext.patch [deleted file]

diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.9.1-libpng.patch b/games-rpg/eternal-lands/files/eternal-lands-1.9.1-libpng.patch
deleted file mode 100644 (file)
index 953ab8f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
---- elc.orig/misc.c
-+++ elc/misc.c
-@@ -311,7 +311,7 @@ int IMG_SavePNG_RW (SDL_Surface *face, S
-       }
-       
-       /* Set error handling. */
--      if (setjmp(png_ptr->jmpbuf))
-+      if (setjmp(png_jmpbuf(png_ptr)))
-       {
-               /* If we get here, we had a problem reading the file */
-               IMG_SetError("Error writing the PNG file");
-@@ -360,10 +360,7 @@ done:
-       if (row_pointers != NULL)
-               free (row_pointers);
-       
--      if (info_ptr != NULL && info_ptr->palette != NULL)
--              free (info_ptr->palette);
--      
--      png_destroy_write_struct (&png_ptr, (png_infopp)NULL);
-+      png_destroy_write_struct (&png_ptr, &info_ptr);
-       
-       return result;
- }
diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.9.2-glext.patch b/games-rpg/eternal-lands/files/eternal-lands-1.9.2-glext.patch
deleted file mode 100644 (file)
index f096d2f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- platform.h.orig    2011-06-18 13:55:09.704489907 -0400
-+++ platform.h 2011-06-18 13:55:41.675544567 -0400
-@@ -79,7 +79,7 @@
-  #define GL_GLEXT_LEGACY
-  #include <GL/gl.h>
-  #include <GL/glu.h>
-- #include "glext.h"
-+ #include <GL/glext.h>
- #else // BSD
-  #include <GL/gl.h>
-  #include <GL/glu.h>