freebsd-ports/graphics/pixmap/files/patch-PixEdit.c
Martin Wilke 4e6bc77350 - Fix build on -current
- Add LICENSE
- Trim header

PR:		179581
Submitted by:	Ports Fury
2013-06-17 15:01:02 +00: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;
}