diff options
author | steve <steve@FreeBSD.org> | 1999-01-11 03:05:23 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-01-11 03:05:23 +0800 |
commit | 7c1d75b1376be573dfa1fa9f49b021ccd473f1c8 (patch) | |
tree | 0b72a809abe23c6f5b4d8972cda683b2a2a5b010 /devel/libcii/files | |
parent | 63d2da66dba44e9b1a9ee71d6a0fa3d4c628da67 (diff) | |
download | freebsd-ports-gnome-7c1d75b1376be573dfa1fa9f49b021ccd473f1c8.tar.gz freebsd-ports-gnome-7c1d75b1376be573dfa1fa9f49b021ccd473f1c8.tar.zst freebsd-ports-gnome-7c1d75b1376be573dfa1fa9f49b021ccd473f1c8.zip |
Initial import of libcii version 1.1.
Library from "C Interfaces and Implementations" by David Hanson.
PR: 6504
Submitted by: J Han <hjh@photino.com>
Diffstat (limited to 'devel/libcii/files')
-rw-r--r-- | devel/libcii/files/patch-aa | 11 | ||||
-rw-r--r-- | devel/libcii/files/patch-ab | 23 |
2 files changed, 34 insertions, 0 deletions
diff --git a/devel/libcii/files/patch-aa b/devel/libcii/files/patch-aa new file mode 100644 index 000000000000..14e70a8a8962 --- /dev/null +++ b/devel/libcii/files/patch-aa @@ -0,0 +1,11 @@ +--- src/thread.c.orig Wed Nov 5 15:03:00 1997 ++++ src/thread.c Sat Jan 9 18:44:09 1999 +@@ -269,7 +269,7 @@ + *--t->sp = (unsigned long)_start - 8; + *--t->sp = (unsigned long)fp; + t->sp -= 64/4; } +-#elif linux && i386 ++#elif (linux || unix) && i386 + { extern void _thrstart(void); + t->sp -= 4/4; + *t->sp = (unsigned long)_thrstart; diff --git a/devel/libcii/files/patch-ab b/devel/libcii/files/patch-ab new file mode 100644 index 000000000000..de193edc0feb --- /dev/null +++ b/devel/libcii/files/patch-ab @@ -0,0 +1,23 @@ +--- src/swtch.s.orig Wed Nov 5 15:03:00 1997 ++++ src/swtch.s Sat Jan 9 18:56:46 1999 +@@ -136,7 +136,7 @@ + .end _swtch + .globl _ENDMONITOR + _ENDMONITOR: +-#elif linux && i386 ++#elif (linux || unix) && i386 + .align 4 + .globl __swtch + .globl _swtch +@@ -165,7 +165,11 @@ + pushl %edi + call *%esi + pushl %eax ++#ifdef __ELF__ + call Thread_exit ++#else ++ call _Thread_exit ++#endif + .globl __ENDMONITOR + .globl _ENDMONITOR + __ENDMONITOR: |