cdk_header_path.patch 749 B

1234567891011121314151617181920212223
  1. --- a/configure.ac 2019-06-02 14:13:16.000000000 +0300
  2. +++ b/configure.ac 2020-05-26 18:34:07.592350821 +0300
  3. @@ -141,7 +141,7 @@
  4. if $try_cdk; then
  5. CPPFLAGS_save="$CPPFLAGS"
  6. CPPFLAGS="-I$cdk_prefix/include $CPPFLAGS"
  7. - AC_CHECK_HEADER([cdk/cdk.h], [
  8. + AC_CHECK_HEADER([cdk.h], [
  9. have_cdk=:
  10. AC_PATH_PROG([CDK_CONFIG], [cdk5-config])
  11. if test -n "${CDK_CONFIG}"; then
  12. --- a/gphoto2/gphoto2-cmd-config.c 2015-08-01 14:20:27.000000000 +0300
  13. +++ b/gphoto2/gphoto2-cmd-config.c 2020-05-26 18:52:32.905596310 +0300
  14. @@ -29,7 +29,7 @@
  15. #include <gphoto2/gphoto2-widget.h>
  16. -#include <cdk/cdk.h>
  17. +#include <cdk.h>
  18. #ifndef MAX
  19. # define MAX(a, b) ((a) > (b) ? (a) : (b))