diff options
author | 2006-10-17 18:35:30 +0000 | |
---|---|---|
committer | 2006-10-17 18:35:30 +0000 | |
commit | b79859500ef8934993dd136a34f487b9945a591a (patch) | |
tree | 3831f62e3feadda2c99203c2616fabcc0c7eb85a /media-tv/xawtv/files | |
parent | Add patch to respect user-defined CFLAGS. (diff) | |
download | gentoo-2-b79859500ef8934993dd136a34f487b9945a591a.tar.gz gentoo-2-b79859500ef8934993dd136a34f487b9945a591a.tar.bz2 gentoo-2-b79859500ef8934993dd136a34f487b9945a591a.zip |
Adding a patch to compile against >=media-libs/libquicktime-0.9.9, bug #141429
(Portage version: 2.1.2_pre3-r3)
Diffstat (limited to 'media-tv/xawtv/files')
-rw-r--r-- | media-tv/xawtv/files/xawtv-3.95-libquicktime-compat.patch | 27 |
1 files changed, 27 insertions, 0 deletions
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]) |