diff options
-rwxr-xr-x | base/wavpack/Pkgfile | 3 | ||||
-rw-r--r-- | base/wavpack/gcc44.patch | 24 |
2 files changed, 1 insertions, 26 deletions
diff --git a/base/wavpack/Pkgfile b/base/wavpack/Pkgfile index 9fa54f4e7..7e19f3abf 100755 --- a/base/wavpack/Pkgfile +++ b/base/wavpack/Pkgfile @@ -2,13 +2,12 @@ # URL: http://www.wavpack.com/ # Maintainer: NuTyX core team # Packager: fred.galusik at gmail.com -# Depends on: name=wavpack version=4.50.1 release=2 source=(http://www.wavpack.com/$name-$version.tar.bz2\ - gcc44.patch) + http://nutyx.meticul.eu/files/patchs/$name/gcc44.patch) build() { cd $name-$version diff --git a/base/wavpack/gcc44.patch b/base/wavpack/gcc44.patch deleted file mode 100644 index 0ee4b1e76..000000000 --- a/base/wavpack/gcc44.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- src/wavpack_local.h.orig 2009-04-07 10:34:58.000000000 -0400 -+++ src/wavpack_local.h 2009-04-07 11:03:45.000000000 -0400 -@@ -745,9 +745,17 @@ - - #define _m_paddd(m1, m2) __builtin_ia32_paddd (m1, m2) - #define _m_pcmpeqd(m1, m2) __builtin_ia32_pcmpeqd (m1, m2) --#define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2) --#define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2) --#define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2) -+ -+#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) || __GNUC__ > 4 -+# define _m_pslldi(m1, m2) __builtin_ia32_pslldi ((__m64)m1, m2) -+# define _m_psradi(m1, m2) __builtin_ia32_psradi ((__m64)m1, m2) -+# define _m_psrldi(m1, m2) __builtin_ia32_psrldi ((__m64)m1, m2) -+#else -+# define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2) -+# define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2) -+# define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2) -+#endif -+ - #define _m_psubd(m1, m2) __builtin_ia32_psubd (m1, m2) - #define _m_punpckhdq(m1, m2) __builtin_ia32_punpckhdq (m1, m2) - #define _m_punpckldq(m1, m2) __builtin_ia32_punpckldq (m1, m2) - |