aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa-demos/link.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-30 09:25:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-30 09:25:55 +0000
commit72cf2fcde755730edca403990c913867e082268b (patch)
tree0f8f86b4227d9a83fb3eddfea6148fe9479735a6 /main/mesa-demos/link.patch
parenta935b9d7eb1b9450c15560cb18b5d789b7414f25 (diff)
downloadaports-72cf2fcde755730edca403990c913867e082268b.tar.bz2
aports-72cf2fcde755730edca403990c913867e082268b.tar.xz
main/mesa-demos: fix linking to libx11
Diffstat (limited to 'main/mesa-demos/link.patch')
-rw-r--r--main/mesa-demos/link.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/mesa-demos/link.patch b/main/mesa-demos/link.patch
new file mode 100644
index 0000000000..f19b6bbc95
--- /dev/null
+++ b/main/mesa-demos/link.patch
@@ -0,0 +1,15 @@
+--- ./src/egl/opengl/Makefile.in.orig
++++ ./src/egl/opengl/Makefile.in
+@@ -111,10 +111,10 @@
+ peglgears_LDADD = $(LDADD)
+ xeglgears_SOURCES = xeglgears.c
+ xeglgears_OBJECTS = xeglgears.$(OBJEXT)
+-xeglgears_LDADD = $(LDADD)
++xeglgears_LDADD = $(LDADD) $(X11_LIBS)
+ xeglthreads_SOURCES = xeglthreads.c
+ xeglthreads_OBJECTS = xeglthreads.$(OBJEXT)
+-xeglthreads_LDADD = $(LDADD)
++xeglthreads_LDADD = $(LDADD) $(X11_LIBS) -lpthread
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles