Build fixes for day
New glibc defines major in sysmacros.h
override_dh_makeshlibs was always incorrect, now it seems to matter
Change-Id: I27f7d1395bc44eeabcc4841713d55f93ce355477
diff --git a/debian/rules b/debian/rules
index a334541..280b301 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export DEB_CFLAGS_MAINT_APPEND = -DMAJOR_IN_SYSMACROS=1
+
override_dh_auto_configure:
dh_auto_configure -- --enable-static=yes
@@ -12,10 +14,5 @@
cp include/drm/drm_fourcc_imx.h debian/tmp/usr/include/libdrm
dh_install --fail-missing
-override_dh_makeshlibs:
- dh_makeshlibs -plibdrm2 -V'libdrm2 (>= 2.4.74)' -- -c4
- dh_makeshlibs -plibdrm-vivante -V'libdrm-vivante (>= 2.4.74)' -- -c4
- dh_makeshlibs
-
%:
dh $@ --with quilt --builddirectory=build/