mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
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:
parent
724dd87cee
commit
960b4fac22
3 changed files with 21 additions and 3 deletions
|
@ -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} \
|
||||
|
|
|
@ -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"
|
||||
|
|
17
audio/mkcue/use_ldflags.diff
Normal file
17
audio/mkcue/use_ldflags.diff
Normal 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
|
Loading…
Reference in a new issue