Code

patches: Removed quoted-config-opts-fix.dpatch.
authorSebastian Harl <sh@tokkee.org>
Fri, 3 Apr 2009 16:04:31 +0000 (18:04 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 3 Apr 2009 16:04:31 +0000 (18:04 +0200)
This patch has been included upstream.

Since this was the last patch, dpatch is no longer required and has been
removed.

debian/changelog
debian/control
debian/patches/00list [deleted file]
debian/patches/quoted-config-opts-fix.dpatch [deleted file]
debian/rules

index 2cca57cd196549ee834bca491f80b25e5d3b8e55..0079b9465c03685e14f3f9be7ad083d870299dd5 100644 (file)
@@ -6,8 +6,9 @@ tig (0.14.1-1) unstable; urgency=low
     - Moved tig from section "utils" to the newly added "vcs".
   * debian/patches:
     - Removed tigrc-example-fix.dpatch - included upstream.
+    - Removed quoted-config-opts-fix.dpatch - included upstream.
 
- -- Sebastian Harl <sh@tokkee.org>  Fri, 03 Apr 2009 17:59:10 +0200
+ -- Sebastian Harl <sh@tokkee.org>  Fri, 03 Apr 2009 18:01:54 +0200
 
 tig (0.14-1) experimental; urgency=low
 
index 5f09bb0d9ec3b857c0fc4b7d7e5d7a2885768709..bbab4cac06cf14f7732dcac3f627ac23ace47e88 100644 (file)
@@ -2,7 +2,7 @@ Source: tig
 Section: vcs
 Priority: optional
 Maintainer: Sebastian Harl <sh@tokkee.org>
-Build-Depends: debhelper (>= 5), dpatch, dpkg-dev (>= 1.14.6), git-core, libncursesw5-dev, asciidoc (>= 7), xmlto, docbook-utils
+Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), git-core, libncursesw5-dev, asciidoc (>= 7), xmlto, docbook-utils
 Standards-Version: 3.8.0
 Homepage: http://jonas.nitro.dk/tig/
 Vcs-Git: git://git.tokkee.org/pkg-tig.git
diff --git a/debian/patches/00list b/debian/patches/00list
deleted file mode 100644 (file)
index f160897..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-quoted-config-opts-fix.dpatch
-
diff --git a/debian/patches/quoted-config-opts-fix.dpatch b/debian/patches/quoted-config-opts-fix.dpatch
deleted file mode 100755 (executable)
index 460b988..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## quoted-config-opts-fix.dpatch by Sebastian Harl <sh@tokkee.org>
-##
-## DP: Fix handling of quoted strings in the config file
-## DP:
-## DP: parse_string() adapts the string length to automatically remove quotation
-## DP: marks when copying the string. However, when calling string_ncopy_do()
-## DP: strlen(arg) used to be called again instead of using the adapted value.
-## DP:
-## DP: This e.g. led to wrong locale settings when using
-## DP:   set commit-encoding = "UTF-8"
-## DP: and thus a slightly messed up display.
-## DP:
-## DP: Thanks to Gerfried Fuchs for reporting this.
-
-diff a/tig.c b/tig.c
---- a/tig.c
-+++ b/tig.c
-@@ -1519,7 +1519,7 @@ option_set_command(int argc, const char *argv[])
-                       }
-                       arg += 1; arglen -= 2;
-               default:
--                      string_ncopy(opt_encoding, arg, strlen(arg));
-+                      string_ncopy(opt_encoding, arg, arglen);
-                       return OK;
-               }
-       }
index 1ddab6c2835aa08917a972ce6f222e3dc40fff73..54cb1cfe2a2f6668c5e98c9fae5a6a1c1efa5242 100755 (executable)
@@ -19,8 +19,6 @@ else
        CFLAGS += -O2
 endif
 
-include /usr/share/dpatch/dpatch.make
-
 config.status: configure
        dh_testdir
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
@@ -29,14 +27,14 @@ config.status: configure
 
 build: build-stamp
 
-build-stamp: config.status $(DPATCH_STAMPFN)
+build-stamp: config.status
        dh_testdir
        
        $(MAKE) all doc
        
        touch build-stamp
 
-clean: unpatch
+clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp
@@ -83,5 +81,5 @@ binary-arch: build install
        dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install patch unpatch
+.PHONY: build clean binary-indep binary-arch binary install