summaryrefslogtreecommitdiff
path: root/media-libs/simage/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/simage/files
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/simage/files')
-rw-r--r--media-libs/simage/files/simage-1.7.0-libpng15.patch12
-rw-r--r--media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch13
2 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/simage/files/simage-1.7.0-libpng15.patch b/media-libs/simage/files/simage-1.7.0-libpng15.patch
new file mode 100644
index 000000000000..f99d474cf04a
--- /dev/null
+++ b/media-libs/simage/files/simage-1.7.0-libpng15.patch
@@ -0,0 +1,12 @@
+diff -ruN simage-1.7.0/src/simage_png.c new/src/simage_png.c
+--- simage-1.7.0/src/simage_png.c 2010-02-26 16:47:31.000000000 +0100
++++ new/src/simage_png.c 2013-06-06 22:34:23.537331509 +0200
+@@ -323,7 +323,7 @@
+ /* Set error handling. REQUIRED if you aren't supplying your own
+ * error hadnling functions in the png_create_write_struct() call.
+ */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* If we get here, we had a problem reading the file */
+ fclose(fp);
+ png_destroy_write_struct(&png_ptr, (png_infopp)info_ptr);
diff --git a/media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch b/media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch
new file mode 100644
index 000000000000..c8c893855e8a
--- /dev/null
+++ b/media-libs/simage/files/simage-1.7.0-pkgconfig-partial.patch
@@ -0,0 +1,13 @@
+diff -ruN simage-1.7.0/simage.pc.in new/simage.pc.in
+--- simage-1.7.0/simage.pc.in 2010-02-26 16:47:31.000000000 +0100
++++ new/simage.pc.in 2013-06-06 22:35:42.303326845 +0200
+@@ -8,7 +8,8 @@
+ Version: @VERSION@
+ Requires:
+ Conflicts:
+-Libs: -L${libdir} @SIMAGE_EXTRA_LDFLAGS@ @SIMAGE_EXTRA_LIBS@
++Libs: -L${libdir} -lsimage
++Libs.private: -L${libdir} @SIMAGE_EXTRA_LIBS@
+ Cflags: -I${includedir} @SIMAGE_EXTRA_CFLAGS@ @SIMAGE_EXTRA_CPPFLAGS@
+
+ simage_host="@host@"