diff --git a/srcpkgs/mupen64plus/patches/ui-console-pic.patch b/srcpkgs/mupen64plus/patches/ui-console-pic.patch new file mode 100644 index 00000000000..c448ac2f03c --- /dev/null +++ b/srcpkgs/mupen64plus/patches/ui-console-pic.patch @@ -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 +--- source/mupen64plus-ui-console/projects/unix/Makefile ++++ 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) diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template index cf2a0e3f46b..6980adeb8ea 100644 --- a/srcpkgs/mupen64plus/template +++ b/srcpkgs/mupen64plus/template @@ -1,7 +1,7 @@ # Template file for 'mupen64plus' pkgname=mupen64plus version=2.5 -revision=7 +revision=8 wrksrc="mupen64plus-bundle-src-${version}" hostmakedepends="pkg-config" makedepends="boost-devel SDL-devel speexdsp-devel freetype-devel glu-devel libpng-devel libsamplerate-devel"