mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 03:46:30 -04:00
Fix build with gcc-3.4.
Submitted by: roam
This commit is contained in:
parent
a40b5be9b4
commit
e2f3a5977a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115430
1 changed files with 14 additions and 0 deletions
14
lang/mit-scheme/files/patch-uxio.c
Normal file
14
lang/mit-scheme/files/patch-uxio.c
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
|
||||||
|
--- uxio.c.orig Tue Apr 3 19:51:52 2001
|
||||||
|
+++ uxio.c Thu Aug 5 00:40:16 2004
|
||||||
|
@@ -236,7 +236,7 @@
|
||||||
|
return ((scr < 0) ? 0 : scr);
|
||||||
|
}
|
||||||
|
|
||||||
|
-#ifdef _POSIX
|
||||||
|
+#ifdef __FreeBSD__
|
||||||
|
#include <string.h>
|
||||||
|
#else
|
||||||
|
extern int EXFUN (strlen, (CONST char *));
|
Loading…
Add table
Reference in a new issue