libdrm: update to 2.4.32.
This commit is contained in:
parent
1953d3aeee
commit
86f86b9e78
2 changed files with 6 additions and 69 deletions
|
@ -1,66 +0,0 @@
|
|||
diff -ru libdrm-2.4.0/configure.ac libdrm-2.4.0-nostubs/configure.ac
|
||||
--- libdrm-2.4.0/configure.ac 2008-10-09 21:57:09.000000000 +0200
|
||||
+++ libdrm-2.4.0-nostubs/configure.ac 2008-10-21 10:48:24.000000000 +0200
|
||||
@@ -47,10 +47,6 @@
|
||||
LT_INIT([disable-static])
|
||||
|
||||
|
||||
-PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)
|
||||
-AC_SUBST(PTHREADSTUBS_CFLAGS)
|
||||
-AC_SUBST(PTHREADSTUBS_LIBS)
|
||||
-
|
||||
PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
|
||||
AC_SUBST(PCIACCESS_CFLAGS)
|
||||
AC_SUBST(PCIACCESS_LIBS)
|
||||
--- libdrm-2.4.16/intel/Makefile.am 2009-11-20 23:54:36.000000000 +0000
|
||||
+++ libdrm-2.4.16/intel/Makefile.am.new 2009-12-07 08:11:32.235748069 +0000
|
||||
@@ -26,7 +26,6 @@
|
||||
$(WARN_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/intel \
|
||||
- $(PTHREADSTUBS_CFLAGS) \
|
||||
$(PCIACCESS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
||||
@@ -34,7 +33,6 @@
|
||||
libdrm_intel_ladir = $(libdir)
|
||||
libdrm_intel_la_LDFLAGS = -version-number 1:0:0 -no-undefined
|
||||
libdrm_intel_la_LIBADD = ../libdrm.la \
|
||||
- @PTHREADSTUBS_LIBS@ \
|
||||
@PCIACCESS_LIBS@ \
|
||||
@CLOCK_LIB@
|
||||
|
||||
--- libdrm-2.4.16/radeon/Makefile.am 2009-11-20 23:54:36.000000000 +0000
|
||||
+++ libdrm-2.4.16/radeon/Makefile.am.new 2009-12-07 08:12:31.889075388 +0000
|
||||
@@ -26,13 +26,12 @@
|
||||
$(WARN_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/radeon \
|
||||
- $(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
||||
libdrm_radeon_la_LTLIBRARIES = libdrm_radeon.la
|
||||
libdrm_radeon_ladir = $(libdir)
|
||||
libdrm_radeon_la_LDFLAGS = -version-number 1:0:0 -no-undefined
|
||||
-libdrm_radeon_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
|
||||
+libdrm_radeon_la_LIBADD = ../libdrm.la
|
||||
|
||||
libdrm_radeon_la_SOURCES = \
|
||||
radeon_bo_gem.c \
|
||||
--- libdrm-2.4.16/nouveau/Makefile.am 2009-11-20 23:54:36.000000000 +0000
|
||||
+++ libdrm-2.4.16/nouveau/Makefile.am.new 2009-12-07 08:13:01.489072320 +0000
|
||||
@@ -2,13 +2,12 @@
|
||||
$(WARN_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/nouveau \
|
||||
- $(PTHREADSTUBS_CFLAGS) \
|
||||
-I$(top_srcdir)/include/drm
|
||||
|
||||
libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la
|
||||
libdrm_nouveau_ladir = $(libdir)
|
||||
libdrm_nouveau_la_LDFLAGS = -version-number 1:0:0 -no-undefined
|
||||
-libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
|
||||
+libdrm_nouveau_la_LIBADD = ../libdrm.la
|
||||
|
||||
libdrm_nouveau_la_SOURCES = \
|
||||
nouveau_device.c \
|
|
@ -1,7 +1,6 @@
|
|||
# Template build file for 'libdrm'.
|
||||
pkgname=libdrm
|
||||
version=2.4.31
|
||||
patch_args="-Np1"
|
||||
version=2.4.32
|
||||
distfiles="http://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-udev --enable-vmwgfx-experimental-api
|
||||
|
@ -10,7 +9,7 @@ short_desc="Userspace interface to kernel DRM services"
|
|||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://dri.freedesktop.org/"
|
||||
license="MIT"
|
||||
checksum=8fc7e0e5b2f9bf493447a4ef7adc49174a700824457774cb53c1b8f2da866af4
|
||||
checksum=9ba8a1613de57af8f501a162747ed69aff30d63fc1316602770974bdd9ee984e
|
||||
long_desc="
|
||||
This package provides a library which offers a userspace interface
|
||||
to kernel DRM (Direct Rendering Manager) services for access to
|
||||
|
@ -25,6 +24,10 @@ Add_dependency build libudev-devel
|
|||
Add_dependency build libpciaccess-devel
|
||||
|
||||
pre_configure() {
|
||||
sed -i "/.*PTHREADSTUBS.*/d" configure.ac
|
||||
sed -i -e "s/@PTHREADSTUBS_LIBS@//g" \
|
||||
-e "s/\$(PTHREADSTUBS_CFLAGS)//g" \
|
||||
nouveau/Makefile.am radeon/Makefile.am intel/Makefile.am
|
||||
autoreconf -fi
|
||||
sed -i 's/tests//g' Makefile.in
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue