OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 11-Oct-2004 17:16:11 Branch: HEAD Handle: 2004101116161100 Added files: openpkg-src/libsrs2 libsrs2.patch Modified files: openpkg-src/libsrs2 libsrs2.spec Log: make more portable Summary: Revision Changes Path 1.1 +20 -0 openpkg-src/libsrs2/libsrs2.patch 1.3 +3 -1 openpkg-src/libsrs2/libsrs2.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/libsrs2/libsrs2.patch ============================================================================ $ cvs diff -u -r0 -r1.1 libsrs2.patch --- /dev/null 2004-10-11 17:16:11 +0200 +++ libsrs2.patch 2004-10-11 17:16:11 +0200 @@ -0,0 +1,20 @@ +Index: libsrs2/srs2.h +--- libsrs2/srs2.h.orig 2004-07-04 19:49:03.000000000 +0200 ++++ libsrs2/srs2.h 2004-10-11 17:14:24.041527940 +0200 +@@ -14,6 +14,16 @@ + #ifndef __SRS2_H__ + #define __SRS2_H__ + ++#if !defined(__BEGIN_DECLS) && !defined(__END_DECLS) ++#if defined(__cplusplus) ++#define __BEGIN_DECLS extern "C" { ++#define __END_DECLS } ++#else ++#define __BEGIN_DECLS ++#define __END_DECLS ++#endif ++#endif ++ + __BEGIN_DECLS + + #define SRS_VERSION_MAJOR 1 @@ . patch -p0 <<'@@ .' Index: openpkg-src/libsrs2/libsrs2.spec ============================================================================ $ cvs diff -u -r1.2 -r1.3 libsrs2.spec --- openpkg-src/libsrs2/libsrs2.spec 29 Jul 2004 06:51:47 -0000 1.2 +++ openpkg-src/libsrs2/libsrs2.spec 11 Oct 2004 15:16:11 -0000 1.3 @@ -34,10 +34,11 @@ Group: Mail License: GPL/BSD Version: 1.0.17 -Release: 20040729 +Release: 20041011 # list of sources Source0: http://www.libsrs2.org/srs/libsrs2-%{version}.tar.gz +Patch0: libsrs2.patch # build information Prefix: %{l_prefix} @@ -65,6 +66,7 @@ %prep %setup -q + %patch -p0 %build CC="%{l_cc}" \ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]