diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-02-14 01:43:15 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-02-14 01:43:15 +0000 |
commit | 5edc1c379695d458283b56447d154642a1c2fb97 (patch) | |
tree | 66f930b5e9ac5867c4dd59f441d2c31086ddfb30 /devel/bonobo-activation | |
parent | Apply s|LINC_THREADSAFE|G_THREADS_ENABLED|g regex, because some time ago (diff) |
Fix an incompatibility with FreeBSD, which caused bonobo-activation-server
hang-up randomly. After this update the package passes all self-tests buindled
with it. Also forcefully supply -pthread cc(1) option to guard from
libc/libc_r ordering issues I see on my -current box. Bump PORTREVISION.
Diffstat (limited to 'devel/bonobo-activation')
-rw-r--r-- | devel/bonobo-activation/Makefile | 3 | ||||
-rw-r--r-- | devel/bonobo-activation/files/patch-bonobo-activation::bonobo-activation-fork-server.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/bonobo-activation/Makefile b/devel/bonobo-activation/Makefile index b9286f2a5ed4..ef9959d09e53 100644 --- a/devel/bonobo-activation/Makefile +++ b/devel/bonobo-activation/Makefile @@ -7,6 +7,7 @@ PORTNAME= bonobo-activation PORTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-alpha2 @@ -25,7 +26,7 @@ USE_BISON= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib -pthread" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} pre-patch: diff --git a/devel/bonobo-activation/files/patch-bonobo-activation::bonobo-activation-fork-server.c b/devel/bonobo-activation/files/patch-bonobo-activation::bonobo-activation-fork-server.c new file mode 100644 index 000000000000..ac381550b930 --- /dev/null +++ b/devel/bonobo-activation/files/patch-bonobo-activation::bonobo-activation-fork-server.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- bonobo-activation/bonobo-activation-fork-server.c 2002/02/14 01:06:52 1.1 ++++ bonobo-activation/bonobo-activation-fork-server.c 2002/02/14 01:07:07 +@@ -270,6 +270,8 @@ + } else if ((childpid = fork ())) { + _exit (0); /* de-zombifier process, just exit */ + } else { ++ sigprocmask (SIG_SETMASK, &omask, NULL); ++ + if (display) + bonobo_activation_setenv ("DISPLAY", display); + if (od_iorstr) |