mesa-demos: add a patch to make this build.

This commit is contained in:
Juan RP 2012-02-09 16:55:15 +01:00
parent 4ab47aaf28
commit e98638178d
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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