[arch-commits] Commit in dolphin-emu/repos (8 files)

2015-12-06 Thread Evangelos Foutras
Date: Monday, December 7, 2015 @ 08:15:48
  Author: foutrelis
Revision: 149687

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  dolphin-emu/repos/community-staging-i686/
  dolphin-emu/repos/community-staging-i686/PKGBUILD
(from rev 149686, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch
(from rev 149686, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch
(from rev 149686, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
  dolphin-emu/repos/community-staging-x86_64/
  dolphin-emu/repos/community-staging-x86_64/PKGBUILD
(from rev 149686, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-findx11.patch
(from rev 149686, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-gcc49.patch
(from rev 149686, dolphin-emu/trunk/dolphin-emu-gcc49.patch)

+
 community-staging-i686/PKGBUILD|   55 +++
 community-staging-i686/dolphin-emu-findx11.patch   |   11 +++
 community-staging-i686/dolphin-emu-gcc49.patch |   17 +
 community-staging-x86_64/PKGBUILD  |   55 +++
 community-staging-x86_64/dolphin-emu-findx11.patch |   11 +++
 community-staging-x86_64/dolphin-emu-gcc49.patch   |   17 +
 6 files changed, 166 insertions(+)

Copied: dolphin-emu/repos/community-staging-i686/PKGBUILD (from rev 149686, 
dolphin-emu/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 07:15:48 UTC (rev 149687)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: schuay 
+# Maintainer: Maxime Gauduin 
+# Contributor: Jeremy Newton (Mystro256) 
+
+pkgname=dolphin-emu
+pkgver=4.0.2
+pkgrel=13
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=('i686' 'x86_64')
+url='http://dolphin-emu.org'
+license=('GPL2')
+
+makedepends=('cmake' 'opencl-headers')
+depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio'
+ 'sdl2' 'soundtouch' 'wxgtk')
+optdepends=('pulseaudio: PulseAudio backend')
+
+options=('!emptydirs')
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/${pkgver}.tar.gz";
+'dolphin-emu-findx11.patch'
+'dolphin-emu-gcc49.patch')
+md5sums=('95436ade64fc8ed2fe4b2ed5306dc879'
+ 'f9a692b76263f3efae9793c4879bc2c5'
+ '5fead49fc3a0ff9a9d1435368b5df1f9')
+
+prepare() {
+  cd dolphin-${pkgver}
+
+  patch -Np1 -i ../dolphin-emu-findx11.patch
+  patch -Np1 -i ../dolphin-emu-gcc49.patch
+
+  # Compatibility with miniupnpc 1.9.20150730, which requires a new ttl 
argument.
+  sed -i 's:upnpDiscover(2000, NULL, NULL, 0, 0, 
&upnperror);:upnpDiscover(2000, NULL, NULL, 0, 0, 2, \&upnperror);:' \
+  Source/Core/Core/Src/NetPlayServer.cpp
+}
+
+build() {
+  cd dolphin-${pkgver}
+
+  mkdir build && cd build
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX='/usr' \
+-DCMAKE_CXX_FLAGS='-fno-inline-functions -fpermissive'
+  make
+}
+
+package() {
+  cd dolphin-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/lib/libpolarssl.a"
+}

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch 
(from rev 149686, dolphin-emu/trunk/dolphin-emu-findx11.patch)
===
--- community-staging-i686/dolphin-emu-findx11.patch
(rev 0)
+++ community-staging-i686/dolphin-emu-findx11.patch2015-12-07 07:15:48 UTC 
(rev 149687)
@@ -0,0 +1,11 @@
+diff -rupN dolphin-4.0.2.orig/CMakeLists.txt dolphin-4.0.2/CMakeLists.txt
+--- dolphin-4.0.2.orig/CMakeLists.txt  2015-03-31 15:05:43.953995860 +0200
 dolphin-4.0.2/CMakeLists.txt   2015-03-31 15:06:53.379078333 +0200
+@@ -417,6 +417,7 @@ if(NOT ANDROID)
+ 
+   # Note: We do not need to explicitly check for X11 as it is 
done in the cmake
+   # FindOpenGL module on linux.
++  include(FindX11)
+   if(USE_X11 AND X11_FOUND)
+   set(USE_X11 1)
+   add_definitions(-DHAVE_X11=1)

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch (from 
rev 149686, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
===
--- community-staging-i686/dolphin-emu-gcc49.patch  
(rev 0)
+++ community-staging-i686/dolphin-emu-gcc49.patch  2015-12-07 07:15:48 UTC 
(rev 149687)
@@ -0,0 +1,17 @@
+diff -rupN dolphin.orig/Source/Core/Common/Src/CommonFuncs.h 
dolphin/Source/Core/Common/Src/CommonFuncs.h
+--- dolphin.orig/Source/Core/Common/Src/CommonFuncs.h  2014-08-19 
02:36:05.555642000 +0200
 dolphin/Source/Cor

[arch-commits] Commit in dolphin-emu/repos (8 files)

2015-10-09 Thread Evangelos Foutras
Date: Friday, October 9, 2015 @ 20:40:09
  Author: foutrelis
Revision: 143510

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  dolphin-emu/repos/community-staging-i686/
  dolphin-emu/repos/community-staging-i686/PKGBUILD
(from rev 143509, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch
(from rev 143509, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch
(from rev 143509, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
  dolphin-emu/repos/community-staging-x86_64/
  dolphin-emu/repos/community-staging-x86_64/PKGBUILD
(from rev 143509, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-findx11.patch
(from rev 143509, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-gcc49.patch
(from rev 143509, dolphin-emu/trunk/dolphin-emu-gcc49.patch)

+
 community-staging-i686/PKGBUILD|   55 +++
 community-staging-i686/dolphin-emu-findx11.patch   |   11 +++
 community-staging-i686/dolphin-emu-gcc49.patch |   17 +
 community-staging-x86_64/PKGBUILD  |   55 +++
 community-staging-x86_64/dolphin-emu-findx11.patch |   11 +++
 community-staging-x86_64/dolphin-emu-gcc49.patch   |   17 +
 6 files changed, 166 insertions(+)

Copied: dolphin-emu/repos/community-staging-i686/PKGBUILD (from rev 143509, 
dolphin-emu/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-10-09 18:40:09 UTC (rev 143510)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: schuay 
+# Maintainer: Maxime Gauduin 
+# Contributor: Jeremy Newton (Mystro256) 
+
+pkgname=dolphin-emu
+pkgver=4.0.2
+pkgrel=11
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=('i686' 'x86_64')
+url='http://dolphin-emu.org'
+license=('GPL2')
+
+makedepends=('cmake' 'opencl-headers')
+depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio'
+ 'sdl2' 'soundtouch' 'wxgtk')
+optdepends=('pulseaudio: PulseAudio backend')
+
+options=('!emptydirs')
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/${pkgver}.tar.gz";
+'dolphin-emu-findx11.patch'
+'dolphin-emu-gcc49.patch')
+md5sums=('95436ade64fc8ed2fe4b2ed5306dc879'
+ 'f9a692b76263f3efae9793c4879bc2c5'
+ '5fead49fc3a0ff9a9d1435368b5df1f9')
+
+prepare() {
+  cd dolphin-${pkgver}
+
+  patch -Np1 -i ../dolphin-emu-findx11.patch
+  patch -Np1 -i ../dolphin-emu-gcc49.patch
+
+  # Compatibility with miniupnpc 1.9.20150730, which requires a new ttl 
argument.
+  sed -i 's:upnpDiscover(2000, NULL, NULL, 0, 0, 
&upnperror);:upnpDiscover(2000, NULL, NULL, 0, 0, 2, \&upnperror);:' \
+  Source/Core/Core/Src/NetPlayServer.cpp
+}
+
+build() {
+  cd dolphin-${pkgver}
+
+  mkdir build && cd build
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX='/usr' \
+-DCMAKE_CXX_FLAGS='-fno-inline-functions -fpermissive'
+  make
+}
+
+package() {
+  cd dolphin-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/lib/libpolarssl.a"
+}

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch 
(from rev 143509, dolphin-emu/trunk/dolphin-emu-findx11.patch)
===
--- community-staging-i686/dolphin-emu-findx11.patch
(rev 0)
+++ community-staging-i686/dolphin-emu-findx11.patch2015-10-09 18:40:09 UTC 
(rev 143510)
@@ -0,0 +1,11 @@
+diff -rupN dolphin-4.0.2.orig/CMakeLists.txt dolphin-4.0.2/CMakeLists.txt
+--- dolphin-4.0.2.orig/CMakeLists.txt  2015-03-31 15:05:43.953995860 +0200
 dolphin-4.0.2/CMakeLists.txt   2015-03-31 15:06:53.379078333 +0200
+@@ -417,6 +417,7 @@ if(NOT ANDROID)
+ 
+   # Note: We do not need to explicitly check for X11 as it is 
done in the cmake
+   # FindOpenGL module on linux.
++  include(FindX11)
+   if(USE_X11 AND X11_FOUND)
+   set(USE_X11 1)
+   add_definitions(-DHAVE_X11=1)

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch (from 
rev 143509, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
===
--- community-staging-i686/dolphin-emu-gcc49.patch  
(rev 0)
+++ community-staging-i686/dolphin-emu-gcc49.patch  2015-10-09 18:40:09 UTC 
(rev 143510)
@@ -0,0 +1,17 @@
+diff -rupN dolphin.orig/Source/Core/Common/Src/CommonFuncs.h 
dolphin/Source/Core/Common/Src/CommonFuncs.h
+--- dolphin.orig/Source/Core/Common/Src/CommonFuncs.h  2014-08-19 
02:36:05.555642000 +0200
 dolphin/Source/Core

[arch-commits] Commit in dolphin-emu/repos (8 files)

2015-09-28 Thread Felix Yan
Date: Tuesday, September 29, 2015 @ 06:59:06
  Author: fyan
Revision: 142184

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  dolphin-emu/repos/community-staging-i686/
  dolphin-emu/repos/community-staging-i686/PKGBUILD
(from rev 142183, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch
(from rev 142183, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch
(from rev 142183, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
  dolphin-emu/repos/community-staging-x86_64/
  dolphin-emu/repos/community-staging-x86_64/PKGBUILD
(from rev 142183, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-findx11.patch
(from rev 142183, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-gcc49.patch
(from rev 142183, dolphin-emu/trunk/dolphin-emu-gcc49.patch)

+
 community-staging-i686/PKGBUILD|   55 +++
 community-staging-i686/dolphin-emu-findx11.patch   |   11 +++
 community-staging-i686/dolphin-emu-gcc49.patch |   17 +
 community-staging-x86_64/PKGBUILD  |   55 +++
 community-staging-x86_64/dolphin-emu-findx11.patch |   11 +++
 community-staging-x86_64/dolphin-emu-gcc49.patch   |   17 +
 6 files changed, 166 insertions(+)

Copied: dolphin-emu/repos/community-staging-i686/PKGBUILD (from rev 142183, 
dolphin-emu/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-29 04:59:06 UTC (rev 142184)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: schuay 
+# Maintainer: Maxime Gauduin 
+# Contributor: Jeremy Newton (Mystro256) 
+
+pkgname=dolphin-emu
+pkgver=4.0.2
+pkgrel=10
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=('i686' 'x86_64')
+url='http://dolphin-emu.org'
+license=('GPL2')
+
+makedepends=('cmake' 'opencl-headers')
+depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio'
+ 'sdl2' 'soundtouch' 'wxgtk')
+optdepends=('pulseaudio: PulseAudio backend')
+
+options=('!emptydirs')
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/${pkgver}.tar.gz";
+'dolphin-emu-findx11.patch'
+'dolphin-emu-gcc49.patch')
+md5sums=('95436ade64fc8ed2fe4b2ed5306dc879'
+ 'f9a692b76263f3efae9793c4879bc2c5'
+ '5fead49fc3a0ff9a9d1435368b5df1f9')
+
+prepare() {
+  cd dolphin-${pkgver}
+
+  patch -Np1 -i ../dolphin-emu-findx11.patch
+  patch -Np1 -i ../dolphin-emu-gcc49.patch
+
+  # Compatibility with miniupnpc 1.9.20150730, which requires a new ttl 
argument.
+  sed -i 's:upnpDiscover(2000, NULL, NULL, 0, 0, 
&upnperror);:upnpDiscover(2000, NULL, NULL, 0, 0, 2, \&upnperror);:' \
+  Source/Core/Core/Src/NetPlayServer.cpp
+}
+
+build() {
+  cd dolphin-${pkgver}
+
+  mkdir build && cd build
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX='/usr' \
+-DCMAKE_CXX_FLAGS='-fno-inline-functions -fpermissive'
+  make
+}
+
+package() {
+  cd dolphin-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/lib/libpolarssl.a"
+}

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch 
(from rev 142183, dolphin-emu/trunk/dolphin-emu-findx11.patch)
===
--- community-staging-i686/dolphin-emu-findx11.patch
(rev 0)
+++ community-staging-i686/dolphin-emu-findx11.patch2015-09-29 04:59:06 UTC 
(rev 142184)
@@ -0,0 +1,11 @@
+diff -rupN dolphin-4.0.2.orig/CMakeLists.txt dolphin-4.0.2/CMakeLists.txt
+--- dolphin-4.0.2.orig/CMakeLists.txt  2015-03-31 15:05:43.953995860 +0200
 dolphin-4.0.2/CMakeLists.txt   2015-03-31 15:06:53.379078333 +0200
+@@ -417,6 +417,7 @@ if(NOT ANDROID)
+ 
+   # Note: We do not need to explicitly check for X11 as it is 
done in the cmake
+   # FindOpenGL module on linux.
++  include(FindX11)
+   if(USE_X11 AND X11_FOUND)
+   set(USE_X11 1)
+   add_definitions(-DHAVE_X11=1)

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch (from 
rev 142183, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
===
--- community-staging-i686/dolphin-emu-gcc49.patch  
(rev 0)
+++ community-staging-i686/dolphin-emu-gcc49.patch  2015-09-29 04:59:06 UTC 
(rev 142184)
@@ -0,0 +1,17 @@
+diff -rupN dolphin.orig/Source/Core/Common/Src/CommonFuncs.h 
dolphin/Source/Core/Common/Src/CommonFuncs.h
+--- dolphin.orig/Source/Core/Common/Src/CommonFuncs.h  2014-08-19 
02:36:05.555642000 +0200
 dolphin/Source/Core/

[arch-commits] Commit in dolphin-emu/repos (8 files)

2015-03-31 Thread Maxime Gauduin
Date: Tuesday, March 31, 2015 @ 15:19:22
  Author: alucryd
Revision: 130407

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  dolphin-emu/repos/community-staging-i686/
  dolphin-emu/repos/community-staging-i686/PKGBUILD
(from rev 130406, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch
(from rev 130406, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch
(from rev 130406, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
  dolphin-emu/repos/community-staging-x86_64/
  dolphin-emu/repos/community-staging-x86_64/PKGBUILD
(from rev 130406, dolphin-emu/trunk/PKGBUILD)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-findx11.patch
(from rev 130406, dolphin-emu/trunk/dolphin-emu-findx11.patch)
  dolphin-emu/repos/community-staging-x86_64/dolphin-emu-gcc49.patch
(from rev 130406, dolphin-emu/trunk/dolphin-emu-gcc49.patch)

+
 community-staging-i686/PKGBUILD|   51 +++
 community-staging-i686/dolphin-emu-findx11.patch   |   11 
 community-staging-i686/dolphin-emu-gcc49.patch |   17 ++
 community-staging-x86_64/PKGBUILD  |   51 +++
 community-staging-x86_64/dolphin-emu-findx11.patch |   11 
 community-staging-x86_64/dolphin-emu-gcc49.patch   |   17 ++
 6 files changed, 158 insertions(+)

Copied: dolphin-emu/repos/community-staging-i686/PKGBUILD (from rev 130406, 
dolphin-emu/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-03-31 13:19:22 UTC (rev 130407)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: schuay 
+# Maintainer: Maxime Gauduin 
+# Contributor: Jeremy Newton (Mystro256) 
+
+pkgname=dolphin-emu
+pkgver=4.0.2
+pkgrel=8
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=('i686' 'x86_64')
+url='http://dolphin-emu.org'
+license=('GPL2')
+
+makedepends=('cmake' 'opencl-headers')
+depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio'
+ 'sdl2' 'soundtouch' 'wxgtk')
+optdepends=('pulseaudio: PulseAudio backend')
+
+options=('!emptydirs')
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/${pkgver}.tar.gz";
+'dolphin-emu-findx11.patch'
+'dolphin-emu-gcc49.patch')
+md5sums=('95436ade64fc8ed2fe4b2ed5306dc879'
+ 'f9a692b76263f3efae9793c4879bc2c5'
+ '5fead49fc3a0ff9a9d1435368b5df1f9')
+
+prepare() {
+  cd dolphin-${pkgver}
+
+  patch -Np1 -i ../dolphin-emu-findx11.patch
+  patch -Np1 -i ../dolphin-emu-gcc49.patch
+}
+
+build() {
+  cd dolphin-${pkgver}
+
+  mkdir build && cd build
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX='/usr' \
+-DCMAKE_CXX_FLAGS='-fno-inline-functions -fpermissive'
+  make
+}
+
+package() {
+  cd dolphin-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}/usr/lib/libpolarssl.a"
+}

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-findx11.patch 
(from rev 130406, dolphin-emu/trunk/dolphin-emu-findx11.patch)
===
--- community-staging-i686/dolphin-emu-findx11.patch
(rev 0)
+++ community-staging-i686/dolphin-emu-findx11.patch2015-03-31 13:19:22 UTC 
(rev 130407)
@@ -0,0 +1,11 @@
+diff -rupN dolphin-4.0.2.orig/CMakeLists.txt dolphin-4.0.2/CMakeLists.txt
+--- dolphin-4.0.2.orig/CMakeLists.txt  2015-03-31 15:05:43.953995860 +0200
 dolphin-4.0.2/CMakeLists.txt   2015-03-31 15:06:53.379078333 +0200
+@@ -417,6 +417,7 @@ if(NOT ANDROID)
+ 
+   # Note: We do not need to explicitly check for X11 as it is 
done in the cmake
+   # FindOpenGL module on linux.
++  include(FindX11)
+   if(USE_X11 AND X11_FOUND)
+   set(USE_X11 1)
+   add_definitions(-DHAVE_X11=1)

Copied: dolphin-emu/repos/community-staging-i686/dolphin-emu-gcc49.patch (from 
rev 130406, dolphin-emu/trunk/dolphin-emu-gcc49.patch)
===
--- community-staging-i686/dolphin-emu-gcc49.patch  
(rev 0)
+++ community-staging-i686/dolphin-emu-gcc49.patch  2015-03-31 13:19:22 UTC 
(rev 130407)
@@ -0,0 +1,17 @@
+diff -rupN dolphin.orig/Source/Core/Common/Src/CommonFuncs.h 
dolphin/Source/Core/Common/Src/CommonFuncs.h
+--- dolphin.orig/Source/Core/Common/Src/CommonFuncs.h  2014-08-19 
02:36:05.555642000 +0200
 dolphin/Source/Core/Common/Src/CommonFuncs.h   2014-08-19 
02:38:44.301036700 +0200
+@@ -30,7 +30,12 @@ struct ArraySizeImpl : public std::exten
+ #define b32(x)  (b16(x) | (b16(x) >>16) )
+ #define ROUND_UP_POW2(x)  (b32(x - 1) + 1)
+ 
+-#if defined __GNUC__ && !