Contents of /trunk/mesa/patches/mesa-7.8.1-libdrm-fix.patch
Parent Directory | Revision Log
Revision 1173 -
(show annotations)
(download)
Wed Oct 13 20:43:53 2010 UTC (13 years, 11 months ago) by niro
File size: 855 byte(s)
Wed Oct 13 20:43:53 2010 UTC (13 years, 11 months ago) by niro
File size: 855 byte(s)
-fix build against libdrm-2.4.20
1 | # see: https://bugs.freedesktop.org/show_bug.cgi?id=27612 |
2 | |
3 | commit 894c86e8400f13f1ee0dfe23ca4b5f98c32d9223 |
4 | Author: Kristian Høgsberg <krh@bitplanet.net> |
5 | Date: Fri Apr 9 16:33:38 2010 -0400 |
6 | |
7 | Revert "Fix pkgconfig includes for /usr/include/drm" |
8 | |
9 | This reverts commit 245d6957794648d7fd83279c680fed6e4c262147. |
10 | |
11 | libdrm now install headers in ${includedir}/libdrm and /usr/include/drm |
12 | is reserved for the kernel headers. We should only ever add one of these |
13 | to the CFLAGS. |
14 | |
15 | diff --git a/libdrm.pc.in b/libdrm.pc.in |
16 | index b218d12..b46e2a6 100644 |
17 | --- a/libdrm.pc.in |
18 | +++ b/libdrm.pc.in |
19 | @@ -7,4 +7,4 @@ Name: libdrm |
20 | Description: Userspace interface to kernel DRM services |
21 | Version: @PACKAGE_VERSION@ |
22 | Libs: -L${libdir} -ldrm |
23 | -Cflags: -I${includedir} -I${includedir}/drm -I${includedir}/libdrm |
24 | +Cflags: -I${includedir} -I${includedir}/libdrm |