opnsense-ports/graphics/pixmap/files/patch-PixEdit.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
397 B
C

--- PixEdit.c.orig
+++ PixEdit.c
@@ -59,6 +59,7 @@
#include <stdio.h>
+#include <stdlib.h>
#include <X11/Intrinsic.h>
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
@@ -1938,7 +1939,7 @@
-void main(argc, argv)
+int main(argc, argv)
int argc;
char *argv[];
{
@@ -2281,4 +2282,5 @@
XtRealizeWidget(top_widget);
XtAppMainLoop(pixmap_context);
+ return 0;
}