From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 2 15:00:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 378B1106567A for ; Sun, 2 Mar 2008 15:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7478FC26 for ; Sun, 2 Mar 2008 15:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m22F032R017565 for ; Sun, 2 Mar 2008 15:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m22F03pf017563; Sun, 2 Mar 2008 15:00:03 GMT (envelope-from gnats) Resent-Date: Sun, 2 Mar 2008 15:00:03 GMT Resent-Message-Id: <200803021500.m22F03pf017563@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rong-En Fan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2777F106566C for ; Sun, 2 Mar 2008 14:52:09 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.freebsd.org (Postfix) with ESMTP id D101A8FC1A for ; Sun, 2 Mar 2008 14:52:08 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.14.1/8.14.1) with ESMTP id m22Eq7AU011817; Sun, 2 Mar 2008 22:52:07 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.14.1/8.14.1/Submit) id m22Eq615030779; Sun, 2 Mar 2008 22:52:06 +0800 (CST) (envelope-from rafan) Message-Id: <200803021452.m22Eq615030779@svm.csie.ntu.edu.tw> Date: Sun, 2 Mar 2008 22:52:06 +0800 (CST) From: Rong-En Fan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Joerg.Pulz@frm2.tum.de Subject: ports/121290: [PATCH] net/cphone: unbreak with new pwlib/openh323 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 15:00:04 -0000 >Number: 121290 >Category: ports >Synopsis: [PATCH] net/cphone: unbreak with new pwlib/openh323 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 02 15:00:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.3-PRERELEASE amd64 >Organization: NTU CSIE >Environment: >Description: - Fix build with new pwlib/openh323 Some patch was taken from ekiga: http://mail.gnome.org/archives/ekiga-list/2007-April/msg00136.html Added file(s): - files/patch-cpendpoint.h - files/patch-options.h - files/patch-qtvid.cxx - files/patch-qtvid.h Port maintainer (Joerg.Pulz@frm2.tum.de) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- cphone-0.3.2.c.20060407_3.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/cphone/Makefile,v retrieving revision 1.19 diff -u -u -r1.19 Makefile --- Makefile 17 Oct 2007 10:12:50 -0000 1.19 +++ Makefile 2 Mar 2008 14:52:18 -0000 @@ -7,7 +7,7 @@ PORTNAME= cphone DISTVERSION= 0.3.2.cvs.20060407 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/distfiles/ Index: files/patch-cpendpoint.h =================================================================== RCS file: files/patch-cpendpoint.h diff -N files/patch-cpendpoint.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-cpendpoint.h 2 Mar 2008 14:52:19 -0000 @@ -0,0 +1,10 @@ +--- ./cpendpoint.h.orig 2008-03-02 22:47:13.000000000 +0800 ++++ ./cpendpoint.h 2008-03-02 22:47:30.000000000 +0800 +@@ -53,6 +53,7 @@ + #define _CPhone_CPENDPOINT_H + + #include ++#include + #include + #include + #include "options.h" Index: files/patch-options.h =================================================================== RCS file: files/patch-options.h diff -N files/patch-options.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-options.h 2 Mar 2008 14:52:19 -0000 @@ -0,0 +1,10 @@ +--- ./options.h.orig 2008-03-02 22:44:57.000000000 +0800 ++++ ./options.h 2008-03-02 22:45:04.000000000 +0800 +@@ -48,6 +48,7 @@ + #define _CPhone_OPTIONS_H + + #include ++#include + + class MainUserInterface; + Index: files/patch-qtvid.cxx =================================================================== RCS file: files/patch-qtvid.cxx diff -N files/patch-qtvid.cxx --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-qtvid.cxx 2 Mar 2008 14:52:19 -0000 @@ -0,0 +1,25 @@ +--- ./qtvid.cxx.orig 2008-03-02 22:45:11.000000000 +0800 ++++ ./qtvid.cxx 2008-03-02 22:45:59.000000000 +0800 +@@ -263,21 +263,7 @@ + + BOOL PTextVideoInputDevice::GetFrameData(BYTE *buffer, PINDEX *bytesReturned) + { +- if(frameRate>0) { +- frameTimeError += msBetweenFrames; +- +- do { +- if ( !GetFrameDataNoDelay(buffer, bytesReturned)) { +- return FALSE; +- } +- PTime now; +- PTimeInterval delay = now - previousFrameTime; +- frameTimeError -= (int)delay.GetMilliSeconds(); +- previousFrameTime = now; +- } while(frameTimeError > 0) ; +- +- return TRUE; +- } ++ m_pacing.Delay(1000/GetFrameRate()); + return GetFrameDataNoDelay(buffer, bytesReturned); + } + Index: files/patch-qtvid.h =================================================================== RCS file: files/patch-qtvid.h diff -N files/patch-qtvid.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-qtvid.h 2 Mar 2008 14:52:19 -0000 @@ -0,0 +1,19 @@ +--- ./qtvid.h.orig 2008-03-02 22:45:09.000000000 +0800 ++++ ./qtvid.h 2008-03-02 22:46:14.000000000 +0800 +@@ -42,6 +42,7 @@ + #define _CPhone_Qt_H + + #include ++#include + #include + #include "vdisplay.h" + +@@ -319,6 +320,8 @@ + + Rgb32Image *rgbImage; + PMutex bufferMutex; ++ ++ PAdaptiveDelay m_pacing; + }; + + --- cphone-0.3.2.c.20060407_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: