From e98638178d6764fd2c52644f3f4ea15fdd094cb5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 9 Feb 2012 16:55:15 +0100 Subject: [PATCH] mesa-demos: add a patch to make this build. --- srcpkgs/mesa-demos/patches/missing_symbols.patch | 15 +++++++++++++++ srcpkgs/mesa-demos/template | 1 - 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/mesa-demos/patches/missing_symbols.patch diff --git a/srcpkgs/mesa-demos/patches/missing_symbols.patch b/srcpkgs/mesa-demos/patches/missing_symbols.patch new file mode 100644 index 00000000000..50ff90a72ce --- /dev/null +++ b/srcpkgs/mesa-demos/patches/missing_symbols.patch @@ -0,0 +1,15 @@ +--- src/egl/opengl/Makefile.in.orig 2012-02-09 16:52:51.621534418 +0100 ++++ src/egl/opengl/Makefile.in 2012-02-09 16:53:23.244536622 +0100 +@@ -111,10 +111,10 @@ peglgears_OBJECTS = peglgears.$(OBJEXT) + peglgears_LDADD = $(LDADD) + xeglgears_SOURCES = xeglgears.c + xeglgears_OBJECTS = xeglgears.$(OBJEXT) +-xeglgears_LDADD = $(LDADD) ++xeglgears_LDADD = $(LDADD) -lX11 + xeglthreads_SOURCES = xeglthreads.c + xeglthreads_OBJECTS = xeglthreads.$(OBJEXT) +-xeglthreads_LDADD = $(LDADD) ++xeglthreads_LDADD = $(LDADD) -lX11 -lpthread + DEFAULT_INCLUDES = -I.@am__isrc@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles diff --git a/srcpkgs/mesa-demos/template b/srcpkgs/mesa-demos/template index 3b38d90b7a1..bd48ef265f2 100644 --- a/srcpkgs/mesa-demos/template +++ b/srcpkgs/mesa-demos/template @@ -14,7 +14,6 @@ long_desc=" Inc. However, the author makes no claim that Mesa is in any way a compatible replacement for OpenGL or associated with Silicon Graphics, Inc." - Add_dependency build pkg-config Add_dependency build libX11-devel Add_dependency build libXext-devel