Browse Source

Acknowledge NMU from Axel Beckert

Héctor García 6 years ago
parent
commit
ff8fa931b8
3 changed files with 37 additions and 0 deletions
  1. 9 0
      debian/changelog
  2. 27 0
      debian/patches/fix-ftbfs-with-libvte-0.50.patch
  3. 1 0
      debian/patches/series

+ 9 - 0
debian/changelog

@@ -1,3 +1,12 @@
+mssh (2.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS due to deprecated functions by replacing the call to
+    vte_terminal_spawn_sync() with a call to
+    vte_terminal_spawn_async(). (Closes: #876685)
+
+ -- Axel Beckert <[email protected]>  Mon, 02 Oct 2017 14:53:23 +0200
+
 mssh (2.2-2) unstable; urgency=medium
 
   * Add patch from Adrian Bunk to fix installation error. 

+ 27 - 0
debian/patches/fix-ftbfs-with-libvte-0.50.patch

@@ -0,0 +1,27 @@
+Description: Fix FTBFS with libvte 0.50 due to deprecated functions
+Bug-Debian: https://bugs.debian.org/876685
+Author: Axel Beckert <[email protected]>
+
+--- a/src/mssh-terminal.c
++++ b/src/mssh-terminal.c
+@@ -67,7 +67,7 @@
+          args[4] = NULL;
+     }
+ 
+-    vte_terminal_spawn_sync(VTE_TERMINAL(terminal),
++    vte_terminal_spawn_async(VTE_TERMINAL(terminal),
+                             VTE_PTY_NO_LASTLOG|VTE_PTY_NO_UTMP|VTE_PTY_NO_WTMP,
+                             NULL,  /* working dir */
+                             args,
+@@ -76,8 +76,10 @@
+                             NULL,  /* child_setup */
+                             NULL,  /* child_setup_data */
+                             NULL,  /* *child_pid */
++                            -1,  /* timeout */
+                             NULL,  /* *cancellable */
+-                            NULL); /* Error handling */
++                            NULL,  /* callback */
++                            NULL); /* user_data */
+ 
+     free(args[0]);
+ }

+ 1 - 0
debian/patches/series

@@ -1,2 +1,3 @@
 disable-pedantic-errors.patch
 intltools_update
+fix-ftbfs-with-libvte-0.50.patch