git » libmikmod.git » commit 872aaba

3.3.6

author Jan Alexander Steffens
2014-03-22 19:32:40 UTC
committer Jan Alexander Steffens
2014-03-22 19:32:40 UTC
parent 2a224505eaa6945419057332ea0590cb551d9245

3.3.6

PKGBUILD +2 -2
libmikmod-3.1.12-loopingvolume-fix.diff +0 -15
libmikmod-3.2.0-64bit-fix.diff +0 -12

diff --git a/PKGBUILD b/PKGBUILD
index 7f356bf..6b90c06 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
 
 pkgname=libmikmod
-pkgver=3.3.5
+pkgver=3.3.6
 pkgrel=1
 pkgdesc="A portable sound library"
 license=(GPL LGPL)
@@ -13,7 +13,7 @@ depends=(libpulse sh)
 makedepends=(alsa-lib)
 install=$pkgname.install
 source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz)
-sha256sums=('b714ee340a04e6867f60246f679e0f40063b92f99269b6b715c8bf19ad469fb6')
+sha256sums=('3f363e03f7b1db75b9b6602841bbd440ed275a548e53545f980df8155de4d330')
 
 prepare() {
   mkdir build
diff --git a/libmikmod-3.1.12-loopingvolume-fix.diff b/libmikmod-3.1.12-loopingvolume-fix.diff
deleted file mode 100644
index f0ce70e..0000000
--- a/libmikmod-3.1.12-loopingvolume-fix.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-Yi-Huang Han - Wed Oct 24 21:55:47 PDT 2001
- * Fixed MOD music volume when looping
-
-diff -ru libmikmod-3.1.12.orig/playercode/mplayer.c libmikmod-3.1.12/playercode/mplayer.c
---- libmikmod-3.1.12.orig/playercode/mplayer.c	2009-10-05 00:19:59.000000000 -0700
-+++ libmikmod-3.1.12/playercode/mplayer.c	2009-10-05 00:44:35.000000000 -0700
-@@ -3019,7 +3019,7 @@
- {
- 	MUTEX_LOCK(vars);
- 	if (pf)
--		pf->volume=(volume<0)?0:(volume>128)?128:volume;
-+		pf->volume=pf->initvolume=(volume<0)?0:(volume>128)?128:volume;
- 	MUTEX_UNLOCK(vars);
- }
- 
diff --git a/libmikmod-3.2.0-64bit-fix.diff b/libmikmod-3.2.0-64bit-fix.diff
deleted file mode 100644
index c965f9a..0000000
--- a/libmikmod-3.2.0-64bit-fix.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -u -r libmikmod-3.2.0-orig/include/mikmod.h libmikmod-3.2.0/include/mikmod.h
---- libmikmod-3.2.0-orig/include/mikmod.h	2012-06-01 15:15:42.000000000 +0200
-+++ libmikmod-3.2.0/include/mikmod.h	2012-10-03 20:03:48.173576199 +0200
-@@ -85,7 +85,7 @@
- 
- 
- 
--#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(__powerpc64__)
-+#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) || defined(__powerpc64__) || defined(_LP64)
- /* 64 bit architectures */
- 
- typedef signed char     SBYTE;      /* 1 byte, signed */