libffi-paths.patch 868 B

123456789101112131415161718192021222324252627
  1. --- include/Makefile.in.orig 2014-11-12 08:59:58.000000000 -0300
  2. +++ include/Makefile.in 2017-08-29 16:27:59.558042780 -0300
  3. @@ -314,7 +314,7 @@
  4. AUTOMAKE_OPTIONS = foreign
  5. DISTCLEANFILES = ffitarget.h
  6. EXTRA_DIST = ffi.h.in ffi_common.h
  7. -includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
  8. +includesdir = $(includedir)
  9. nodist_includes_HEADERS = ffi.h ffitarget.h
  10. all: all-am
  11. --- libffi.pc.in.orig 2014-11-08 09:47:24.000000000 -0300
  12. +++ libffi.pc.in 2017-08-29 16:28:49.034043621 -0300
  13. @@ -2,10 +2,10 @@
  14. exec_prefix=@exec_prefix@
  15. libdir=@libdir@
  16. toolexeclibdir=@toolexeclibdir@
  17. -includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
  18. +includedir=@includedir@
  19. Name: @PACKAGE_NAME@
  20. Description: Library supporting Foreign Function Interfaces
  21. Version: @PACKAGE_VERSION@
  22. Libs: -L${toolexeclibdir} -lffi
  23. -Cflags: -I${includedir}
  24. +Cflags: