summaryrefslogtreecommitdiff
path: root/user/gutenprint/freopen.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-01 20:34:04 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-01 20:34:04 +0000
commitfd5a6b3c286853da6fb2a85d831577cd4e3a82f0 (patch)
tree5f81ae2f30a454a058bab637d209194a8f24c372 /user/gutenprint/freopen.patch
parent56ab47ecb64ab94dc0c2784b2964b316cedeb57e (diff)
downloadpackages-fd5a6b3c286853da6fb2a85d831577cd4e3a82f0.tar.gz
packages-fd5a6b3c286853da6fb2a85d831577cd4e3a82f0.tar.bz2
packages-fd5a6b3c286853da6fb2a85d831577cd4e3a82f0.tar.xz
packages-fd5a6b3c286853da6fb2a85d831577cd4e3a82f0.zip
user/gutenprint: bump to 5.3.1
Diffstat (limited to 'user/gutenprint/freopen.patch')
-rw-r--r--user/gutenprint/freopen.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/gutenprint/freopen.patch b/user/gutenprint/freopen.patch
new file mode 100644
index 000000000..ddc351fec
--- /dev/null
+++ b/user/gutenprint/freopen.patch
@@ -0,0 +1,11 @@
+--- gutenprint-5.3.1/src/xml/printers/check_duplicate_printers.c.old 2018-09-03 15:19:33.000000000 +0000
++++ gutenprint-5.3.1/src/xml/printers/check_duplicate_printers.c 2019-05-01 20:32:48.290238929 +0000
+@@ -34,7 +34,7 @@
+ if (getenv("BUILD_VERBOSE"))
+ dup2(2, 3);
+ (void) snprintf(path, PATH_MAX, "%scheck_duplicate_printers_%d.log", getenv("STP_TEST_LOG_PREFIX"), getpid());
+- stdout = freopen(path, "w", stdout);
++ freopen(path, "w", stdout);
+ dup2(1, 2);
+ }
+ setenv("STP_CHECK_DUPLICATE_PRINTERS", "TRUE", 1);