Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37851662
en ru br
ALT Linux repos
S:3.3-alt2

Group :: System/Libraries
RPM: libffi7

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libffi7-3.3-alt2.patch
Download


 .gear/rules     |  3 ++
 .gear/tags/list |  1 +
 alt/libffi.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libffi.pc.in    |  3 +-
 4 files changed, 98 insertions(+), 2 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..cc2a17d
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+spec: alt/libffi.spec
+tar: v@version@:.
+diff: v@version@:. .
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..a956f26
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+5dcb741f1544c5e18c9dbf96aeb8b61cc556a616 v3.3
diff --git a/alt/libffi.spec b/alt/libffi.spec
new file mode 100644
index 0000000..af2b7b5
--- /dev/null
+++ b/alt/libffi.spec
@@ -0,0 +1,93 @@
+%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
+%define soname 7
+
+Name: libffi%soname
+Version: 3.3
+Release: alt2
+Epoch: 1
+
+Summary: Foreign Function Interface library
+License: MIT
+Group: System/Libraries
+URL: http://sourceware.org/libffi
+
+# http://sourceware.org/libffi/%name-%version.tar.gz
+Source: %name-%version.tar
+# git://git.altlinux.org/gears/l/libffi.git
+Patch: %name-%version-%release.patch
+
+%{?!_without_check:%{?!_disable_check:BuildRequires: dejagnu, gcc-c++, /proc, /dev/pts}}
+
+# Automatically added by buildreq on Mon Jan 25 2016
+# optimized out: perl-Encode perl-Text-Unidecode perl-Unicode-EastAsianWidth perl-Unicode-Normalize perl-libintl perl-unicore
+BuildRequires: makeinfo
+
+%description
+The libffi library provides a portable, high level programming
+interface to various calling conventions.  This allows a programmer
+to call any function specified by a call interface description
+at run time.
+
+%prep
+%setup
+%patch -p1
+
+%build
+%autoreconf
+%configure
+%make_build
+
+%check
+[ -w /dev/ptmx -a -f /proc/self/maps ] || exit
+make -k check
+
+%install
+%makeinstall_std
+
+%files -n libffi%soname
+%_libdir/*.so.*
+
+%changelog
+* Sat Oct 16 2021 Anton Farygin <rider@altlinux.ru> 1:3.3-alt2
+- renamed to libffi7
+- removed devel and devel-static packages
+- fixed build with LTO
+
+* Tue May 19 2020 Gleb F-Malinovskiy <glebfm@altlinux.org> 1:3.3-alt1
+- Updated to v3.3.
+
+* Tue May 19 2020 Gleb F-Malinovskiy <glebfm@altlinux.org> 1:3.2.1-alt3
+- Fixed testsuite regressions.
+- Fixed License tag.
+
+* Sat Jun 09 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1:3.2.1-alt2
+- Applied patch for aarch64 from Fedora.
+
+* Mon Jan 25 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 1:3.2.1-alt1
+- Updated to 3.2.1.
+
+* Wed Aug 27 2014 Gleb F-Malinovskiy <glebfm@altlinux.org> 1:3.1-alt2
+- Fix pkgconfig.
+- Apply patch libffi-3.1-fix-exec-stack from fedora.
+
+* Fri Aug 22 2014 Gleb F-Malinovskiy <glebfm@altlinux.org> 1:3.1-alt1
+- New version.
+
+* Mon Sep 19 2011 Alexey Tourbin <at@altlinux.ru> 1:3.0.10-alt1
+- Updated to 3.0.10.
+
+* Wed Mar 09 2011 Dmitry V. Levin <ldv@altlinux.org> 1:3.0.9-alt5
+- Rebuilt for debuginfo.
+
+* Thu Oct 28 2010 Kirill A. Shutemov <kas@altlinux.org> 1:3.0.9-alt4
+- Rebuilt for soname set-versions.
+
+* Fri Aug 20 2010 Dmitry V. Levin <ldv@altlinux.org> 1:3.0.9-alt3
+- Fixed exported header files for -m32.
+
+* Fri Aug 20 2010 Dmitry V. Levin <ldv@altlinux.org> 1:3.0.9-alt2
+- Relocated header files to standard location.
+- Dropped libffiX.Y provides/obsoletes.
+
+* Sat Jul 31 2010 Kirill A. Shutemov <kas@altlinux.org> 1:3.0.9-alt1
+- Initial build of standalone libffi for ALT Linux (closes: #20672)
diff --git a/libffi.pc.in b/libffi.pc.in
index 6fad83b..7695266 100644
--- a/libffi.pc.in
+++ b/libffi.pc.in
@@ -1,11 +1,10 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
-toolexeclibdir=@toolexeclibdir@
 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}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin