summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-04-19 02:17:17 +0200
committerCyril Brulebois <kibi@debian.org>2011-04-19 02:29:17 +0200
commit27b233211c7a21bee24315915f42689b29cba8fc (patch)
tree8c46d6fd9abab735cc0d54c1fa7a3da701a3e643
parenta8d97776ce2fd5ce212a9377077201fc1c97d7b3 (diff)
Add patch to fix make check.
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/03_build_against_librt.diff11
-rw-r--r--debian/patches/series1
3 files changed, 14 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e2f8ad82..1601dff3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ libdrm (2.4.25-1) UNRELEASED; urgency=low
- Use dh-autoreconf.
- Tidy old build-deps.
- Testsuite now automatically gets run.
+ * Accordingly, add a build-dep to fix FTBFS during make check:
+ - 03_build_against_librt.diff
-- Cyril Brulebois <kibi@debian.org> Mon, 18 Apr 2011 22:23:18 +0200
diff --git a/debian/patches/03_build_against_librt.diff b/debian/patches/03_build_against_librt.diff
new file mode 100644
index 00000000..565b6c40
--- /dev/null
+++ b/debian/patches/03_build_against_librt.diff
@@ -0,0 +1,11 @@
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -10,6 +10,8 @@ check_PROGRAMS = \
+ dristat \
+ drmstat
+
++dristat_LDADD = $(CLOCK_LIB)
++
+ SUBDIRS = modeprint
+
+ if HAVE_LIBKMS
diff --git a/debian/patches/series b/debian/patches/series
index e23f0b12..b1a73f8a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01_default_perms.diff
02_build_libkms_against_in_tree_drm.diff
+03_build_against_librt.diff