From deaa6380716ba4d8fd444520ae7a7615d5e52cfd Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Fri, 27 Feb 2004 23:32:55 +0000 Subject: Add option to ignore posix priority scheduling. Add threadsafe versions of some libc functions on FreeBSD 4.x. Register liblgcc_r_pic.a as installed for FreeBSD 5.x. --- devel/linuxthreads/files/patch-aa | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'devel/linuxthreads/files/patch-aa') diff --git a/devel/linuxthreads/files/patch-aa b/devel/linuxthreads/files/patch-aa index a805bfcb649f..1eaa73d68cdb 100644 --- a/devel/linuxthreads/files/patch-aa +++ b/devel/linuxthreads/files/patch-aa @@ -13,7 +13,7 @@ diff -ru ../../work/linuxthreads-2.2.3/Examples/Makefile ./Examples/Makefile diff -ru ../../work/linuxthreads-2.2.3/Makefile ./Makefile --- ../../work/linuxthreads-2.2.3/Makefile Wed Apr 25 21:50:59 2001 +++ ./Makefile Thu Jun 7 23:13:52 2001 -@@ -1,128 +1,122 @@ +@@ -1,128 +1,126 @@ -# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. -# This file is part of the GNU C Library. +LIB=lthread @@ -74,6 +74,10 @@ diff -ru ../../work/linuxthreads-2.2.3/Makefile ./Makefile +LD=${LINUXTHREADS_WRAP_LD} +.endif + ++.if defined(LINUXTHREADS_NO_POSIX_PRIORITY_SCHEDULING) ++CFLAGS += -DLINUXTHREADS_NO_POSIX_PRIORITY_SCHEDULING ++.endif ++ +CFLAGS += -I${LIBSRC_BASE}/libc/${MACHINE_ARCH} -I${.CURDIR}/sysdeps/${MACHINE_ARCH} + +# Contents of the library. @@ -82,7 +86,7 @@ diff -ru ../../work/linuxthreads-2.2.3/Makefile ./Makefile + libc_calls.c libc_thread.c manager.c mutex.c pt-machine.c ptfork.c \ + pthread.c ptlongjmp.c rwlock.c sched.c semaphore.c signals.c \ + specific.c spinlock.c uthread_file.c wraputhread.c wrapsyscall.c \ -+ barrier.c localtime.c ++ barrier.c localtime.c getlogin.c telldir.c ttyname.c strptime.c + +.if defined(USING_GCC3) +SOBJS += libgcc_r/unwind-sjlj.o libgcc_r/unwind-dw2.o libgcc_r/unwind-dw2-fde.o -- cgit v1.2.3