diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-10 12:47:19 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-10 12:47:19 +0000 |
commit | 41f28138c7bd836ca7488f2aa94704dbea54c33f (patch) | |
tree | 71a0bb7c1799975f979bb68dd0f2d5c6de1cad96 /net/ohphone | |
parent | 2c8a0e00ab9e6dd611a446124f25cd9bc69d857a (diff) | |
download | ports-41f28138c7bd836ca7488f2aa94704dbea54c33f.tar.gz ports-41f28138c7bd836ca7488f2aa94704dbea54c33f.zip |
- Fix build with new openh323/pwlib
PR: 121320
Submitted by: rafan
Approved by: portmgr (marcus)
Notes
Notes:
svn path=/head/; revision=208719
Diffstat (limited to 'net/ohphone')
-rw-r--r-- | net/ohphone/Makefile | 2 | ||||
-rw-r--r-- | net/ohphone/files/patch-main.cxx | 47 | ||||
-rw-r--r-- | net/ohphone/files/patch-xlibvid.cxx | 10 |
3 files changed, 58 insertions, 1 deletions
diff --git a/net/ohphone/Makefile b/net/ohphone/Makefile index eabaa352925e..2311fb7ef4fc 100644 --- a/net/ohphone/Makefile +++ b/net/ohphone/Makefile @@ -7,7 +7,7 @@ PORTNAME= ohphone PORTVERSION= 1.4.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/distfiles/ diff --git a/net/ohphone/files/patch-main.cxx b/net/ohphone/files/patch-main.cxx new file mode 100644 index 000000000000..7ec5bc13189a --- /dev/null +++ b/net/ohphone/files/patch-main.cxx @@ -0,0 +1,47 @@ +--- ./main.cxx.orig 2006-04-07 02:21:49.000000000 +0800 ++++ ./main.cxx 2008-03-03 23:07:51.000000000 +0800 +@@ -184,6 +184,8 @@ + */ + + #include <ptlib.h> ++#include <ptlib/sound.h> ++#include <ptlib/video.h> + #include <ptclib/random.h> + + #include "main.h" +@@ -224,7 +226,7 @@ + #include "xlibvid.h" + #endif + +-#ifdef P_SDL ++#if P_SDL + #include <ptclib/vsdl.h> + #endif + +@@ -554,7 +556,7 @@ + " : svga256 256 colour VGA (Linux only)\n" + " : svga full colour VGA (Linux only)\n" + #endif +-#ifdef P_SDL ++#if P_SDL + " : sdl Use Simple DirectMedia Library\n" + #endif + #ifdef HAS_X11 +@@ -855,7 +857,7 @@ + && !(videoReceiveDevice *= "svga") + && !(videoReceiveDevice *= "svga256") + #endif +-#ifdef P_SDL ++#if P_SDL + && !(videoReceiveDevice *= "sdl") + #endif + #ifdef HAS_X11 +@@ -2065,7 +2067,7 @@ + if ((!isEncoding) || videoLocal) + PAssert(!videoReceiveDevice.IsEmpty(), "video display created without device type"); + +-#ifdef P_SDL ++#if P_SDL + // Dump received video to SDL + if (videoReceiveDevice *= "sdl") + display = new PSDLVideoDevice(); diff --git a/net/ohphone/files/patch-xlibvid.cxx b/net/ohphone/files/patch-xlibvid.cxx new file mode 100644 index 000000000000..eca8c5ff9893 --- /dev/null +++ b/net/ohphone/files/patch-xlibvid.cxx @@ -0,0 +1,10 @@ +--- ./xlibvid.cxx.orig 2008-03-03 23:09:06.000000000 +0800 ++++ ./xlibvid.cxx 2008-03-03 23:09:16.000000000 +0800 +@@ -88,6 +88,7 @@ + #include <sys/time.h> + #include <unistd.h> + #include <ptlib.h> ++#include <ptlib/video.h> + #include <string.h> + #include "xlibvid.h" + |