Source: emacs24
Version: 24.4+1-4.1
Severity: normal
Tags: patch

"quilt series" is not documented to prefix patch names with the
directory unless the environment variable QUILT_PATCHES_PREFIX is set.
I can't figure out exactly when it happens, but in particular it
doesn't happen in a wheezy sbuild chroot.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
>From 8ee794b4688aacaaca593f70f19f8b07a2111108 Mon Sep 17 00:00:00 2001
From: David Bremner <da...@tethera.net>
Date: Sat, 10 Jan 2015 23:23:46 +0100
Subject: [PATCH] d/rules: make use of "quilt series" less fragile

This use relies on the names of patches being prefixed with
debian/patches, which doesn't seem to be completely reliable (e.g. it
doesn't happen in a wheezy build environment).  The environment
variable QUILT_PATCHES_PREFIX is documented to do this.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 208076f..c42064b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@
 #export DH_VERBOSE=1
 
 SHELL := /bin/bash
-quilt := QUILT_PATCHES=debian/patches quilt
+quilt := QUILT_PATCHES=debian/patches QUILT_PATCHES_PREFIX=y quilt
 pf := set -o pipefail
 
 # This package uses debian/source/format 3.0 (quilt).
-- 
2.1.4

Reply via email to