summaryrefslogtreecommitdiff
path: root/deskutils/xrolo/files/patch-panel.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 16:03:51 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 16:03:51 +0000
commit1f171620e6731e94868b333e8cd090d56e2c0451 (patch)
tree972b8a1ac1035946aaf1f87fd1422c80bb83a47f /deskutils/xrolo/files/patch-panel.c
parentRather 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-panel.c')
-rw-r--r--deskutils/xrolo/files/patch-panel.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/deskutils/xrolo/files/patch-panel.c b/deskutils/xrolo/files/patch-panel.c
new file mode 100644
index 000000000000..9306bd8febb7
--- /dev/null
+++ b/deskutils/xrolo/files/patch-panel.c
@@ -0,0 +1,43 @@
+*** panel.c.orig Wed Dec 4 01:38:09 1991
+--- panel.c Sat Oct 1 20:05:54 2005
+***************
+*** 35,40 ****
+--- 35,48 ----
+ */
+
+
++ #if (defined(__unix__) || defined(unix)) && !defined(USG)
++ #include <sys/param.h>
++ #endif
++
++ #if (defined(BSD) && (BSD >= 199306))
++ #include <stdlib.h>
++ #endif
++
+ #include <stdio.h>
+ #include <strings.h>
+ #include <xview/xview.h>
+***************
+*** 46,52 ****
+ #include <xview/svrimage.h>
+ #include <sys/param.h>
+ #include <ctype.h>
+! #if !defined (sgi)
+ #include <alloca.h>
+ #endif
+ #include <string.h>
+--- 54,60 ----
+ #include <xview/svrimage.h>
+ #include <sys/param.h>
+ #include <ctype.h>
+! #if !defined (sgi) && !(defined(BSD) && (BSD >= 199306))
+ #include <alloca.h>
+ #endif
+ #include <string.h>
+***************
+*** 2462,2465 ****
+ return(--s1);
+ return( NULL );
+ }
+-
+--- 2470,2472 ----