[med-svn] r12946 - trunk/packages/boxshade/trunk/debian/patches
Charles Plessy
plessy at alioth.debian.org
Sat Feb 9 02:31:42 UTC 2013
Author: plessy
Date: 2013-02-09 02:31:42 +0000 (Sat, 09 Feb 2013)
New Revision: 12946
Added:
trunk/packages/boxshade/trunk/debian/patches/remove-newlines.patch
Modified:
trunk/packages/boxshade/trunk/debian/patches/series
Log:
Patch that removes trailing newlines from standard inputs.
Author: Giorgio Maccari <giorgio.maccari at gmail.com>
Bug-Debian: http://bugs.debian.org/700088
Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3603900&group_id=176110&atid=875933
Added: trunk/packages/boxshade/trunk/debian/patches/remove-newlines.patch
===================================================================
--- trunk/packages/boxshade/trunk/debian/patches/remove-newlines.patch (rev 0)
+++ trunk/packages/boxshade/trunk/debian/patches/remove-newlines.patch 2013-02-09 02:31:42 UTC (rev 12946)
@@ -0,0 +1,18 @@
+Description: Removes trailing newlines from standard inputs.
+Author: Giorgio Maccari <giorgio.maccari at 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;
+ }
+
+ /*
+
Modified: trunk/packages/boxshade/trunk/debian/patches/series
===================================================================
--- trunk/packages/boxshade/trunk/debian/patches/series 2013-02-09 02:22:43 UTC (rev 12945)
+++ trunk/packages/boxshade/trunk/debian/patches/series 2013-02-09 02:31:42 UTC (rev 12946)
@@ -1,2 +1,3 @@
10_makefile.unx.patch
kickOutGets.patch
+remove-newlines.patch
More information about the debian-med-commit
mailing list