aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/fdupes/files/fdupes-1.51-remove-stdin-lvalue.patch')
-rw-r--r--app-misc/fdupes/files/fdupes-1.51-remove-stdin-lvalue.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/fdupes/files/fdupes-1.51-remove-stdin-lvalue.patch b/app-misc/fdupes/files/fdupes-1.51-remove-stdin-lvalue.patch
new file mode 100644
index 00000000..0a270799
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-1.51-remove-stdin-lvalue.patch
@@ -0,0 +1,12 @@
+diff -Naur fdupes-1.51.orig/fdupes.c fdupes-1.51/fdupes.c
+--- fdupes-1.51.orig/fdupes.c 2016-02-28 15:12:08.484104756 -0500
++++ fdupes-1.51/fdupes.c 2016-02-28 15:12:49.244105441 -0500
+@@ -1169,7 +1169,7 @@
+ }
+ else
+ {
+- stdin = freopen("/dev/tty", "r", stdin);
++ freopen("/dev/tty", "r", stdin);
+ deletefiles(files, 1, stdin);
+ }
+ }