summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/helixplayer/Makefile1
-rw-r--r--multimedia/helixplayer/files/patch-player_app_plugin_hxbackend.cpp16
2 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/helixplayer/Makefile b/multimedia/helixplayer/Makefile
index 52442c612b87..b8d8cb5ef8ef 100644
--- a/multimedia/helixplayer/Makefile
+++ b/multimedia/helixplayer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hxplay
PORTVERSION= 1.0.7
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= https://helixcommunity.org/frs/download.php/1950/ \
${MASTER_SITE_LOCAL}
diff --git a/multimedia/helixplayer/files/patch-player_app_plugin_hxbackend.cpp b/multimedia/helixplayer/files/patch-player_app_plugin_hxbackend.cpp
new file mode 100644
index 000000000000..16829fcdf5a2
--- /dev/null
+++ b/multimedia/helixplayer/files/patch-player_app_plugin_hxbackend.cpp
@@ -0,0 +1,16 @@
+--- player/app/plugin/hxbackend.cpp.orig Sun Oct 22 13:50:24 2006
++++ player/app/plugin/hxbackend.cpp Sun Oct 22 13:50:24 2006
+@@ -358,5 +357,5 @@ nsresult CHXPlayerBackend::ReceiveMessag
+ {
+ /* Trim back the buffer to the size we actually used (plus NULL) */
+- pBuf = (char*)realloc(pBuf, nPos + 1);
++ *ppBuf = (char*)realloc(pBuf, nPos + 1);
+ }
+ else
+@@ -509,5 +500,5 @@
+ fcntl(cbsockets[1], F_SETFD, 0);
+
+- m_nChildPid = fork();
++ m_nChildPid = vfork();
+ if(m_nChildPid < 0)
+ {