development/sqlitebrowser: Fixed to build against gcc-4.7.x

Signed-off-by: Binh Nguyen <binhnguyen@fastmail.fm>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Binh Nguyen 2012-08-19 00:36:37 +07:00 committed by Robby Workman
parent abec61fc51
commit f6f03a4275

View file

@ -2,7 +2,7 @@
# Slackware build script for sqlitebrowser
# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm>
# Copyright 2010, 2012 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=sqlitebrowser
VERSION=${VERSION:-2.0b1}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -59,7 +59,7 @@ find . \
patch -p0 < $CWD/sqlitebrowser-2.0_beta1-qt-4.7.0.patch
qmake
make
make LINK="g++ -ldl"
mkdir -p $PKG/usr/bin
cp $PRGNAM/$PRGNAM $PKG/usr/bin/