Bug#700152: unblock: boxshade/3.3.1-7+wheezy1
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package boxshade/3.3.1-7+wheezy1, that restores interactive use.
diff -Nru boxshade-3.3.1/debian/changelog boxshade-3.3.1/debian/changelog
--- boxshade-3.3.1/debian/changelog 2012-07-31 18:25:01.000000000 +0900
+++ boxshade-3.3.1/debian/changelog 2013-02-09 11:57:39.000000000 +0900
@@ -1,3 +1,10 @@
+boxshade (3.3.1-7+wheezy1) unstable; urgency=low
+
+ * debian/patches/remove-newlines.patch: restores interactive use.
+ Thanks: Giorgio Maccari. Closes: #700088.
+
+ -- Charles Plessy <plessy@debian.org> Sat, 09 Feb 2013 11:57:21 +0900
+
boxshade (3.3.1-7) unstable; urgency=low
* debian/install: Make sure boxshade executable will be installed
diff -Nru boxshade-3.3.1/debian/patches/remove-newlines.patch boxshade-3.3.1/debian/patches/remove-newlines.patch
--- boxshade-3.3.1/debian/patches/remove-newlines.patch 1970-01-01 09:00:00.000000000 +0900
+++ boxshade-3.3.1/debian/patches/remove-newlines.patch 2013-02-09 11:52:34.000000000 +0900
@@ -0,0 +1,18 @@
+Description: Removes trailing newlines from standard inputs.
+Author: Giorgio Maccari <giorgio.maccari@gmail.com>
+Bug-Debian: http://bugs.debian.org/700088
+Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3603900&group_id=176110&atid=875933
+--- boxshade-3.3.1.old/bx_read.c 2013-02-08 15:20:14.000000000 +0100
++++ boxshade-3.3.1.new/bx_read.c 2013-02-08 15:10:52.590377053 +0100
+@@ -4,7 +4,9 @@
+
+ char *Gets(char *s, size_t length) {
+ fflush(stdout);
+- return fgets(s,length,stdin);
++ fgets(s,length,stdin);
++ strtok(s, "\n");
++ return s;
+ }
+
+ /*
+
diff -Nru boxshade-3.3.1/debian/patches/series boxshade-3.3.1/debian/patches/series
--- boxshade-3.3.1/debian/patches/series 2008-11-17 15:37:03.000000000 +0900
+++ boxshade-3.3.1/debian/patches/series 2013-02-09 11:52:39.000000000 +0900
@@ -1,2 +1,3 @@
10_makefile.unx.patch
kickOutGets.patch
+remove-newlines.patch
unblock boxshade/3.3.1-7+wheezy1
Reply to: