summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-06-13 22:02:18 +0000
committerSamuli Suominen <drac@gentoo.org>2008-06-13 22:02:18 +0000
commit4606f1536e8930816b6e5b024de19650b39dfe2f (patch)
tree73bed5907891ed48f1b6a1b7c043aa5161cf40e9 /dev-libs/libffi
parentfix extraneous test useflag. zlin++ (diff)
downloadgentoo-2-4606f1536e8930816b6e5b024de19650b39dfe2f.tar.gz
gentoo-2-4606f1536e8930816b6e5b024de19650b39dfe2f.tar.bz2
gentoo-2-4606f1536e8930816b6e5b024de19650b39dfe2f.zip
pkgconfig file too
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-libs/libffi')
-rw-r--r--dev-libs/libffi/files/libffi-3.0.5-includedir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/libffi/files/libffi-3.0.5-includedir.patch b/dev-libs/libffi/files/libffi-3.0.5-includedir.patch
index b8ab68af0b81..7a820f347a19 100644
--- a/dev-libs/libffi/files/libffi-3.0.5-includedir.patch
+++ b/dev-libs/libffi/files/libffi-3.0.5-includedir.patch
@@ -8,3 +8,15 @@ diff -ur libffi-3.0.5.orig/include/Makefile.am libffi-3.0.5/include/Makefile.am
-includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
+includesdir = $(includedir)
nodist_includes_HEADERS = ffi.h ffitarget.h
+diff -ur libffi-3.0.5.orig/libffi.pc.in libffi-3.0.5/libffi.pc.in
+--- libffi-3.0.5.orig/libffi.pc.in 2008-04-03 14:40:27.000000000 +0300
++++ libffi-3.0.5/libffi.pc.in 2008-06-14 00:57:24.000000000 +0300
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
++includedir=/usr/include
+
+ Name: @PACKAGE_NAME@
+ Description: Library supporting Foreign Function Interfaces