diff options
author | Mario Preksavec <mario at slackware dot hr> | 2022-02-12 15:33:17 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-14 08:06:52 +0700 |
commit | 7cac6f85a79cdc9d56f78a5afc341230e74553cd (patch) | |
tree | e1c3583533db4eedc320e15c4111f927b5d51c7b /ham/gsmlib | |
parent | fc3109dcb1a477d985bc0731c5a4f549ac66e737 (diff) |
ham/gsmlib: Use -std=c++14. i486->i586. Fix README.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/gsmlib')
-rw-r--r-- | ham/gsmlib/README | 7 | ||||
-rw-r--r-- | ham/gsmlib/gsmlib.SlackBuild | 12 |
2 files changed, 10 insertions, 9 deletions
diff --git a/ham/gsmlib/README b/ham/gsmlib/README index 10135855a8320..28afbb5010f2c 100644 --- a/ham/gsmlib/README +++ b/ham/gsmlib/README @@ -1,9 +1,10 @@ This distribution contains a library to access GSM mobile phones through GSM modems or IrDA devices. Features include: - * modification of phonebooks stored in the mobile phone or on the SIM card + * modification of phonebooks stored in the mobile phone or on the SIM + card * reading and writing of SMS messages stored in the mobile phone * sending and reception of SMS messages -Additionally, some simple command line programs are provided to use these -functionalities. +Additionally, some simple command line programs are provided to use +these functionalities. diff --git a/ham/gsmlib/gsmlib.SlackBuild b/ham/gsmlib/gsmlib.SlackBuild index e446f5be661fa..d0226a31cd0c1 100644 --- a/ham/gsmlib/gsmlib.SlackBuild +++ b/ham/gsmlib/gsmlib.SlackBuild @@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gsmlib VERSION=${VERSION:-20140304} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -79,8 +79,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# less noisy +CXXFLAGS="$SLKCFLAGS -std=c++14 -Wno-deprecated" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ |