Code

patches: Removed bts594549-pager-segfault -- included upstream.
authorSebastian Harl <sh@tokkee.org>
Mon, 20 Sep 2010 23:25:38 +0000 (01:25 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 20 Sep 2010 23:25:38 +0000 (01:25 +0200)
Also, no longer use dpatch ;-)

debian/changelog
debian/control
debian/patches/00list [deleted file]
debian/patches/bts594549-pager-segfault.dpatch [deleted file]
debian/rules

index 962aa771e6285ba031b6290a343aa1e7ac0a9667..1d1ceaaa4cdcedd195e514aec431c6fb1daf786e 100644 (file)
@@ -1,8 +1,12 @@
 tig (0.16.1-1) unstable; urgency=low
 
   * New upstream release.
+  * debian/patches:
+    - Removed bts594549-pager-segfault -- included upstream.
+  * debian/control, debian/rules:
+    - No longer use dpatch.
 
- -- Sebastian Harl <tokkee@debian.org>  Tue, 21 Sep 2010 01:18:22 +0200
+ -- Sebastian Harl <tokkee@debian.org>  Tue, 21 Sep 2010 01:24:20 +0200
 
 tig (0.16-2) unstable; urgency=low
 
index 76d76c3ff52516777a1a3eb198978e0ded61eabf..e16f07ad4335bad48f4c8eb5e48416fec74b8ce2 100644 (file)
@@ -2,7 +2,7 @@ Source: tig
 Section: vcs
 Priority: optional
 Maintainer: Sebastian Harl <tokkee@debian.org>
-Build-Depends: debhelper (>= 5), dpatch, dpkg-dev (>= 1.14.6), libncursesw5-dev, asciidoc (>= 8.4), xmlto, docbook-utils
+Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), libncursesw5-dev, asciidoc (>= 8.4), xmlto, docbook-utils
 Standards-Version: 3.8.4
 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 ce9434d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-bts594549-pager-segfault.dpatch
-
diff --git a/debian/patches/bts594549-pager-segfault.dpatch b/debian/patches/bts594549-pager-segfault.dpatch
deleted file mode 100755 (executable)
index a28d31a..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## bts594549-pager-segfault.dpatch by Jonas Fonseca <fonseca@diku.dk>
-##
-## DP: Fix segfault when starting tig in pager mode.
-## DP:
-## DP: (Upstream commit 5355b6ed446a22714d944c316f3c037348f67d76)
-
-@DPATCH@
-
-diff a/tig.c b/tig.c
---- a/tig.c
-+++ b/tig.c
-@@ -2308,7 +2308,7 @@
-       VIEW_(BLAME,  "blame",  &blame_ops,  TRUE,  ref_commit),
-       VIEW_(BRANCH, "branch", &branch_ops, TRUE,  ref_head),
-       VIEW_(HELP,   "help",   &help_ops,   FALSE, ""),
--      VIEW_(PAGER,  "pager",  &pager_ops,  FALSE, "stdin"),
-+      VIEW_(PAGER,  "pager",  &pager_ops,  FALSE, ""),
-       VIEW_(STATUS, "status", &status_ops, TRUE,  ""),
-       VIEW_(STAGE,  "stage",  &stage_ops,  TRUE,  ""),
- };
-@@ -3700,6 +3700,13 @@
-               break;
-       case REQ_VIEW_PAGER:
-+              if (view == NULL) {
-+                      if (!io_open(&VIEW(REQ_VIEW_PAGER)->io, ""))
-+                              die("Failed to open stdin");
-+                      open_view(view, request, OPEN_PREPARED);
-+                      break;
-+              }
-+
-               if (!VIEW(REQ_VIEW_PAGER)->pipe && !VIEW(REQ_VIEW_PAGER)->lines) {
-                       report("No pager content, press %s to run command from prompt",
-                              get_key(view->keymap, REQ_PROMPT));
-@@ -7729,10 +7736,8 @@
-       const char **filter_argv = NULL;
-       int i;
--      if (!isatty(STDIN_FILENO)) {
--              io_open(&VIEW(REQ_VIEW_PAGER)->io, "");
-+      if (!isatty(STDIN_FILENO))
-               return REQ_VIEW_PAGER;
--      }
-       if (argc <= 1)
-               return REQ_VIEW_MAIN;
index 969f53ddfe8384586bdf58efcdf2e3eab1e0fccd..9666fa17a574fa9d7d61f43abc33a848cc0e5f53 100755 (executable)
@@ -19,9 +19,7 @@ else
        CFLAGS += -O2
 endif
 
-include /usr/share/dpatch/dpatch.make
-
-config.status: configure $(DPATCH_STAMPFN)
+config.status: configure
        dh_testdir
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
                --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc \
@@ -36,7 +34,7 @@ build-stamp: config.status
        
        touch build-stamp
 
-clean: unpatch
+clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp