aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2002-11-20 00:07:02 +0800
committertegge <tegge@FreeBSD.org>2002-11-20 00:07:02 +0800
commit5232ad78122788742bd252fee99e3017305632ac (patch)
tree3b9552ae294b929e440a04c1269daf159c250470
parent31eaa963d20dcbbebfe947e05cf04c918730f84b (diff)
downloadfreebsd-ports-gnome-5232ad78122788742bd252fee99e3017305632ac.tar.gz
freebsd-ports-gnome-5232ad78122788742bd252fee99e3017305632ac.tar.zst
freebsd-ports-gnome-5232ad78122788742bd252fee99e3017305632ac.zip
Fix build failure on 5.0-CURRENT by including necessary headers.
-rw-r--r--devel/linuxthreads/Makefile2
-rw-r--r--devel/linuxthreads/files/patch-aa19
2 files changed, 19 insertions, 2 deletions
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile
index 8c249161f2d6..c59906b0cacc 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 5d1135c31321..ecb387fc7983 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>