Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11988

Added Files:
        libdvbpsi9-shlibs.info libdvbpsi9-shlibs.patch 
Log Message:
new pkg libdvbpsi 1.1.0

--- NEW FILE: libdvbpsi9-shlibs.patch ---
>From 7252bc0960bfc2f0c6b8ccc1f3b1b3deb4c75f5f Mon Sep 17 00:00:00 2001
From: Jean-Paul Saman <jpsa...@videolan.org>
Date: Tue, 23 Apr 2013 13:31:24 +0200
Subject: [PATCH] descriptors/dr_7c.c: clang compatibility

Use explicite parenthesis around ? : constructions.
---
 src/descriptors/dr_7c.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/descriptors/dr_7c.c b/src/descriptors/dr_7c.c
index 1db2628..f51acb4 100644
--- a/src/descriptors/dr_7c.c
+++ b/src/descriptors/dr_7c.c
@@ -245,7 +245,7 @@ dvbpsi_aac_dr_t *dvbpsi_DecodeAACDr(dvbpsi_descriptor_t 
*p_descriptor)
     /* Keep additional info bytes field */
     if (p_descriptor->i_length > 1)
     {
-        uint8_t i_info_length = p_descriptor->i_length - p_decoded->b_type ? 3 
: 2;
+        uint8_t i_info_length = p_descriptor->i_length - (p_decoded->b_type ? 
3 : 2);
         dvbpsi_aac_dr_t *p_tmp = realloc(p_decoded, sizeof(dvbpsi_aac_dr_t) + 
i_info_length);
         if (!p_tmp)
         {
-- 
1.7.10.4


--- NEW FILE: libdvbpsi9-shlibs.info ---
Package: libdvbpsi9-shlibs
Version: 1.1.0
Revision: 1
Source: http://download.videolan.org/pub/libdvbpsi/%v/libdvbpsi-%v.tar.bz2
Source-MD5: 1f84f9d1de08e15f94e6ff9957278064 
License: LGPL
Maintainer: Hanspeter Niederstrasser <nie...@users.sourceforge.net>
HomePage: http://www.videolan.org/developers/libdvbpsi.html
Description: Parse & Generate MPEG Transport Stream Tables
DocFiles: AUTHORS COPYING ChangeLog NEWS README
BuildDepends: <<
        fink-package-precedence
<<
PatchFile: %n.patch
PatchFile-MD5: ecff8f09c3501d9f7e1545577d730811
PatchScript: <<
        %{default_script}
        ### Don't build examples because they don't like clang
        perl -pi -e 's|src examples misc|src misc|g' Makefile.in
<<
ConfigureParams: <<
        --enable-dependency-tracking \
        --disable-debug \
        --enable-release
<<
CompileScript: <<
        #!/bin/sh -ev
        ./configure %c
        make -w
        fink-package-precedence --prohibit-bdep=libdvbpsi,libdvbpsi9-dev .
<<
InfoTest: <<
        TestScript: make check || exit 2
<<
Shlibs: <<
        %p/lib/libdvbpsi.9.dylib 10.0.0 %n (>= 1.1.0-1)
<<
SplitOff: <<
        Package: libdvbpsi9-dev
        Description: Dev files for libdvbpsi9
        Depends: %N (= %v-%r)
        BuildDependsOnly: true
        Conflicts: <<
                libdvbpsi,
                libdvbpsi9-dev
        <<
        Replaces: <<
                libdvbpsi,
                libdvbpsi9-dev
        <<
        DocFiles: AUTHORS COPYING ChangeLog NEWS README
        Files: <<
                include
                lib/libdvbpsi.dylib
                lib/libdvbpsi.la
                lib/pkgconfig
        <<
<<
DescDetail: <<
        Simple library designed for decoding and generation of
        MPEG Transport Stream and DVB PSI tables.
<<
DescPort: <<
        Patch for clang compatibility.  From git 
7252bc0960bfc2f0c6b8ccc1f3b1b3deb4c75f5f
<<

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to