summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/ogmtools/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/ogmtools/files')
-rw-r--r--media-sound/ogmtools/files/ogmtools-1.5-comments.patch21
-rw-r--r--media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch11
-rw-r--r--media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch12
-rw-r--r--media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch12
4 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/ogmtools/files/ogmtools-1.5-comments.patch b/media-sound/ogmtools/files/ogmtools-1.5-comments.patch
new file mode 100644
index 000000000000..0440a8040b8c
--- /dev/null
+++ b/media-sound/ogmtools/files/ogmtools-1.5-comments.patch
@@ -0,0 +1,21 @@
+--- vorbis_header_utils.c.orig Fri Aug 31 14:47:55 2007
++++ vorbis_header_utils.c Fri Aug 31 14:51:23 2007
+@@ -153,15 +153,15 @@
+ die("malloc");
+
+ memcpy(new_vc, vc, sizeof(vorbis_comment));
+- new_vc->user_comments = (char **)malloc((vc->comments + 1) * sizeof(char *));
+- new_vc->comment_lengths = (int *)malloc((vc->comments + 1) * sizeof(int));
++ new_vc->user_comments = (char **)malloc((vc->comments + 1) * sizeof(*new_vc->user_comments));
++ new_vc->comment_lengths = (int *)malloc((vc->comments + 1) * sizeof(*new_vc->comment_lengths));
+ if ((new_vc->user_comments == NULL) || (new_vc->comment_lengths == NULL))
+ die("malloc");
+ for (i = 0; i < vc->comments; i++)
+ new_vc->user_comments[i] = strdup(vc->user_comments[i]);
+ new_vc->user_comments[vc->comments] = 0;
+ memcpy(new_vc->comment_lengths, vc->comment_lengths,
+- (vc->comments + 1) * sizeof(char *));
++ (vc->comments + 1) * sizeof(*new_vc->comment_lengths));
+ new_vc->vendor = strdup(vc->vendor);
+
+ return new_vc;
diff --git a/media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch b/media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch
new file mode 100644
index 000000000000..8945ca47c082
--- /dev/null
+++ b/media-sound/ogmtools/files/ogmtools-1.5-endian-fix.patch
@@ -0,0 +1,11 @@
+--- avilib/avidump.c.orig 2004-11-02 15:30:16.000000000 +0000
++++ avilib/avidump.c 2004-11-17 19:12:02.730255128 +0000
+@@ -54,7 +54,7 @@
+ ((x<<8) & 0x00ff0000) |\
+ ((x<<24) & 0xff000000))
+ # define SWAP8(x) (((SWAP4(x)<<32) & 0xffffffff00000000ULL) |\
+- (SWAP4(x)))
++ SWAP4(x))
+ #else
+ # define SWAP2(a) (a)
+ # define SWAP4(a) (a)
diff --git a/media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch b/media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch
new file mode 100644
index 000000000000..8457918beb8f
--- /dev/null
+++ b/media-sound/ogmtools/files/ogmtools-1.5-summary_length.patch
@@ -0,0 +1,12 @@
+diff -ur ogmtools-1.5.orig/ogminfo.c ogmtools-1.5/ogminfo.c
+--- ogmtools-1.5.orig/ogminfo.c 2003-11-21 00:21:36.000000000 +0200
++++ ogmtools-1.5/ogminfo.c 2009-05-12 12:41:58.000000000 +0300
+@@ -513,7 +513,7 @@
+ stream->serial, stream->size,
+ (stream->size * 8.0 / 1000.0) / now,
+ (stream->size / 1024.0) / now,
+- stream->num_packets, now * 1000.0);
++ stream->num_packets, now);
+ stream = stream->next;
+ }
+ }
diff --git a/media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch b/media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch
new file mode 100644
index 000000000000..085cc5d978d3
--- /dev/null
+++ b/media-sound/ogmtools/files/ogmtools-1.5-vorbis_verbosity.patch
@@ -0,0 +1,12 @@
+diff -ur ogmtools-1.5.orig/ogminfo.c ogmtools-1.5/ogminfo.c
+--- ogmtools-1.5.orig/ogminfo.c 2003-11-21 00:21:36.000000000 +0200
++++ ogmtools-1.5/ogminfo.c 2009-05-12 12:42:56.000000000 +0300
+@@ -188,7 +188,7 @@
+ }
+ vorbis_comment_clear(&vc);
+ } else if ((stream->stype == 'a') && stream->vorbis) {
+- if (verbose < 1)
++ if (verbose < 2)
+ return;
+ fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ",
+ __FILE__, stream->sno, pack->bytes, ogg_page_granulepos(page),