From a3b4f976de810f2f307287f6311535e8d61e1153 Mon Sep 17 00:00:00 2001 From: ahze Date: Sun, 23 Oct 2005 19:40:43 +0000 Subject: - Fix mpeg joining [1] and splitting Obtained from: https://sourceforge.net/tracker/index.php?func=detail&aid=1309392&group_id=22678&atid=376136 [1] Submitted by: freebsd@chillt.de [1] PR: ports/87878 [1] --- multimedia/mpgtx/Makefile | 1 + multimedia/mpgtx/files/patch-chunkTab.cxx | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 multimedia/mpgtx/files/patch-chunkTab.cxx (limited to 'multimedia/mpgtx') diff --git a/multimedia/mpgtx/Makefile b/multimedia/mpgtx/Makefile index f9ef703..a14bbdb 100644 --- a/multimedia/mpgtx/Makefile +++ b/multimedia/mpgtx/Makefile @@ -8,6 +8,7 @@ PORTNAME= mpgtx PORTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/multimedia/mpgtx/files/patch-chunkTab.cxx b/multimedia/mpgtx/files/patch-chunkTab.cxx new file mode 100644 index 0000000..cd96a68 --- /dev/null +++ b/multimedia/mpgtx/files/patch-chunkTab.cxx @@ -0,0 +1,21 @@ +--- chunkTab.cxx.orig Sat Dec 11 18:33:22 2004 ++++ chunkTab.cxx Fri Sep 30 11:29:15 2005 +@@ -142,7 +142,7 @@ + off_t part,nparts; + chunk* tempchunk = new chunk; + tempchunk->file = 0; +- tempchunk->from = -1; ++ tempchunk->from = 0; + tempchunk->to = -1; + tempchunk->to_included = false; + tempchunk->from_included = false; +@@ -626,7 +626,7 @@ + for (i = 1; i <= n; i++) { + tempchunk = new chunk; + tempchunk->file = 0; +- tempchunk->from = -1; ++ tempchunk->from = 0; + tempchunk->to = -1; + tempchunk->to_included = true; + tempchunk->from_included = false; + -- cgit v1.1