aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-07-24 09:16:52 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-07-24 09:20:38 +0000
commitdb82c0063176e6c3ae1a77aaed436320530cff99 (patch)
tree8f9cc6ac4236e1a70abfd7d2446b2a489689e754
parent936035db450420ab6e8f50b4738ec25286bd831f (diff)
downloadports-db82c0063176e6c3ae1a77aaed436320530cff99.tar.gz
ports-db82c0063176e6c3ae1a77aaed436320530cff99.zip
graphics/photoflow: prepare for glib 2.68.3
Remove last remnant of cimg_funcs.h The cimg functionality in graphics/vips was removed in 2014 in in https://github.com/libvips/libvips/commit/927b2d795448eb676d4c1680f07b54d61bb4dd7c The header was completely removed in https://github.com/libvips/libvips/commit/221a5f7e8bfd11797f1bef5a29a928bc0f03e311 PR: 256200
-rw-r--r--graphics/photoflow/files/patch-fix-glib_2.68.3-remove_cimg_func-usage20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/photoflow/files/patch-fix-glib_2.68.3-remove_cimg_func-usage b/graphics/photoflow/files/patch-fix-glib_2.68.3-remove_cimg_func-usage
new file mode 100644
index 000000000000..4ebd40e868f5
--- /dev/null
+++ b/graphics/photoflow/files/patch-fix-glib_2.68.3-remove_cimg_func-usage
@@ -0,0 +1,20 @@
+Remove last remnant of cimg_funcs.h
+
+The cimg functionality was removed in 2014 in
+ https://github.com/libvips/libvips/commit/927b2d795448eb676d4c1680f07b54d61bb4dd7c
+The header was completely removed in
+ https://github.com/libvips/libvips/commit/221a5f7e8bfd11797f1bef5a29a928bc0f03e311
+
+This fixes the build against glib-2.68.3
+
+--- src/operations/denoise.cc.orig 2021-07-24 09:04:04 UTC
++++ src/operations/denoise.cc
+@@ -27,7 +27,7 @@
+
+ */
+
+-#include <vips/cimg_funcs.h>
++// #include <vips/cimg_funcs.h>
+
+ #include "../base/new_operation.hh"
+ #include "convert_colorspace.hh"