From 6b5374a86e9e153ad7d7112ef773e6534f88a776 Mon Sep 17 00:00:00 2001 From: Benjamin Schieder Date: Wed, 26 Jan 2005 16:14:22 +0000 Subject: [PATCH] Benjamin Schieder: add package mpgtx works with gcc34 [2005011218055812553] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5533 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/blindcoder/mpgtx/gcc34.patch | 86 +++++++++++++++++++++++++++ package/blindcoder/mpgtx/mpgtx.desc | 43 ++++++++++++++ package/blindcoder/mpgtx/prefix.patch | 12 ++++ 3 files changed, 141 insertions(+) create mode 100644 package/blindcoder/mpgtx/gcc34.patch create mode 100644 package/blindcoder/mpgtx/mpgtx.desc create mode 100644 package/blindcoder/mpgtx/prefix.patch diff --git a/package/blindcoder/mpgtx/gcc34.patch b/package/blindcoder/mpgtx/gcc34.patch new file mode 100644 index 000000000..fbded6f2d --- /dev/null +++ b/package/blindcoder/mpgtx/gcc34.patch @@ -0,0 +1,86 @@ +diff -pruN mpgtx-1.3/mpeg.cxx mpgtx-1.3_new/mpeg.cxx +--- mpgtx-1.3/mpeg.cxx 2002-08-30 18:03:12.000000000 +0200 ++++ mpgtx-1.3_new/mpeg.cxx 2005-01-12 17:01:47.085003784 +0100 +@@ -1537,7 +1537,7 @@ void mpeg::SecsToHMS(char* HMS, float du + // find next 0x 00 00 01 xx sequence, returns offset or -1 on err + #ifndef _WIN32 + #ifndef _MACOSX +-inline ++//inline + #endif + #endif + +@@ -1568,7 +1568,7 @@ off_t mpeg::FindNextMarker(off_t from){ + // change mark to xx + #ifndef _WIN32 + #ifndef _MACOSX +-inline ++//inline + #endif + #endif + +@@ -1596,7 +1596,7 @@ off_t mpeg::FindNextMarker(off_t from, m + // find next 0X00 00 01 mark + #ifndef _WIN32 + #ifndef _MACOSX +-inline ++//inline + #endif + #endif + +@@ -1631,7 +1631,7 @@ off_t mpeg::FindNextMarker(off_t from, m + // same as above but optimized for backward search + #ifndef _WIN32 + #ifndef _MACOSX +-inline ++//inline + #endif + #endif + +@@ -1656,7 +1656,7 @@ off_t mpeg::bdFindNextMarker(off_t from, + + #ifndef _WIN32 + #ifndef _MACOSX +-inline ++//inline + #endif + #endif + +@@ -2619,7 +2619,7 @@ transport::transport() + PMT_PIDs(0), + n_PMT_PIDs(0), + read_pmts(0) +-{}; ++{} + + transport::~transport() { + BTRACK; +@@ -2791,4 +2791,4 @@ while (p != -1) + } + + +-} +\ No newline at end of file ++} +diff -pruN mpgtx-1.3/mpeg.hh mpgtx-1.3_new/mpeg.hh +--- mpgtx-1.3/mpeg.hh 2002-08-30 18:03:12.000000000 +0200 ++++ mpgtx-1.3_new/mpeg.hh 2005-01-12 16:59:17.195790408 +0100 +@@ -113,6 +113,7 @@ class transport + class mpeg + { + friend class mpegSystemOut; ++ friend class mpegVideoOut; + friend class demuxer; + protected: + // disallow basic constructors +diff -pruN mpgtx-1.3/mpegOut.cxx mpgtx-1.3_new/mpegOut.cxx +--- mpgtx-1.3/mpegOut.cxx 2002-08-30 18:03:12.000000000 +0200 ++++ mpgtx-1.3_new/mpegOut.cxx 2005-01-12 17:00:10.654663424 +0100 +@@ -7,6 +7,7 @@ + ************************************************************/ + + ++#include "mpeg.hh" + #include "mpegOut.hh" + #include "common.hh" + #include diff --git a/package/blindcoder/mpgtx/mpgtx.desc b/package/blindcoder/mpgtx/mpgtx.desc new file mode 100644 index 000000000..8c41bc5c0 --- /dev/null +++ b/package/blindcoder/mpgtx/mpgtx.desc @@ -0,0 +1,43 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/blindcoder/mpgtx/mpgtx.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] A command line MPEG audio/video toolbox. + +[T] mpgtx (an MPEG ToolboX) allows you to manipulate ID3 tags, split, join, +[T] demultiplex, and fetch detailed information about a variety of MPEG files. It +[T] was designed to do little, but do it well, and to provide the end user with an +[T] austere yet powerful commandline interface. It replaces &quot;mpgcut&quot;. + +[U] http://mpgtx.sourceforge.net/ + +[A] laureck +[M] Benjamin Schieder + +[C] extra/multimedia + +[L] GPL +[S] Beta +[V] 0.7b +[P] X -----5---9 800.000 + +[D] 47893087 mpgtx-1.3.tgz http://dl.sourceforge.net/sourceforge/mpgtx/ diff --git a/package/blindcoder/mpgtx/prefix.patch b/package/blindcoder/mpgtx/prefix.patch new file mode 100644 index 000000000..2e2ea551d --- /dev/null +++ b/package/blindcoder/mpgtx/prefix.patch @@ -0,0 +1,12 @@ +diff -pruN mpgtx-1.3/configure mpgtx-1.3_new/configure +--- mpgtx-1.3/configure 2002-08-30 18:03:12.000000000 +0200 ++++ mpgtx-1.3_new/configure 2005-01-02 17:15:22.188347080 +0100 +@@ -75,7 +75,7 @@ do + -no-LFS | --no-LFS | -no-lfs | --no-lfs) LFS="no";; + -stat | -static | --stat | --static) static="yes";; + -par | -parachute | --par | --parachute) parachute="yes";; +- -prefix=* | --prefix=*) prefix=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; ++ -prefix=* | --prefix=*) prefix=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ; manprefix=$prefix ;; + -dist | dist | --distrib | -distrib) rm -f Makefile && cat << EOF >makefile && exit 0;; + # Dummy Makefile, please run ./configure + default: