diff options
Diffstat (limited to 'graphics/pixmap/files/patch-PixEdit.c')
-rw-r--r-- | graphics/pixmap/files/patch-PixEdit.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/pixmap/files/patch-PixEdit.c b/graphics/pixmap/files/patch-PixEdit.c new file mode 100644 index 000000000000..1c75fb8ae956 --- /dev/null +++ b/graphics/pixmap/files/patch-PixEdit.c @@ -0,0 +1,25 @@ +--- 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; + } |