diff options
Diffstat (limited to 'source/l/libffi')
-rwxr-xr-x | source/l/libffi/libffi.SlackBuild | 10 | ||||
-rw-r--r-- | source/l/libffi/libffi.includedir.diff | 36 | ||||
-rw-r--r-- | source/l/libffi/slack-desc | 2 |
3 files changed, 5 insertions, 43 deletions
diff --git a/source/l/libffi/libffi.SlackBuild b/source/l/libffi/libffi.SlackBuild index 6017d1620..d2f6fee21 100755 --- a/source/l/libffi/libffi.SlackBuild +++ b/source/l/libffi/libffi.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for libffi # Copyright 2011,2012 Robby Workman, Northport, Alabama, USA -# Copyright 2012, 2013, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2012, 2013, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libffi -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -69,11 +69,9 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1 +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 cd $PKGNAM-$VERSION || exit 1 -zcat $CWD/libffi.includedir.diff.gz | patch -p1 --verbose || exit 1 - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/source/l/libffi/libffi.includedir.diff b/source/l/libffi/libffi.includedir.diff deleted file mode 100644 index edfd0fad2..000000000 --- a/source/l/libffi/libffi.includedir.diff +++ /dev/null @@ -1,36 +0,0 @@ ---- ./include/Makefile.in.orig 2014-11-12 05:59:58.000000000 -0600 -+++ ./include/Makefile.in 2015-03-18 20:16:10.909912988 -0500 -@@ -314,7 +314,7 @@ - AUTOMAKE_OPTIONS = foreign - DISTCLEANFILES = ffitarget.h - EXTRA_DIST = ffi.h.in ffi_common.h --includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include -+includesdir = $(includedir) - nodist_includes_HEADERS = ffi.h ffitarget.h - all: all-am - ---- ./include/Makefile.am.orig 2014-11-08 06:47:24.000000000 -0600 -+++ ./include/Makefile.am 2015-03-18 20:14:30.883905771 -0500 -@@ -5,5 +5,5 @@ - DISTCLEANFILES=ffitarget.h - EXTRA_DIST=ffi.h.in ffi_common.h - --includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include -+includesdir = $(includedir) - nodist_includes_HEADERS = ffi.h ffitarget.h ---- ./libffi.pc.in.orig 2014-11-08 06:47:24.000000000 -0600 -+++ ./libffi.pc.in 2015-03-18 20:14:30.884905771 -0500 -@@ -2,10 +2,10 @@ - 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 - Version: @PACKAGE_VERSION@ --Libs: -L${toolexeclibdir} -lffi --Cflags: -I${includedir} -+Libs: -lffi -+Cflags: diff --git a/source/l/libffi/slack-desc b/source/l/libffi/slack-desc index 2bb8d9b06..93fba175d 100644 --- a/source/l/libffi/slack-desc +++ b/source/l/libffi/slack-desc @@ -14,6 +14,6 @@ libffi: written in one language to call code written in another language. libffi: The libffi library really only provides the lowest, machine dependent libffi: layer of a fully featured foreign function interface. libffi: -libffi: Homepage: http://sourceware.org/libffi/ +libffi: Homepage: https://sourceware.org/libffi/ libffi: libffi: |