diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-08 19:32:17 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 09:36:02 +0700 |
commit | 0056e5b522fe8065b2846c60b6e34f6897d54c26 (patch) | |
tree | fdc9b2a14f0d602050daa5da978cacd146fb0509 /desktop | |
parent | f9700c3fb5d4e48c4fcf63742250f93dcce74b3f (diff) |
desktop/macopix: Updated for version 3.4.0, fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/macopix/macopix.SlackBuild | 12 | ||||
-rw-r--r-- | desktop/macopix/macopix.info | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/desktop/macopix/macopix.SlackBuild b/desktop/macopix/macopix.SlackBuild index 14fc2cb223b46..069597e6f3803 100644 --- a/desktop/macopix/macopix.SlackBuild +++ b/desktop/macopix/macopix.SlackBuild @@ -7,14 +7,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=macopix -VERSION=${VERSION:-1.7.4} +VERSION=${VERSION:-3.4.0} BUILD=${BUILD:-1} 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 @@ -32,8 +32,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" @@ -52,7 +52,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -68,7 +68,7 @@ sed -i \ configure LDFLAGS="-lX11" \ -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/desktop/macopix/macopix.info b/desktop/macopix/macopix.info index c897ddc2cd402..dfbeb2864e2b2 100644 --- a/desktop/macopix/macopix.info +++ b/desktop/macopix/macopix.info @@ -1,8 +1,8 @@ PRGNAM="macopix" -VERSION="1.7.4" +VERSION="3.4.0" HOMEPAGE="http://rosegray.sakura.ne.jp/macopix/index-e.html" -DOWNLOAD="http://rosegray.sakura.ne.jp/macopix/macopix-1.7.4.tar.bz2" -MD5SUM="dee0d3ad046891bd6ec8c0d01d631bb5" +DOWNLOAD="http://rosegray.sakura.ne.jp/macopix/macopix-3.4.0.tar.gz" +MD5SUM="85cdbfa9e0ea5e825a01a7ef1023e7fc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |