summaryrefslogtreecommitdiff
path: root/media-gfx/gphoto2/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /media-gfx/gphoto2/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'media-gfx/gphoto2/files')
-rw-r--r--media-gfx/gphoto2/files/gphoto2-2.5.26-s-cdk-cdk.h-cdk.h.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-gfx/gphoto2/files/gphoto2-2.5.26-s-cdk-cdk.h-cdk.h.patch b/media-gfx/gphoto2/files/gphoto2-2.5.26-s-cdk-cdk.h-cdk.h.patch
new file mode 100644
index 000000000000..b68e618cc018
--- /dev/null
+++ b/media-gfx/gphoto2/files/gphoto2-2.5.26-s-cdk-cdk.h-cdk.h.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/679332
+
+diff --git a/configure.ac b/configure.ac
+index ed76a66..b0db85c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -141,7 +141,7 @@ AC_ARG_WITH([cdk-prefix],AS_HELP_STRING([--with-cdk-prefix=PREFIX],
+ if $try_cdk; then
+ CPPFLAGS_save="$CPPFLAGS"
+ CPPFLAGS="-I$cdk_prefix/include $CPPFLAGS"
+- AC_CHECK_HEADER([cdk/cdk.h], [
++ AC_CHECK_HEADER([cdk.h], [
+ have_cdk=:
+ AC_PATH_PROG([CDK_CONFIG], [cdk5-config])
+ if test -n "${CDK_CONFIG}"; then
+diff --git a/gphoto2/gphoto2-cmd-config.c b/gphoto2/gphoto2-cmd-config.c
+index 360fd61..c801604 100644
+--- a/gphoto2/gphoto2-cmd-config.c
++++ b/gphoto2/gphoto2-cmd-config.c
+@@ -29,7 +29,7 @@
+
+ #include <gphoto2/gphoto2-widget.h>
+
+-#include <cdk/cdk.h>
++#include <cdk.h>
+
+ #ifndef MAX
+ # define MAX(a, b) ((a) > (b) ? (a) : (b))
+--