summaryrefslogtreecommitdiff
path: root/deskutils/xrolo/files/patch-ae
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2005-10-01 18:11:29 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2005-10-01 18:11:29 +0000
commit685963973286a34e6cdf492c5a62d53969bdeef0 (patch)
treec53cf22895406294a988d580f09633d9e8c016a3 /deskutils/xrolo/files/patch-ae
parent- Respect PTHREAD_LIBS (diff)
o) Fix compile problem
Notes
Notes: svn path=/head/; revision=143919
Diffstat (limited to 'deskutils/xrolo/files/patch-ae')
-rw-r--r--deskutils/xrolo/files/patch-ae21
1 files changed, 19 insertions, 2 deletions
diff --git a/deskutils/xrolo/files/patch-ae b/deskutils/xrolo/files/patch-ae
index e005821e7620..7350022f2928 100644
--- a/deskutils/xrolo/files/patch-ae
+++ b/deskutils/xrolo/files/patch-ae
@@ -1,5 +1,5 @@
*** cards.c.orig Tue Dec 3 23:33:56 1991
---- cards.c Sat Jan 9 22:52:45 1999
+--- cards.c Sat Oct 1 20:07:14 2005
***************
*** 36,47 ****
*/
@@ -18,7 +18,7 @@
*/
-+ #ifdef HAVE_SYS_PARAM_H
++ #if (defined(__unix__) || defined(unix)) && !defined(USG)
+ #include <sys/param.h>
+ #endif
+
@@ -70,3 +70,20 @@
/* --------------------------- Locals -------------------------------------- */
static struct card *dead;
+***************
+*** 757,763 ****
+ char *s1, *s2;
+ {
+ int retval;
+! char *p1, *alloca();
+ char *p2;
+
+ if ( *s2 == '\0' && *s1 == '\0')
+--- 767,773 ----
+ char *s1, *s2;
+ {
+ int retval;
+! char *p1;
+ char *p2;
+
+ if ( *s2 == '\0' && *s1 == '\0')