quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] easy patch from debian: unset posix strict conformance varia


From: Martin Quinson
Subject: [Quilt-dev] easy patch from debian: unset posix strict conformance variables
Date: Fri, 11 Dec 2009 17:52:30 +0100

Hello,

as you know, there is a bunch of patches in the debian packages that
should be integrated directly into the quilt git repository.

Instead of flooding you with all of them, I'll try to submit with them
one after the other, so that we can discuss them in order. The first one
is very trivial, as you can see in attachment. 

Andreas, does it seem ok enough to commit it?

Thanks in advance, 
Mt.


--- Begin Message --- Subject: quilt: breaks when POSIXLY_CORRECT=1 Date: Fri, 25 Jan 2008 20:02:28 +0000
quilt breaks when POSIXLY_CORRECT is set to 1, because it invokes
patch, and patch does not work non-interactively in POSIX mode.  (I
believe this is the mandated behavior, unfortunate as it is.) If you
want to rely on non-POSIX semantics of patch, you should unset
POSIXLY_CORRECT (and probably _POSIX2_VERSION and POSIXLY_PEDANTIC as
well).


---
 bin/quilt.in |    4 ++++
 1 file changed, 4 insertions(+)

Index: b/bin/quilt.in
===================================================================
--- a/bin/quilt.in
+++ b/bin/quilt.in
@@ -6,6 +6,10 @@
 #
 #  See the COPYING and AUTHORS files for more details.
 
+# unset posix strict conformance variables since patch cannot be run
+# non-interactively when they are set (doh!).
+unset POSIXLY_CORRECT _POSIX2_VERSION POSIXLY_PEDANTIC
+
 export TEXTDOMAIN=quilt
 export address@hidden@
 

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]