From 6e2ed2acccd7e292aa490a14ddcb1e1c2c1245b2 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Mon, 28 Feb 2011 17:55:15 +0000 Subject: debian/patches/04-LD_PRELOAD-is-supported-on-Hurd.patch: * debian/patches/04-LD_PRELOAD-is-supported-on-Hurd.patch: + Patch from upstream git, let configure know that GNU/Hurd supports LD_PRELOAD. This enables the build of cairo-trace. Closes: #608492. --- debian/changelog | 9 +++++++ .../04-LD_PRELOAD-is-supported-on-Hurd.patch | 29 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 39 insertions(+) create mode 100644 debian/patches/04-LD_PRELOAD-is-supported-on-Hurd.patch diff --git a/debian/changelog b/debian/changelog index 9c925d4..d42e753 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +cairo (1.10.2-3) UNRELEASED; urgency=low + + * debian/patches/04-LD_PRELOAD-is-supported-on-Hurd.patch: + + Patch from upstream git, let configure know that GNU/Hurd + supports LD_PRELOAD. This enables the build of cairo-trace. + Closes: #608492. + + -- Emilio Pozuelo Monfort Mon, 28 Feb 2011 17:53:30 +0000 + cairo (1.10.2-2) unstable; urgency=low * debian/control: diff --git a/debian/patches/04-LD_PRELOAD-is-supported-on-Hurd.patch b/debian/patches/04-LD_PRELOAD-is-supported-on-Hurd.patch new file mode 100644 index 0000000..12a9ef3 --- /dev/null +++ b/debian/patches/04-LD_PRELOAD-is-supported-on-Hurd.patch @@ -0,0 +1,29 @@ +From 0e199ccc574d77041e19b29cb9a228e2588d5dca Mon Sep 17 00:00:00 2001 +From: Pino Toscano +Date: Tue, 25 Jan 2011 14:33:11 +0100 +Subject: [PATCH] LD_PRELOAD is supported on Hurd + +LD_PRELOAD is supported on Hurd. Adding Hurd to the list of supported +systems makes cairo-trace available on them as well. + +See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608492 +--- + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/configure.ac b/configure.ac +index f92e84a..48449d2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -687,7 +687,7 @@ dnl The tracing utility requires LD_PRELOAD, so only build it for systems + dnl that are known to work. + + case $host in +-*-linux*|*-*bsd*|*-solaris*|*-*-darwin*|*-dragonfly*) ++*-linux*|*-*bsd*|*-solaris*|*-*-darwin*|*-dragonfly*|*-*-gnu*) + have_ld_preload="yes" + ;; + *) +-- +1.7.4.1 + diff --git a/debian/patches/series b/debian/patches/series index 7290263..c4c2d60 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 01_build_perf_utils.patch 02_am-maintainer-mode.patch 03_export-symbols.patch +04-LD_PRELOAD-is-supported-on-Hurd.patch -- cgit v1.2.3