summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xsnap/files/xsnap-1.3-gentoo.patch')
-rw-r--r--x11-misc/xsnap/files/xsnap-1.3-gentoo.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-misc/xsnap/files/xsnap-1.3-gentoo.patch b/x11-misc/xsnap/files/xsnap-1.3-gentoo.patch
new file mode 100644
index 000000000000..8991e4df255a
--- /dev/null
+++ b/x11-misc/xsnap/files/xsnap-1.3-gentoo.patch
@@ -0,0 +1,19 @@
+--- xsnap-1.3/xsnap.c.orig 2004-04-23 00:00:48.323212832 +0200
++++ xsnap-1.3/xsnap.c 2004-04-23 00:01:15.564071592 +0200
+@@ -17,6 +17,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <X11/Xlib.h>
+@@ -693,7 +694,7 @@
+ int i, notfound;
+ struct stat buf;
+
+- if (*filename = '?')
++ if (*filename == '?')
+ {
+ i=0;
+ notfound=0;