summaryrefslogtreecommitdiff
path: root/x11/lupe/files/patch-lupe.c
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2013-01-21 03:29:37 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2013-01-21 03:29:37 +0000
commit3abe9dab550a0f91677a4f61aaf1b6dc52acd906 (patch)
tree14ed58f9273552abf0d3108813190620d6a2d22c /x11/lupe/files/patch-lupe.c
parent- Update MASTER_SITES. (diff)
- Update MASTER_SITES and WWWW line.
- Support PLIST_FILES. - Fix build with clang. PR: ports/172511 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'x11/lupe/files/patch-lupe.c')
-rw-r--r--x11/lupe/files/patch-lupe.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/lupe/files/patch-lupe.c b/x11/lupe/files/patch-lupe.c
new file mode 100644
index 000000000000..43505614fbc5
--- /dev/null
+++ b/x11/lupe/files/patch-lupe.c
@@ -0,0 +1,22 @@
+--- lupe.c.orig 1999-05-29 18:08:12.000000000 +0900
++++ lupe.c 2012-10-07 20:03:55.000000000 +0900
+@@ -19,6 +19,10 @@
+ #include "version.h"
+ #include "timer.h"
+
++#ifdef HAVE_STDLIB_H
++#include <stdlib.h>
++#endif
++
+ #ifdef HAVE_STRING_H
+ #include <string.h>
+ #else
+@@ -339,7 +343,7 @@
+ photo_delay *= 1000; /* sec. to millisec. */
+ }
+
+-void main(argc, argv)
++int main(argc, argv)
+ int argc;
+ char **argv;
+ {