audio/mkcue: Updated for debian pkg version 7.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-07 15:36:58 +13:00 committed by Willy Sudiarto Raharjo
parent 724dd87cee
commit 960b4fac22
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 21 additions and 3 deletions

View file

@ -19,7 +19,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mkcue
VERSION=${VERSION:-1.4}
VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -76,9 +76,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/fix_msf_offset.diff
patch -p1 < $CWD/use_ldflags.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=gnu++98" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \

View file

@ -1,5 +1,5 @@
PRGNAM="mkcue"
VERSION="1.4"
VERSION="1.7"
HOMEPAGE="https://packages.debian.org/sid/mkcue"
DOWNLOAD="http://httpredir.debian.org/debian/pool/main/m/mkcue/mkcue_1.orig.tar.gz"
MD5SUM="de082e40baf042e23246d54d28cbcdcc"

View file

@ -0,0 +1,17 @@
Description: ensure use of Debian $LDFLAGS
Ensure use of Debian $LDFLAGS, so that hardening options get used.
Author: Moray Allan <moray@debian.org>
Last-Update: 2016-03-17
Index: GNUmakefile.in
===================================================================
--- mkcue-1.orig/GNUmakefile.in
+++ mkcue-1/GNUmakefile.in
@@ -54,7 +54,7 @@ INSTALL_SCRIPT= ${INSTALL_PROGRAM}
all: mkcue
mkcue: mkcue.o mb.o
- ${CXX} -o $@ mkcue.o mb.o
+ ${CXX} -o $@ mkcue.o mb.o ${LDFLAGS}
clean:
rm -f mkcue *.o