Package: cxref / 1.6e-1

allow-redirect-of-cxref-cpp-configure-output-in-postinst Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 cxref (1.6d-4) unstable; urgency=high
 .
   * Bug fix: "modifies conffiles (policy 10.7.3): /etc/cxref/config",
     thanks to Andreas Beckmann (Closes: #688562).  Provide default
     cxref-cpp.defines
Author: Camm Maguire <camm@debian.org>
Bug-Debian: http://bugs.debian.org/688562

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- cxref-1.6d.orig/cpp/cxref-cpp-configure.in
+++ cxref-1.6d/cpp/cxref-cpp-configure.in
@@ -24,6 +24,10 @@ prefix="@prefix@"
 datarootdir="@datarootdir@"
 cxref_cpp_defines="@datadir@/cxref/cxref-cpp.defines"
 
+if test "$CXREF_DEFINE_DIR" != "" ; then
+    cxref_cpp_defines="$CXREF_DEFINE_DIR/cxref-cpp.defines"
+fi
+
 # Chose the C compiler and output file to use if not specified.
 # (Defaults to compiler found by configure script).