David, and others,

Find enclosed a patch to enable libccrtp to build under gcc4 which you might 
like to include upstream.

Mark

On Tuesday 07 June 2005 17:58, Stephan Hermann wrote:
> Package: libccrtp
> Version: 1.3.1-3
>
> FTBFS on amd64+ia64 with gcc4.
>
> Please use this patch to fix:
>
> diff -ur ccrtp-1.3.1/src/queue.cpp ccrtp-1.3.1.patched/src/queue.cpp
> --- ccrtp-1.3.1/src/queue.cpp   2005-03-24 14:14:18.000000000 +0100
> +++ ccrtp-1.3.1.patched/src/queue.cpp   2005-06-07 17:44:57.578322928
> +0200
> @@ -452,7 +452,7 @@
>                 uint8 array[1];
>                 struct {
>                         timeval time;
> -                       uint32 address;
> +                       void* address;
>                         uint8 cname[10];
>                 } data;
>         } message;
> @@ -467,7 +467,7 @@
>         message.array[0] =
>                 static_cast<uint8>(message.data.time.tv_sec *
>                                    message.data.time.tv_usec);
> -       message.data.address = (uint32)(&message);
> +       message.data.address = (void*)(&message);
>         memcpy(message.data.cname,
>               
> defaultApplication().getSDESItem(SDESItemTypeCNAME).c_str(),10);


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to