diff options
author | Alex Dupre <ale@FreeBSD.org> | 2011-08-25 08:35:59 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2011-08-25 08:35:59 +0000 |
commit | 2c0f34943868e2ab357faa212f921d139e811ba1 (patch) | |
tree | ecd3e0e10a1d1c7ef83e5c94957b2ae6f563c7d9 | |
parent | Register lang/p5-Try-Tiny as run dependency. It disappeared at some point (diff) |
Add a patch to fix enigmail and bump PORTREVISION.
Issue analysis:
fire_glxtest_process() forks a new process, but doesn't wait(2) for it.
So when wait(2) is invoked later it may return a pid of this child before any
other child.
Submitted by: avg
Approved by: flo
Notes
Notes:
svn path=/head/; revision=280389
-rw-r--r-- | mail/thunderbird-esr/Makefile | 2 | ||||
-rw-r--r-- | mail/thunderbird-esr/files/patch-mozilla_toolkit_xre_glxtest.cpp | 25 | ||||
-rw-r--r-- | mail/thunderbird/Makefile | 2 | ||||
-rw-r--r-- | mail/thunderbird/files/patch-mozilla_toolkit_xre_glxtest.cpp | 25 | ||||
-rw-r--r-- | www/seamonkey/Makefile | 2 | ||||
-rw-r--r-- | www/seamonkey/files/patch-mozilla_toolkit_xre_glxtest.cpp | 25 |
6 files changed, 78 insertions, 3 deletions
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile index f5b815fa8add..5f3b0a47034a 100644 --- a/mail/thunderbird-esr/Makefile +++ b/mail/thunderbird-esr/Makefile @@ -7,7 +7,7 @@ PORTNAME= thunderbird DISTVERSION= 6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source diff --git a/mail/thunderbird-esr/files/patch-mozilla_toolkit_xre_glxtest.cpp b/mail/thunderbird-esr/files/patch-mozilla_toolkit_xre_glxtest.cpp new file mode 100644 index 000000000000..f338b4bdedb5 --- /dev/null +++ b/mail/thunderbird-esr/files/patch-mozilla_toolkit_xre_glxtest.cpp @@ -0,0 +1,25 @@ +--- mozilla/toolkit/xre/glxtest.cpp.orig 2011-08-19 18:57:10.604870746 +0300 ++++ mozilla/toolkit/xre/glxtest.cpp 2011-08-19 18:59:43.620447963 +0300 +@@ -51,6 +51,8 @@ + // which runs the glxtest() static function. This creates a X connection, a GLX context, calls glGetString, and writes that + // to the 'write' end of the pipe. + ++#include <sys/types.h> ++#include <sys/wait.h> + #include <cstdio> + #include <cstdlib> + #include <unistd.h> +@@ -224,6 +226,7 @@ + void fire_glxtest_process() + { + int pfd[2]; ++ int status; + if (pipe(pfd) == -1) { + perror("pipe"); + exit(EXIT_FAILURE); +@@ -244,4 +247,5 @@ + close(pfd[1]); + mozilla::widget::glxtest_pipe = pfd[0]; + mozilla::widget::glxtest_pid = pid; ++ waitpid(pid, &status, 0); + } diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index f5b815fa8add..5f3b0a47034a 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -7,7 +7,7 @@ PORTNAME= thunderbird DISTVERSION= 6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${DISTVERSION}/source diff --git a/mail/thunderbird/files/patch-mozilla_toolkit_xre_glxtest.cpp b/mail/thunderbird/files/patch-mozilla_toolkit_xre_glxtest.cpp new file mode 100644 index 000000000000..f338b4bdedb5 --- /dev/null +++ b/mail/thunderbird/files/patch-mozilla_toolkit_xre_glxtest.cpp @@ -0,0 +1,25 @@ +--- mozilla/toolkit/xre/glxtest.cpp.orig 2011-08-19 18:57:10.604870746 +0300 ++++ mozilla/toolkit/xre/glxtest.cpp 2011-08-19 18:59:43.620447963 +0300 +@@ -51,6 +51,8 @@ + // which runs the glxtest() static function. This creates a X connection, a GLX context, calls glGetString, and writes that + // to the 'write' end of the pipe. + ++#include <sys/types.h> ++#include <sys/wait.h> + #include <cstdio> + #include <cstdlib> + #include <unistd.h> +@@ -224,6 +226,7 @@ + void fire_glxtest_process() + { + int pfd[2]; ++ int status; + if (pipe(pfd) == -1) { + perror("pipe"); + exit(EXIT_FAILURE); +@@ -244,4 +247,5 @@ + close(pfd[1]); + mozilla::widget::glxtest_pipe = pfd[0]; + mozilla::widget::glxtest_pid = pid; ++ waitpid(pid, &status, 0); + } diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index 4eac90ab5f86..e643948f238a 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -7,7 +7,7 @@ PORTNAME= seamonkey DISTVERSION= 2.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES?= www ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED} MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}/source diff --git a/www/seamonkey/files/patch-mozilla_toolkit_xre_glxtest.cpp b/www/seamonkey/files/patch-mozilla_toolkit_xre_glxtest.cpp new file mode 100644 index 000000000000..f338b4bdedb5 --- /dev/null +++ b/www/seamonkey/files/patch-mozilla_toolkit_xre_glxtest.cpp @@ -0,0 +1,25 @@ +--- mozilla/toolkit/xre/glxtest.cpp.orig 2011-08-19 18:57:10.604870746 +0300 ++++ mozilla/toolkit/xre/glxtest.cpp 2011-08-19 18:59:43.620447963 +0300 +@@ -51,6 +51,8 @@ + // which runs the glxtest() static function. This creates a X connection, a GLX context, calls glGetString, and writes that + // to the 'write' end of the pipe. + ++#include <sys/types.h> ++#include <sys/wait.h> + #include <cstdio> + #include <cstdlib> + #include <unistd.h> +@@ -224,6 +226,7 @@ + void fire_glxtest_process() + { + int pfd[2]; ++ int status; + if (pipe(pfd) == -1) { + perror("pipe"); + exit(EXIT_FAILURE); +@@ -244,4 +247,5 @@ + close(pfd[1]); + mozilla::widget::glxtest_pipe = pfd[0]; + mozilla::widget::glxtest_pid = pid; ++ waitpid(pid, &status, 0); + } |