summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch')
-rw-r--r--sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch b/sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch
deleted file mode 100644
index db0d0faa1123..000000000000
--- a/sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/src/snapshot.c
-+++ b/src/snapshot.c
-@@ -26,6 +26,7 @@
- #include "lightspeed.h"
-
- #ifdef HAVE_LIBPNG
-+#include <zlib.h>
- #include <png.h>
- static int write_png( int message, const void *data );
- #endif
-@@ -305,7 +306,7 @@
- return -1;
- png_write_s = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL );
- png_info_s = png_create_info_struct( png_write_s );
-- if (setjmp( png_write_s->jmpbuf )) {
-+ if (setjmp( png_jmpbuf( png_write_s ) )) {
- /* Error writing file */
- png_destroy_write_struct( &png_write_s, &png_info_s );
- fclose( png_fp );