summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/mpgtx/Makefile1
-rw-r--r--multimedia/mpgtx/files/patch-chunkTab.cxx21
2 files changed, 22 insertions, 0 deletions
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;
+
OpenPOWER on IntegriCloud