mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-01 05:08:10 -07:00
There are still a few binary-only packages out there that rely on 'libffi.so.6' presence. This package provides these libraries. No development headers here. Thus this library can co-exist with dev-libs/libffi:0/7 package. Ebuild is based on dev-libs/libffi. We can fast-stabilize it if in-tree stable packages do rely on libffi.so.6 (they should not). The patch is almost entirely by Timo Rothenpieler. I renamed a package and made a few minor tweaks. Fix-by: Timo Rothenpieler Reported-by: Timo Rothenpieler Closes: https://bugs.gentoo.org/695964 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
https://bugs.gentoo.org/643582
|
|
|
|
From 982b89c01aca99c7bc229914fc1521f96930919b Mon Sep 17 00:00:00 2001
|
|
From: Yen Chi Hsuan <yan12125@gmail.com>
|
|
Date: Sun, 13 Nov 2016 19:17:19 +0800
|
|
Subject: [PATCH] Install public headers in the standard path
|
|
|
|
---
|
|
include/Makefile.am | 3 +--
|
|
libffi.pc.in | 2 +-
|
|
2 files changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/include/Makefile.am b/include/Makefile.am
|
|
index bb241e8..c59df9f 100644
|
|
--- a/include/Makefile.am
|
|
+++ b/include/Makefile.am
|
|
@@ -6,5 +6,4 @@ DISTCLEANFILES=ffitarget.h
|
|
noinst_HEADERS=ffi_common.h ffi_cfi.h
|
|
EXTRA_DIST=ffi.h.in
|
|
|
|
-includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
|
|
-nodist_includes_HEADERS = ffi.h ffitarget.h
|
|
+nodist_include_HEADERS = ffi.h ffitarget.h
|
|
diff --git a/libffi.pc.in b/libffi.pc.in
|
|
index edf6fde..6fad83b 100644
|
|
--- a/libffi.pc.in
|
|
+++ b/libffi.pc.in
|
|
@@ -2,7 +2,7 @@ prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
toolexeclibdir=@toolexeclibdir@
|
|
-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
|
|
+includedir=@includedir@
|
|
|
|
Name: @PACKAGE_NAME@
|
|
Description: Library supporting Foreign Function Interfaces
|
|
--
|
|
2.15.1
|
|
|