From d630a0344bb0f6bf4848bec7bb6b6269461e3525 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Mon, 11 Aug 2003 10:11:03 +0000 Subject: [PATCH] upgrading package: xine-lib 1.0b12 -> 1rc0a --- xine-lib/xine-lib.patch | 22 ++++++++++++++++++++++ xine-lib/xine-lib.spec | 9 ++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/xine-lib/xine-lib.patch b/xine-lib/xine-lib.patch index 69ff410074..0fb37206a4 100644 --- a/xine-lib/xine-lib.patch +++ b/xine-lib/xine-lib.patch @@ -9,3 +9,25 @@ #else # include #endif +--- src/xine-engine/audio_out.c.orig Sun Jul 27 18:42:56 2003 ++++ src/xine-engine/audio_out.c Mon Aug 11 09:41:32 2003 +@@ -425,8 +425,8 @@ + num_frames = pts_len * this->frames_per_kpts / 1024; + + xprintf (this->xine, XINE_VERBOSITY_LOG, +- "inserting %d 0-frames to fill a gap of %" PRId64 " pts\n", +- num_frames, pts_len); ++ "inserting %d 0-frames to fill a gap of %lu pts\n", ++ num_frames, (unsigned long)pts_len); + + if ((this->output.mode == AO_CAP_MODE_A52) || (this->output.mode == AO_CAP_MODE_AC5)) { + write_pause_burst(this,num_frames); +@@ -790,7 +790,7 @@ + this->resample_sync_factor = (avg_gap < 0) ? 0.995 : 1.005; + + llprintf (LOG_RESAMPLE_SYNC, +- "sample rate adjusted to reduce gap: gap=%" PRId64 "\n", avg_gap); ++ "sample rate adjusted to reduce gap: gap=%lu\n", (unsigned long)avg_gap); + return 0; + + } else if (info->reduce_gap && abs(avg_gap) < 50) { diff --git a/xine-lib/xine-lib.spec b/xine-lib/xine-lib.spec index c647d344cd..986c5675ef 100644 --- a/xine-lib/xine-lib.spec +++ b/xine-lib/xine-lib.spec @@ -27,8 +27,8 @@ # FIXME: ms: ...package xine-ui instead, but I'm not sure. # package version -%define V_dist 1-beta12 -%define V_opkg 1.0b12 +%define V_dist 1-rc0a +%define V_opkg 1rc0a # package information Name: xine-lib @@ -40,7 +40,7 @@ Distribution: OpenPKG [JUNK] Group: Video License: GPL Version: %{V_opkg} -Release: 20030604 +Release: 20030811 # list of sources Source0: http://download.sourceforge.net/xine/xine-lib-%{V_dist}.tar.gz @@ -65,6 +65,9 @@ AutoReqProv: no %prep %setup -q -n xine-lib-%{V_dist} %patch -p0 + %{l_shtool} subst \ + -e 's;;;g' \ + `find . -name "*.[ch]" -type f -print` %build CC="%{l_cc}" \