pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

retroarch: fix build on arch linux with native x11



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Wed Jun 28 22:03:00 2017 +0100
Changeset:	c8ff1e27b3ab6006ff90604a4786a1517ef9cdfe

Modified Files:
	retroarch/distinfo
Added Files:
	retroarch/patches/patch-Makefile.common

Log Message:
retroarch: fix build on arch linux with native x11

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c8ff1e27b3ab6006ff90604a4786a1517ef9cdfe

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 retroarch/distinfo                      |  1 +
 retroarch/patches/patch-Makefile.common | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diffs:
diff --git a/retroarch/distinfo b/retroarch/distinfo
index 1a9922c673..34d332e6a1 100644
--- a/retroarch/distinfo
+++ b/retroarch/distinfo
@@ -5,5 +5,6 @@ RMD160 (retroarch-1.6.1.tar.gz) = 3b301a4e17fd156e5ffcce61a0b5c19811705184
 SHA512 (retroarch-1.6.1.tar.gz) = d97c88fa1c748629c53948c153a3b96278da02a6fa503a5f3aa1fe46c75af532d2739eef44f6c028118c71d6cfc38c3a886643e7d2c36ad4eb93eba4608fff8a
 Size (retroarch-1.6.1.tar.gz) = 16358704 bytes
 SHA1 (patch-Makefile) = 0a573beb9a95ab822eaa4056ccd260a0961b2d7b
+SHA1 (patch-Makefile.common) = ee3c0e6273d8a1c726f22423d261b10bb38b6ce3
 SHA1 (patch-frontend_drivers_platform__unix.c) = ad47823cdec50cc36e97f78b540d35a5ccf2d994
 SHA1 (patch-qb_qb.libs.sh) = bd92a7016e45fd6ee5a47300516c4028227384b2
diff --git a/retroarch/patches/patch-Makefile.common b/retroarch/patches/patch-Makefile.common
new file mode 100644
index 0000000000..fcffbcbd76
--- /dev/null
+++ b/retroarch/patches/patch-Makefile.common
@@ -0,0 +1,24 @@
+$NetBSD$
+
+Always add EGL_LIBS / EGL_CFLAGS when HAVE_EGL.
+
+--- Makefile.common.orig	2017-06-22 02:10:15.000000000 +0000
++++ Makefile.common
+@@ -834,8 +834,6 @@ ifeq ($(HAVE_GL_CONTEXT), 1)
+    ifeq ($(HAVE_X11), 1)
+       ifeq ($(HAVE_EGL), 1)
+          OBJ += gfx/drivers_context/xegl_ctx.o
+-         DEFINES += $(EGL_CFLAGS)
+-         LIBS += $(EGL_LIBS)
+       endif
+    endif
+    ifeq ($(HAVE_OSMESA), 1)
+@@ -881,6 +879,8 @@ endif
+ 
+ ifeq ($(HAVE_EGL), 1)
+    OBJ += gfx/common/egl_common.o
++   DEFINES += $(EGL_CFLAGS)
++   LIBS += $(EGL_LIBS)
+ endif
+ 
+ ifeq ($(HAVE_SDL2), 1)


Home | Main Index | Thread Index | Old Index