From 8308bbbb0816e8b517cc629fd1c422bb138ea3e2 Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 6 Sep 2012 15:11:23 -0400 Subject: misc/megatunix: Updated for version 0.9.23. Signed-off-by: dsomero --- misc/megatunix/glib-single-include.patch | 13 +++++++++++++ misc/megatunix/megatunix.SlackBuild | 16 ++++++++-------- misc/megatunix/megatunix.info | 6 +++--- 3 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 misc/megatunix/glib-single-include.patch (limited to 'misc') diff --git a/misc/megatunix/glib-single-include.patch b/misc/megatunix/glib-single-include.patch new file mode 100644 index 0000000000..75d4b034f6 --- /dev/null +++ b/misc/megatunix/glib-single-include.patch @@ -0,0 +1,13 @@ +Index: megatunix-0.9.23/msloader/mtxloader.c +=================================================================== +--- megatunix-0.9.23.orig/msloader/mtxloader.c ++++ megatunix-0.9.23/msloader/mtxloader.c +@@ -5,7 +5,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild index 6adb54c0e8..cc47791208 100644 --- a/misc/megatunix/megatunix.SlackBuild +++ b/misc/megatunix/megatunix.SlackBuild @@ -17,18 +17,14 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=megatunix -VERSION=0.9.19_beta1 +VERSION=0.9.23 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRC_VERSION="$(printf $VERSION | tr _ -)" - -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -57,12 +53,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRC_VERSION -tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz -cd $PRGNAM-$SRC_VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . +# Starting with glib 2.32 it is now mandatory to +# include glib.h instead of individual headers. +patch -p1 -i $CWD/glib-single-include.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/misc/megatunix/megatunix.info b/misc/megatunix/megatunix.info index 4901b0cce0..7e5a77dfcf 100644 --- a/misc/megatunix/megatunix.info +++ b/misc/megatunix/megatunix.info @@ -1,8 +1,8 @@ PRGNAM="megatunix" -VERSION="0.9.19_beta1" +VERSION="0.9.23" HOMEPAGE="http://megatunix.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/project/megatunix/MegaTunix/0.9.19/megatunix-0.9.19-beta1.tar.gz" -MD5SUM="a8e321bd835736c0ad9e3e03cce9f67c" +DOWNLOAD="http://downloads.sourceforge.net/project/megatunix/MegaTunix/0.9.23/megatunix-0.9.23.tar.gz" +MD5SUM="a8f8ded09255d717b7711bfffb7e49f6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkglext" -- cgit v1.2.3