diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2013-06-17 15:01:02 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2013-06-17 15:01:02 +0000 |
| commit | 4e6bc77350d80113f26ef6976049d85311c57ce6 (patch) | |
| tree | ac36080472a37002298a70d6ec331f4b328a1807 /graphics/pixmap/files/patch-PixEdit.c | |
| parent | - Update to 4.0.3 (diff) | |
- Fix build on -current
- Add LICENSE
- Trim header
PR: 179581
Submitted by: Ports Fury
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; + } |
