FreeBSD Bugzilla – Attachment 154449 Details for
Bug 198655
[MAINTAINER UPDATE] lang/see 3.1.1424-1: support for multi-threading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch file
see-3.1.1424-1.patch.txt (text/plain), 1.80 KB, created by
Šimun Mikecin
on 2015-03-17 10:29:36 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Šimun Mikecin
Created:
2015-03-17 10:29:36 UTC
Size:
1.80 KB
patch
obsolete
>diff -urN see.orig/Makefile see/Makefile >--- see.orig/Makefile 2015-02-23 09:36:15.430498000 +0100 >+++ see/Makefile 2015-02-28 19:50:08.471038608 +0100 >@@ -3,6 +3,7 @@ > > PORTNAME= see > PORTVERSION= 3.1.1424 >+PORTREVISION= 1 > CATEGORIES= lang devel > MASTER_SITES= http://download.openpkg.org/components/cache/see/ \ > http://lil.fr.distfiles.macports.org/see/ \ >@@ -12,10 +13,12 @@ > MAINTAINER= numisemis@yahoo.com > COMMENT= Simple ECMAScript Engine (SEE) > >-OPTIONS_DEFINE= GC SEE_DEBUG DOCS >+LICENSE= BSD >+ >+OPTIONS_DEFINE= GC DEBUG DOCS > OPTIONS_DEFAULT= GC > GC_DESC= Use Boehm-Weiser garbage collection package >-SEE_DEBUG_DESC= Internal SEE library debugging >+DEBUG_DESC= Internal SEE library debugging > > CONFLICTS= see-devel-[0-9]* > >@@ -27,11 +30,11 @@ > GNU_CONFIGURE= yes > INSTALL_TARGET= install-strip > >-CFLAGS+= -O3 -fomit-frame-pointer >+CFLAGS+= -O3 > CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} > LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} > >-SEE_DEBUG_CFLAGS_OFF= -DNDEBUG >+DEBUG_CFLAGS_OFF= -DNDEBUG > GC_LIB_DEPENDS= libgc.so:${PORTSDIR}/devel/boehm-gc > GC_CONFIGURE_WITH= boehm-gc > >diff -urN see.orig/files/patch-libsee_dtoa.c see/files/patch-libsee_dtoa.c >--- see.orig/files/patch-libsee_dtoa.c 1970-01-01 01:00:00.000000000 +0100 >+++ see/files/patch-libsee_dtoa.c 2015-02-28 19:43:07.000000000 +0100 >@@ -0,0 +1,17 @@ >+--- libsee/dtoa.c.orig 2009-04-26 23:04:58.000000000 +0200 >++++ libsee/dtoa.c 2015-03-16 15:46:21.218950229 +0100 >+@@ -252,6 +252,14 @@ >+ #include "math.h" >+ #endif >+ >++#include <pthread.h> >++ >++static pthread_mutex_t dtoaLock[2] = { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER }; >++ >++#define MULTIPLE_THREADS >++#define ACQUIRE_DTOA_LOCK(n) pthread_mutex_lock(&dtoaLock[n]); >++#define FREE_DTOA_LOCK(n) pthread_mutex_unlock(&dtoaLock[n]); >++ >+ #ifdef __cplusplus >+ extern "C" { >+ #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 198655
: 154449