summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-04-04 14:14:49 +0200
committerPacho Ramos <pacho@gentoo.org>2017-04-04 14:18:28 +0200
commit096cba611287ea75dac3046d8545fea46816831f (patch)
tree32381726d6702da19d3603f012f7ab923b6e9755 /media-gfx/greycstoration/files
parentdev-perl/XML-SAX-Base: Bump to version 1.90.0 (diff)
downloadgentoo-096cba611287ea75dac3046d8545fea46816831f.tar.gz
gentoo-096cba611287ea75dac3046d8545fea46816831f.tar.bz2
gentoo-096cba611287ea75dac3046d8545fea46816831f.zip
media-gfx/greycstoration: Fix gcc6 support, bug #594140 by Peter Levine
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-gfx/greycstoration/files')
-rw-r--r--media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch11
-rw-r--r--media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch4
2 files changed, 13 insertions, 2 deletions
diff --git a/media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch b/media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch
new file mode 100644
index 000000000000..5b957c6ece9d
--- /dev/null
+++ b/media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch
@@ -0,0 +1,11 @@
+--- a/plugins/greycstoration.h 2016-09-22 22:46:42.907946423 -0400
++++ b/plugins/greycstoration.h 2016-09-22 22:49:56.439530308 -0400
+@@ -454,7 +454,7 @@
+ p.temporary = 0;
+ p.counter = 0;
+ p.tile = p.tile_border = p.thread = p.nb_threads = 0;
+- p.stop_request = false;
++ p.stop_request = NULL;
+ greycstoration_mutex_destroy(p);
+ }
+ p.is_running = false;
diff --git a/media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch b/media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch
index e8c0276f8917..087f20fb8756 100644
--- a/media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch
+++ b/media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch
@@ -1,7 +1,7 @@
http://repos.archlinux.org/wsvn/community/greycstoration/trunk/libpng14.patch
---- CImg.h
-+++ CImg.h
+--- a/CImg.h
++++ b/CImg.h
@@ -25671,7 +25671,7 @@
png_read_info(png_ptr,info_ptr);
png_uint_32 W, H;