summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-02-07 18:06:11 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-02-07 18:06:11 +0000
commitb237ce629cdf4959f80e7041e9741257dcc65c09 (patch)
treed75ac9f209b5c84d7ba83d55c4738bcafcea91ff /media-libs/libdv/files
parentAdded ~ppc keyword. bug 121863 (diff)
downloadgentoo-2-b237ce629cdf4959f80e7041e9741257dcc65c09.tar.gz
gentoo-2-b237ce629cdf4959f80e7041e9741257dcc65c09.tar.bz2
gentoo-2-b237ce629cdf4959f80e7041e9741257dcc65c09.zip
Trivial gcc4 fix
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-libs/libdv/files')
-rw-r--r--media-libs/libdv/files/libdv-0.104-gcc4.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/libdv/files/libdv-0.104-gcc4.patch b/media-libs/libdv/files/libdv-0.104-gcc4.patch
new file mode 100644
index 000000000000..bfcd44097e0a
--- /dev/null
+++ b/media-libs/libdv/files/libdv-0.104-gcc4.patch
@@ -0,0 +1,22 @@
+--- libdv/quant.h.orig 2006-02-07 17:39:08.000000000 +0000
++++ libdv/quant.h 2006-02-07 17:42:37.000000000 +0000
+@@ -27,7 +27,7 @@
+ extern void _dv_quant_88_inverse(dv_coeff_t *block,int qno,int klass);
+ extern void (*_dv_quant_248_inverse) (dv_coeff_t *block,int qno,int klass,
+ dv_248_coeff_t *co);
+-extern void _dv_quant_88_inverse_x86(dv_coeff_t *block,int qno,int klass, uint8_t offset[], uint8_t shifts[][]);
++extern void _dv_quant_88_inverse_x86(dv_coeff_t *block,int qno,int klass, uint8_t *offset, uint8_t **shifts);
+ extern void _dv_quant_88_inverse_x86_64(dv_coeff_t *block,int qno,int klass);
+ extern void dv_quant_init (void);
+ #ifdef __cplusplus
+--- libdv/quant.c.orig 2006-02-07 17:42:57.000000000 +0000
++++ libdv/quant.c 2006-02-07 17:43:17.000000000 +0000
+@@ -144,7 +144,7 @@
+ uint32_t dv_quant_248_mul_tab [2] [22] [64];
+ uint32_t dv_quant_88_mul_tab [2] [22] [64];
+
+-extern void _dv_quant_x86(dv_coeff_t *block,int qno,int klass,uint8_t dv_quant_offset[],uint8_t dv_quant_shifts[][]);
++extern void _dv_quant_x86(dv_coeff_t *block,int qno,int klass,uint8_t *dv_quant_offset,uint8_t **dv_quant_shifts);
+ extern void _dv_quant_x86_64(dv_coeff_t *block,int qno,int klass);
+ static void quant_248_inverse_std(dv_coeff_t *block,int qno,int klass,dv_248_coeff_t *co);
+ static void quant_248_inverse_mmx(dv_coeff_t *block,int qno,int klass,dv_248_coeff_t *co);