From 77042863c79353d443be9cd01086ff538892d91c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 4 Apr 2023 20:35:34 +0200 Subject: [PATCH] development/ragel: Updated for version 7.0.4. Create shared libraries Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- development/ragel/lib64.patch | 15 ++++++++++++++ development/ragel/ragel.SlackBuild | 25 ++++++++++------------- development/ragel/ragel.info | 6 +++--- development/ragel/shared-colm.patch | 31 +++++++++++++++++++++++++++++ 4 files changed, 59 insertions(+), 18 deletions(-) create mode 100644 development/ragel/lib64.patch create mode 100644 development/ragel/shared-colm.patch diff --git a/development/ragel/lib64.patch b/development/ragel/lib64.patch new file mode 100644 index 0000000000..53aa3b8e62 --- /dev/null +++ b/development/ragel/lib64.patch @@ -0,0 +1,15 @@ +--- a/configure.ac 2021-02-15 20:45:20.000000000 +0100 ++++ b/configure.ac 2021-02-21 17:59:13.593674832 +0100 +@@ -46,9 +46,9 @@ + COLM_WRAP="$withval/bin/colm-wrap" + CPPFLAGS="-I$withval/include ${CPPFLAGS}" + CPPFLAGS="-I$withval/include/aapl ${CPPFLAGS}" +- LDFLAGS="-L$withval/lib ${LDFLAGS}" +- LIBCOLM_LA="$withval/lib/libcolm.la" +- LIBFSM_LA="$withval/lib/libfsm.la" ++ LDFLAGS="-L$withval/lib64 ${LDFLAGS}" ++ LIBCOLM_LA="$withval/lib64/libcolm.la" ++ LIBFSM_LA="$withval/lib64/libfsm.la" + COLM_SHARE="$withval/share" + ], + [] diff --git a/development/ragel/ragel.SlackBuild b/development/ragel/ragel.SlackBuild index b3eb898ea1..083354d312 100644 --- a/development/ragel/ragel.SlackBuild +++ b/development/ragel/ragel.SlackBuild @@ -30,8 +30,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ragel -VERSION=${VERSION:-7.0.0.12} -BUILD=${BUILD:-2} +VERSION=${VERSION:-7.0.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,22 +66,10 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING README TODO" +DOCS="COPYING README" set -e -if [ -x /usr/bin/ragel ]; then - cat <