diff options
author | tegge <tegge@FreeBSD.org> | 2002-11-19 16:07:02 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2002-11-19 16:07:02 +0000 |
commit | 5232ad78122788742bd252fee99e3017305632ac (patch) | |
tree | 3b9552ae294b929e440a04c1269daf159c250470 /devel/linuxthreads | |
parent | 31eaa963d20dcbbebfe947e05cf04c918730f84b (diff) | |
download | FreeBSD-ports-5232ad78122788742bd252fee99e3017305632ac.zip FreeBSD-ports-5232ad78122788742bd252fee99e3017305632ac.tar.gz |
Fix build failure on 5.0-CURRENT by including necessary headers.
Diffstat (limited to 'devel/linuxthreads')
-rw-r--r-- | devel/linuxthreads/Makefile | 2 | ||||
-rw-r--r-- | devel/linuxthreads/files/patch-aa | 19 |
2 files changed, 19 insertions, 2 deletions
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile index 8c24916..c59906b 100644 --- a/devel/linuxthreads/Makefile +++ b/devel/linuxthreads/Makefile @@ -7,7 +7,7 @@ PORTNAME= linuxthreads PORTVERSION= 2.2.3 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= glibc diff --git a/devel/linuxthreads/files/patch-aa b/devel/linuxthreads/files/patch-aa index 5d1135c..ecb387f 100644 --- a/devel/linuxthreads/files/patch-aa +++ b/devel/linuxthreads/files/patch-aa @@ -564,7 +564,15 @@ diff -ru ../../work/linuxthreads-2.2.3/ptfork.c ./ptfork.c diff -ru ../../work/linuxthreads-2.2.3/pthread.c ./pthread.c --- ../../work/linuxthreads-2.2.3/pthread.c Wed Apr 25 21:50:59 2001 +++ ./pthread.c Thu Jun 7 22:59:29 2001 -@@ -21,11 +21,11 @@ +@@ -15,17 +15,19 @@ + + /* Thread creation, initialization, and basic low-level routines */ + ++#include <sys/types.h> ++#include <sys/time.h> + #include <errno.h> + #include <stddef.h> + #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> @@ -1133,6 +1141,15 @@ diff -ru ../../work/linuxthreads-2.2.3/sysdeps/unix/sysv/linux/bits/sigthread.h diff -ru ../../work/linuxthreads-2.2.3/wrapsyscall.c ./wrapsyscall.c --- ../../work/linuxthreads-2.2.3/wrapsyscall.c Wed Apr 25 21:50:59 2001 +++ ./wrapsyscall.c Thu Jun 7 22:59:29 2001 +@@ -18,6 +18,8 @@ + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + ++#include <sys/types.h> ++#include <sys/time.h> + #include <fcntl.h> + #include <sys/mman.h> + #include <pthread.h> @@ -29,6 +29,7 @@ #include <sys/resource.h> #include <sys/wait.h> |