mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-rpg/eternal-lands: remove unused patches
This commit is contained in:
committed by
David Seifert
parent
d74d32dbd7
commit
2141769aba
@@ -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;
|
||||
}
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user