From b79859500ef8934993dd136a34f487b9945a591a Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 17 Oct 2006 18:35:30 +0000 Subject: Adding a patch to compile against >=media-libs/libquicktime-0.9.9, bug #141429 (Portage version: 2.1.2_pre3-r3) --- .../files/xawtv-3.95-libquicktime-compat.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 media-tv/xawtv/files/xawtv-3.95-libquicktime-compat.patch (limited to 'media-tv/xawtv/files') diff --git a/media-tv/xawtv/files/xawtv-3.95-libquicktime-compat.patch b/media-tv/xawtv/files/xawtv-3.95-libquicktime-compat.patch new file mode 100644 index 000000000000..a86c48d83b4e --- /dev/null +++ b/media-tv/xawtv/files/xawtv-3.95-libquicktime-compat.patch @@ -0,0 +1,27 @@ +--- xawtv-3.95/libng/plugins/write-qt.c.old 2006-10-16 20:50:45.000000000 +0200 ++++ xawtv-3.95/libng/plugins/write-qt.c 2006-10-17 19:36:09.000000000 +0200 +@@ -348,10 +348,10 @@ + info[i]->name,info[i]->long_name); + for (j = 0; j < info[i]->num_fourccs; j++) + fprintf(stderr," fcc : %s\n",info[i]->fourccs[j]); +- for (j = 0; j < info[i]->num_encoding_colormodels; j++) ++ for (j = 0; j < lqt_num_colormodels(); j++) + fprintf(stderr," cmodel: %d [%s]\n", +- info[i]->encoding_colormodels[j], +- lqt_get_colormodel_string(info[i]->encoding_colormodels[j])); ++ lqt_get_colormodel(j), ++ lqt_get_colormodel_string(j)); + } + + /* sanity checks */ +@@ -378,8 +378,8 @@ + /* pick colormodel */ + fmtid = VIDEO_NONE; + cmodel = 0; +- for (j = 0; j < info[i]->num_encoding_colormodels; j++) { +- cmodel = info[i]->encoding_colormodels[j]; ++ for (j = 0; j < lqt_num_colormodels(); j++) { ++ cmodel = lqt_get_colormodel(j); + if (cmodel>= sizeof(cmodels)/sizeof(int)) + continue; + if (!cmodels[cmodel]) -- cgit v1.2.3-65-gdbad