[arch-commits] Commit in mupen64plus/trunk (PKGBUILD ui-console-pic.patch)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Sep 15 20:01:18 UTC 2017


    Date: Friday, September 15, 2017 @ 20:01:17
  Author: bpiotrowski
Revision: 257724

Build ui-console with -fPIC

Added:
  mupen64plus/trunk/ui-console-pic.patch
Modified:
  mupen64plus/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   13 ++++++++++---
 ui-console-pic.patch |   12 ++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-15 19:56:28 UTC (rev 257723)
+++ PKGBUILD	2017-09-15 20:01:17 UTC (rev 257724)
@@ -7,7 +7,7 @@
 
 pkgname=mupen64plus
 pkgver=2.5
-pkgrel=8
+pkgrel=9
 pkgdesc='Nintendo64 Emulator'
 arch=('i686' 'x86_64')
 url='https://github.com/mupen64plus/mupen64plus-core'
@@ -14,9 +14,16 @@
 license=('GPL')
 depends=('glu' 'libsamplerate' 'libpng' 'sdl' 'freetype2' 'boost-libs')
 makedepends=('mesa' 'boost')
-source=("https://github.com/mupen64plus/mupen64plus-core/releases/download/2.5/mupen64plus-bundle-src-${pkgver}.tar.gz")
-sha256sums=('9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66')
+source=("https://github.com/mupen64plus/mupen64plus-core/releases/download/2.5/mupen64plus-bundle-src-${pkgver}.tar.gz"
+        'ui-console-pic.patch')
+sha256sums=('9c75b9d826f2d24666175f723a97369b3a6ee159b307f7cc876bbb4facdbba66'
+            'bb4784de177aaa4c0b4f5d07b14ae020f3b47e6aa524df65366ac00eb169ee8f')
 
+prepare() {
+  cd mupen64plus-bundle-src-$pkgver
+  patch -p1 -i ../ui-console-pic.patch
+}
+
 build() {
   cd mupen64plus-bundle-src-${pkgver}
 

Added: ui-console-pic.patch
===================================================================
--- ui-console-pic.patch	                        (rev 0)
+++ ui-console-pic.patch	2017-09-15 20:01:17 UTC (rev 257724)
@@ -0,0 +1,12 @@
+diff --git a/source/mupen64plus-ui-console/projects/unix/Makefile b/source/mupen64plus-ui-console/projects/unix/Makefile
+index a4a05e3..199f27f 100755
+--- a/source/mupen64plus-ui-console/projects/unix/Makefile
++++ b/source/mupen64plus-ui-console/projects/unix/Makefile
+@@ -90,6 +90,7 @@ endif
+ 
+ # set special flags per-system
+ ifeq ($(OS), LINUX)
++  CFLAGS += -fPIC
+   LDLIBS += -ldl
+ endif
+ ifeq ($(OS), OSX)



More information about the arch-commits mailing list