e2fsprogs: update bbappend for 1.42.9
[opendreambox.git] / meta-opendreambox / recipes-graphics / mesa / mesa-gl-9.1.6 / 02_gbm_no_undefined.patch
1 Source: git://git.debian.org/git/pkg-xorg/lib/mesa
2 commit 012d959a18d229601de040d8d557572330809eb9
3 Author: Julien Cristau <jcristau@debian.org>
4 Date:   Tue Jun 25 21:33:41 2013 +0200
5
6     Make sure libgbm doesn't have undefined symbols.
7
8 diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
9 index e22c55c..556eb03 100644
10 --- a/src/gbm/Makefile.am
11 +++ b/src/gbm/Makefile.am
12 @@ -18,7 +18,7 @@ libgbm_la_SOURCES = \
13         main/gbm.c \
14         main/backend.c \
15         main/common.c
16 -libgbm_la_LDFLAGS = -version-info 1:0
17 +libgbm_la_LDFLAGS = -version-info 1:0 -Wl,-z,defs
18  libgbm_la_LIBADD = $(LIBUDEV_LIBS) $(LIBKMS_LIBS) $(DLOPEN_LIBS)
19  
20  if HAVE_EGL_PLATFORM_WAYLAND
21 @@ -39,6 +39,8 @@ libgbm_dri_la_CFLAGS = \
22  
23  libgbm_la_LIBADD += \
24         libgbm_dri.la $(top_builddir)/src/mapi/shared-glapi/libglapi.la
25 +
26 +libgbm_la_LDFLAGS += $(LIBDRM_LIBS)
27  endif
28  
29  all-local: libgbm.la