diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 16:03:51 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 16:03:51 +0000 |
commit | 1f171620e6731e94868b333e8cd090d56e2c0451 (patch) | |
tree | 972b8a1ac1035946aaf1f87fd1422c80bb83a47f /deskutils/xrolo/files/patch-popup.c | |
parent | Rather than checking whether pre-existing conf files exist in (diff) |
Rename deskutils/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'deskutils/xrolo/files/patch-popup.c')
-rw-r--r-- | deskutils/xrolo/files/patch-popup.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/deskutils/xrolo/files/patch-popup.c b/deskutils/xrolo/files/patch-popup.c new file mode 100644 index 000000000000..499521c5cef2 --- /dev/null +++ b/deskutils/xrolo/files/patch-popup.c @@ -0,0 +1,38 @@ +*** popup.c.orig Tue Dec 3 23:28:39 1991 +--- popup.c Sat Oct 1 20:06:23 2005 +*************** +*** 6,11 **** +--- 6,14 ---- + * popup - pop up error dialog windows + */ + ++ #if (defined(__unix__) || defined(unix)) && !defined(USG) ++ #include <sys/param.h> ++ #endif + + #include <xview/xview.h> + #include <xview/panel.h> +*************** +*** 26,32 **** + + /* ---------------------------- Imports -------------------------------- */ + +! #if !defined(sgi) + extern char *sprintf (); + #endif + +--- 29,35 ---- + + /* ---------------------------- Imports -------------------------------- */ + +! #if !defined(sgi) && !(defined(BSD) && (BSD >= 199306)) + extern char *sprintf (); + #endif + +*************** +*** 92,95 **** + (void) sprintf (temp, s, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9); + return (do_pop (frame, temp, FALSE)); + } +- +--- 95,97 ---- |