diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-06 14:47:14 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-06 14:47:14 +0000 |
commit | 636e027b6ee2d394995925754805b626b772f71b (patch) | |
tree | 7fcdfcf422969f2567aa82ffde7f5f88942cd307 /devel/libshbuf/files | |
parent | 53688aac0f2c2d1384ccc847c47fee7c818a11ac (diff) | |
download | ports-636e027b6ee2d394995925754805b626b772f71b.tar.gz ports-636e027b6ee2d394995925754805b626b772f71b.zip |
Notes
Diffstat (limited to 'devel/libshbuf/files')
-rw-r--r-- | devel/libshbuf/files/patch-internal.h | 11 | ||||
-rw-r--r-- | devel/libshbuf/files/patch-shbuf.c | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/devel/libshbuf/files/patch-internal.h b/devel/libshbuf/files/patch-internal.h new file mode 100644 index 000000000000..d734ac900137 --- /dev/null +++ b/devel/libshbuf/files/patch-internal.h @@ -0,0 +1,11 @@ +--- src/internal.h.orig Mon May 6 22:38:42 2002 ++++ src/internal.h Mon May 6 22:40:33 2002 +@@ -72,7 +72,7 @@ + pthread_t thread; + }; + +-#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) ++#if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) || defined(__FreeBSD__)) + /* union semun is defined by including <sys/sem.h> */ + #else + /* according to X/OPEN we have to define it ourselves */ diff --git a/devel/libshbuf/files/patch-shbuf.c b/devel/libshbuf/files/patch-shbuf.c new file mode 100644 index 000000000000..56cb781c214a --- /dev/null +++ b/devel/libshbuf/files/patch-shbuf.c @@ -0,0 +1,10 @@ +--- src/shbuf.c.orig Mon May 6 22:37:36 2002 ++++ src/shbuf.c Mon May 6 22:38:02 2002 +@@ -24,6 +24,7 @@ + #include <signal.h> + #include <errno.h> + #include <stdio.h> ++#include <string.h> + + #include "shbuf.h" + #include "internal.h" |