From 80c933d6bf902d046b893e4dfd0e812623901060 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 12 Dec 2020 16:38:35 +0100 Subject: multimedia/minidlna: Updated for version 1.3.0, fix for gcc >= 10.x. Signed-off-by: Matteo Bernardini --- multimedia/minidlna/minidlna.SlackBuild | 12 +++++------- multimedia/minidlna/minidlna.info | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'multimedia/minidlna') diff --git a/multimedia/minidlna/minidlna.SlackBuild b/multimedia/minidlna/minidlna.SlackBuild index a1e2d4b26a458..fe1e323072caa 100644 --- a/multimedia/minidlna/minidlna.SlackBuild +++ b/multimedia/minidlna/minidlna.SlackBuild @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=minidlna -VERSION=${VERSION:-1.1.5} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,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" @@ -70,9 +70,7 @@ 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 {} \; -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fcommon" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/multimedia/minidlna/minidlna.info b/multimedia/minidlna/minidlna.info index 1dad012127bb5..78915d092abd0 100644 --- a/multimedia/minidlna/minidlna.info +++ b/multimedia/minidlna/minidlna.info @@ -1,8 +1,8 @@ PRGNAM="minidlna" -VERSION="1.1.5" +VERSION="1.3.0" HOMEPAGE="http://minidlna.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.1.5.tar.gz" -MD5SUM="1970e553a1eb8a3e7e302e2ce292cbc4" +DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.3.0.tar.gz" +MD5SUM="89e92d1938ee3066631d4ca9fbf31507" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ffmpeg" -- cgit v1.2.3