[libffi] cleanup the pkgconfig file
Dan Horák
sharkcz at fedoraproject.org
Thu Jun 12 10:10:56 UTC 2014
commit f8dded0eabc3213e71decd825a112a05500398a1
Author: Dan Horák <dan at danny.cz>
Date: Thu Jun 12 12:10:19 2014 +0200
cleanup the pkgconfig file
libffi-3.1-fix-include-path.patch | 14 ++++++++++----
libffi.spec | 2 +-
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/libffi-3.1-fix-include-path.patch b/libffi-3.1-fix-include-path.patch
index 2d4eb7c..5a3b7a5 100644
--- a/libffi-3.1-fix-include-path.patch
+++ b/libffi-3.1-fix-include-path.patch
@@ -1,11 +1,17 @@
---- libffi.pc.in~ 2014-04-25 13:45:13.000000000 -0400
-+++ libffi.pc.in 2014-05-19 12:58:22.354885178 -0400
-@@ -2,7 +2,7 @@
+diff -up libffi-3.1/libffi.pc.in.fixpath libffi-3.1/libffi.pc.in
+--- libffi-3.1/libffi.pc.in.fixpath 2014-04-25 19:45:13.000000000 +0200
++++ libffi-3.1/libffi.pc.in 2014-06-12 12:06:06.000000000 +0200
+@@ -1,11 +1,10 @@
+ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
- toolexeclibdir=@toolexeclibdir@
+-toolexeclibdir=@toolexeclibdir@
-includedir=${libdir}/@PACKAGE_NAME at -@PACKAGE_VERSION@/include
+includedir=@includedir@
Name: @PACKAGE_NAME@
Description: Library supporting Foreign Function Interfaces
+ Version: @PACKAGE_VERSION@
+-Libs: -L${toolexeclibdir} -lffi
++Libs: -L${libdir} -lffi
+ Cflags: -I${includedir}
diff --git a/libffi.spec b/libffi.spec
index b1c3a96..e9038a1 100644
--- a/libffi.spec
+++ b/libffi.spec
@@ -56,7 +56,7 @@ developing applications that use %{name}.
%prep
%setup -q
-%patch0 -p0 -b .fixpath
+%patch0 -p1 -b .fixpath
%build
More information about the scm-commits
mailing list