summaryrefslogtreecommitdiffstats
path: root/misc/fbdump/fflush_stdout.diff
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-24 17:35:21 -0400
committer David Spencer <idlemoor@slackbuilds.org>2017-03-26 02:15:17 +0100
commit0208372e56d8eceac8d42b7ffd193c748a867280 (patch)
treeb5c8eea6ec45d02a00e943682ab02fa0cd4773b7 /misc/fbdump/fflush_stdout.diff
parenta90a23fa4ad4c775db726859ec6a72c04321f0ea (diff)
downloadslackbuilds-0208372e56d8eceac8d42b7ffd193c748a867280.tar.gz
slackbuilds-0208372e56d8eceac8d42b7ffd193c748a867280.tar.xz
misc/fbdump: Updated for version 0.4.2, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/fbdump/fflush_stdout.diff')
-rw-r--r--misc/fbdump/fflush_stdout.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/fbdump/fflush_stdout.diff b/misc/fbdump/fflush_stdout.diff
new file mode 100644
index 0000000000..cfd4bea51c
--- /dev/null
+++ b/misc/fbdump/fflush_stdout.diff
@@ -0,0 +1,11 @@
+diff -Naur fbdump-0.4.2/src/surface.c fbdump-0.4.2.patched/src/surface.c
+--- fbdump-0.4.2/src/surface.c 2007-03-02 22:13:50.000000000 -0500
++++ fbdump-0.4.2.patched/src/surface.c 2017-03-24 16:54:08.538269897 -0400
+@@ -49,6 +49,7 @@
+
+ /* Write out the converted pixels to the stream. */
+ fwrite( buf, width * 3, 1, stream );
++ fflush(stream);
+
+ /* And get a ptr to the next row. */
+ rowptr += s->modulo;