libdc1394-2.2.1-includes.patch 1.0 KB

123456789101112131415161718192021222324252627282930
  1. Fix out of source builds.
  2. https://bugs.gentoo.org/show_bug.cgi?id=488716
  3. Index: libdc1394-2.2.1/dc1394/juju/Makefile.am
  4. ===================================================================
  5. --- libdc1394-2.2.1.orig/dc1394/juju/Makefile.am
  6. +++ libdc1394-2.2.1/dc1394/juju/Makefile.am
  7. @@ -7,7 +7,7 @@ noinst_LTLIBRARIES = libdc1394-juju.la
  8. pkgjujuinclude_HEADERS =
  9. endif
  10. -AM_CFLAGS = -I$(top_srcdir)/dc1394
  11. +AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/dc1394
  12. libdc1394_juju_la_SOURCES = \
  13. control.c \
  14. capture.c \
  15. Index: libdc1394-2.2.1/dc1394/usb/Makefile.am
  16. ===================================================================
  17. --- libdc1394-2.2.1.orig/dc1394/usb/Makefile.am
  18. +++ libdc1394-2.2.1/dc1394/usb/Makefile.am
  19. @@ -7,7 +7,7 @@ noinst_LTLIBRARIES = libdc1394-usb.la
  20. pkgusbinclude_HEADERS =
  21. endif
  22. -AM_CFLAGS = -I$(top_srcdir)/dc1394 $(LIBUSB_CFLAGS)
  23. +AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/dc1394 $(LIBUSB_CFLAGS)
  24. libdc1394_usb_la_LIBADD = $(LIBUSB_LIBS)
  25. libdc1394_usb_la_SOURCES = \
  26. control.c \