aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cyclone/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-01-18 00:23:05 +0800
committerlioux <lioux@FreeBSD.org>2002-01-18 00:23:05 +0800
commita2b825150f1f786f97290cc64938804b21e9821e (patch)
treefc366ecb6986b71393012bb9ebe1e4dcc62d74ae /lang/cyclone/files
parent686a89d2bef56ec1d25e8095cee4fbbe558b39e5 (diff)
downloadfreebsd-ports-gnome-a2b825150f1f786f97290cc64938804b21e9821e.tar.gz
freebsd-ports-gnome-a2b825150f1f786f97290cc64938804b21e9821e.tar.zst
freebsd-ports-gnome-a2b825150f1f786f97290cc64938804b21e9821e.zip
New port cyclone version 0.2: A safe dialect of C from Cornell and
AT&T Research PR: 33613 Submitted by: Alan Eldridge <alane@geeksrus.net>
Diffstat (limited to 'lang/cyclone/files')
-rw-r--r--lang/cyclone/files/patch-cerrno.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/cyclone/files/patch-cerrno.h b/lang/cyclone/files/patch-cerrno.h
new file mode 100644
index 000000000000..550a5fc1a71a
--- /dev/null
+++ b/lang/cyclone/files/patch-cerrno.h
@@ -0,0 +1,24 @@
+--- lib/cerrno.h.or Fri Jan 4 00:15:32 2002
++++ lib/cerrno.h Fri Jan 4 00:16:28 2002
+@@ -31,6 +31,9 @@
+ /* x86 linux */
+ int @ __errno_location(void);
+ #define errno (*Std::__errno_location())
++#elif defined(__FreeBSD__)
++int @ __error(void);
++#define errno (*Std::__error())
+ #else
+ /* cygwin, BSD */
+ int @ __errno(void);
+--- include/cerrno.h.or Fri Jan 4 00:15:32 2002
++++ include/cerrno.h Fri Jan 4 00:16:28 2002
+@@ -31,6 +31,9 @@
+ /* x86 linux */
+ int @ __errno_location(void);
+ #define errno (*Std::__errno_location())
++#elif defined(__FreeBSD__)
++int @ __error(void);
++#define errno (*Std::__error())
+ #else
+ /* cygwin, BSD */
+ int @ __errno(void);