================================
openh323:source=1.15.6-1.1
cvc rdiff openh323 -1 /[EMAIL PROTECTED]:devel//1//[EMAIL 
PROTECTED]:desktop/1.15.6-1.1
================================
1.15.6-1.1 Jonathan Smith (smithj) (http://bugs.rpath.com/) Fri Apr  7 06:53:59 
2006
    added MIT license
    
gcc4.patch: new
*** openh323-1.15.3/src/vic/p64.cxx.orig        2005-03-18 11:52:49.146096610 
+0100
--- openh323-1.15.3/src/vic/p64.cxx     2005-03-18 11:53:48.651046530 +0100
***************
*** 1125,1131 ****
         * If input buffer not aligned, prime bit-buffer
         * with 8 bits; otherwise, prime it with a 16.
         */
!       if ((int)bp & 1) {
                bs_ = (u_short*)(bp + 1);
                bb_ = *bp;
                nbb_ = 8 - sbit;
--- 1125,1131 ----
         * If input buffer not aligned, prime bit-buffer
         * with 8 bits; otherwise, prime it with a 16.
         */
!       if ((u_long)bp & 1) {
                bs_ = (u_short*)(bp + 1);
                bb_ = *bp;
                nbb_ = 8 - sbit;
*** openh323-1.15.3/plugins/audio/Speex/speexcodec.cxx.orig     2005-03-18 
12:06:35.138471815 +0100
--- openh323-1.15.3/plugins/audio/Speex/speexcodec.cxx  2005-03-18 
12:18:45.958321765 +0100
***************
*** 103,109 ****
  
  static void * create_encoder(const struct PluginCodec_Definition * codec)
  {
!   int mode = (int)(codec->userData);
  
    struct PluginSpeexContext * context = new PluginSpeexContext;
    context->bits = new SpeexBits;
--- 103,110 ----
  
  static void * create_encoder(const struct PluginCodec_Definition * codec)
  {
!   long model = (long)(codec->userData);
!   int mode = (int)model;
  
    struct PluginSpeexContext * context = new PluginSpeexContext;
    context->bits = new SpeexBits;

openh323.recipe: new
#
# Copyright (c) 2004-2005 rPath, Inc.
# This file is distributed under the terms of the MIT License.
# A copy is available at http://www.rpath.com/permanent/mit-license.html
#

class Openh323(CPackageRecipe):
    name = 'openh323'
    version = '1.15.6'

    buildRequires = [ 'expat:devel', 'pkgconfig:devel', 'openldap:devel',
                      'pwlib:devel', 'pwlib:runtime', 'cyrus-sasl:devel',
                      'openssl:devel', 'speex:devel', 'gcc:devel' ]

    def setup(r):
        r.disableParallelMake()
        r.macros.tarversion = r.version.replace('.', '_')

        srpm = 
'http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/openh323-1.15.6-1.src.rpm'
        r.addArchive('openh323-%(version)s.tar.gz', rpm=srpm)
        r.addPatch('gcc4.patch', rpm=srpm)

        r.macros.cflags += ' -I%(includedir)s/speex '
        r.Configure('--enable-localspeex=no --enable-plugins')
        r.Make('optshared OPTCCFLAGS="%(cflags)s"')

        r.MakeInstall()
        r.Doc('ReadMe.txt', 'mpl-1.0.htm')


openh323-1.15.6.tar.gz: new

Committed by: krv
_______________________________________________
Desktop-commits mailing list
[email protected]
http://lists.bizrace.com/mailman/listinfo/desktop-commits

Reply via email to