updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / libdrm-kms / no-pthread-stubs.patch
blobd5c38040bfc05e2d59d361c9578503b7ca4064a0
1 diff -ru libdrm-2.4.0/libdrm/radeon/Makefile.am libdrm-2.4.0-nostubs/libdrm/radeon/Makefile.am
2 --- libdrm-2.4.0/libdrm/radeon/Makefile.am 2009-04-12 00:37:37.000000000 -0400
3 +++ libdrm-2.4.0-nostubs/libdrm/radeon/Makefile.am 2009-04-12 00:38:13.000000000 -0400
4 @@ -26,13 +26,12 @@
5 $(WARN_CFLAGS) \
6 -I$(top_srcdir)/libdrm \
7 -I$(top_srcdir)/libdrm/radeon \
8 - $(PTHREADSTUBS_CFLAGS) \
9 -I$(top_srcdir)/shared-core
11 libdrm_radeon_la_LTLIBRARIES = libdrm_radeon.la
12 libdrm_radeon_ladir = $(libdir)
13 libdrm_radeon_la_LDFLAGS = -version-number 1:0:0 -no-undefined
14 -libdrm_radeon_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
15 +libdrm_radeon_la_LIBADD = ../libdrm.la
17 libdrm_radeon_la_SOURCES = \
18 radeon_bo_gem.c \
19 diff -ru libdrm-2.4.0/configure.ac libdrm-2.4.0-nostubs/configure.ac
20 --- libdrm-2.4.0/configure.ac 2008-10-09 21:57:09.000000000 +0200
21 +++ libdrm-2.4.0-nostubs/configure.ac 2008-10-21 10:48:24.000000000 +0200
22 @@ -32,10 +32,6 @@
23 AC_HEADER_STDC
24 AC_SYS_LARGEFILE
26 -PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)
27 -AC_SUBST(PTHREADSTUBS_CFLAGS)
28 -AC_SUBST(PTHREADSTUBS_LIBS)
30 pkgconfigdir=${libdir}/pkgconfig
31 AC_SUBST(pkgconfigdir)
32 AC_ARG_ENABLE(udev, AS_HELP_STRING([--enable-udev],
33 diff -ru libdrm-2.4.0/libdrm/intel/Makefile.am libdrm-2.4.0-nostubs/libdrm/intel/Makefile.am
34 --- libdrm-2.4.0/libdrm/intel/Makefile.am 2008-10-14 01:39:32.000000000 +0200
35 +++ libdrm-2.4.0-nostubs/libdrm/intel/Makefile.am 2008-10-21 10:49:00.000000000 +0200
36 @@ -26,13 +26,12 @@
37 $(WARN_CFLAGS) \
38 -I$(top_srcdir)/libdrm \
39 -I$(top_srcdir)/libdrm/intel \
40 - $(PTHREADSTUBS_CFLAGS) \
41 -I$(top_srcdir)/shared-core
43 libdrm_intel_la_LTLIBRARIES = libdrm_intel.la
44 libdrm_intel_ladir = $(libdir)
45 libdrm_intel_la_LDFLAGS = -version-number 1:0:0 -no-undefined
46 -libdrm_intel_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
47 +libdrm_intel_la_LIBADD = ../libdrm.la
49 libdrm_intel_la_SOURCES = \
50 intel_bufmgr.c \
51 --- libdrm-2.4.5/libdrm/nouveau/Makefile.am.orig 2009-02-28 19:06:24.000000000 +0000
52 +++ libdrm-2.4.5/libdrm/nouveau/Makefile.am 2009-02-28 19:06:33.000000000 +0000
53 @@ -2,13 +2,12 @@
54 $(WARN_CFLAGS) \
55 -I$(top_srcdir)/libdrm \
56 -I$(top_srcdir)/libdrm/nouveau \
57 - $(PTHREADSTUBS_CFLAGS) \
58 -I$(top_srcdir)/shared-core
60 libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la
61 libdrm_nouveau_ladir = $(libdir)
62 libdrm_nouveau_la_LDFLAGS = -version-number 1:0:0 -no-undefined
63 -libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
64 +libdrm_nouveau_la_LIBADD = ../libdrm.la
66 libdrm_nouveau_la_SOURCES = \
67 nouveau_device.c \