diff options
author | rillig <rillig> | 2005-10-20 20:08:59 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-10-20 20:08:59 +0000 |
commit | 6db02e010c58c11bcb8dd164cb1c83a849e7b3c0 (patch) | |
tree | b8ee2caeee0d746853193745a3b3141dbfa4796a /audio | |
parent | 8e72e19c3c16584674b230031c6813b0353305c0 (diff) | |
download | pkgsrc-6db02e010c58c11bcb8dd164cb1c83a849e7b3c0.tar.gz |
Added patch-ae, which fixes an incompatibility with ISO C90.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/vorbis-tools/distinfo | 3 | ||||
-rw-r--r-- | audio/vorbis-tools/patches/patch-ae | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/audio/vorbis-tools/distinfo b/audio/vorbis-tools/distinfo index 0b6c36d990a..314ca7bbbf3 100644 --- a/audio/vorbis-tools/distinfo +++ b/audio/vorbis-tools/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2005/10/15 21:24:16 wiz Exp $ +$NetBSD: distinfo,v 1.17 2005/10/20 20:08:59 rillig Exp $ SHA1 (vorbis-tools-1.1.1.tar.gz) = a1394b39905b389d72f12c2a9f0c86a33d07a487 RMD160 (vorbis-tools-1.1.1.tar.gz) = ed38929b8a81f833f726e489e55e9f62d5ed69ec @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 2adc912765d58b19c1285c12ac0935b860b7da34 SHA1 (patch-ab) = 6c154334ea5a7a7e76982f0588de30548c802fca SHA1 (patch-ac) = 7eb178a2d7a5dbecd83a5df0138c9ab41943251a SHA1 (patch-ad) = 729ca84168ee781335429840ee54a2b894b82f54 +SHA1 (patch-ae) = 67bda1581c18dec0e43846f4c39aba35a7b2223e diff --git a/audio/vorbis-tools/patches/patch-ae b/audio/vorbis-tools/patches/patch-ae new file mode 100644 index 00000000000..57d938c5963 --- /dev/null +++ b/audio/vorbis-tools/patches/patch-ae @@ -0,0 +1,23 @@ +$NetBSD: patch-ae,v 1.1 2005/10/20 20:08:59 rillig Exp $ + +ISO-C90 fix. + +--- oggenc/encode.c.orig Fri Jun 3 12:15:10 2005 ++++ oggenc/encode.c Thu Oct 20 22:06:18 2005 +@@ -160,6 +160,8 @@ int oe_encode(oe_enc_opt *opt) + /* do we have optional hard bitrate restrictions? */ + if(opt->max_bitrate > 0 || opt->min_bitrate > 0){ + struct ovectl_ratemanage2_arg ai; ++ long bitrate; ++ + vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_GET, &ai); + + /* libvorbis 1.1 (and current svn) doesn't actually fill this in, +@@ -173,7 +175,6 @@ int oe_encode(oe_enc_opt *opt) + Also, note that this won't work correctly unless you have a very + recent (2005/03/04 or later) version of libvorbis from svn). + */ +- long bitrate; + + { + vorbis_info vi2; |