diff options
author | rillig <rillig@pkgsrc.org> | 2007-12-01 22:03:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-12-01 22:03:18 +0000 |
commit | e9205088573f9defc13592e6c27d312cd05d9150 (patch) | |
tree | a3fa39d1250a3e7ea91d5e41ab63508d25355ddf /mbone | |
parent | ae8050ab1480dc92513d8c25ca002a20748520d3 (diff) | |
download | pkgsrc-e9205088573f9defc13592e6c27d312cd05d9150.tar.gz |
Fixed invalid lvalue.
Diffstat (limited to 'mbone')
-rw-r--r-- | mbone/rat/distinfo | 3 | ||||
-rw-r--r-- | mbone/rat/patches/patch-ap | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/mbone/rat/distinfo b/mbone/rat/distinfo index 9761b636832..ef19c776ccb 100644 --- a/mbone/rat/distinfo +++ b/mbone/rat/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2007/08/11 16:45:52 joerg Exp $ +$NetBSD: distinfo,v 1.9 2007/12/01 22:03:18 rillig Exp $ SHA1 (rat-3.0.28.tar.gz) = 37ddf3a98fa9182016b1d132e767aec9838a2a9c RMD160 (rat-3.0.28.tar.gz) = 38e7061cecb866fe1ae8c4806bb6cc8246be7118 @@ -18,3 +18,4 @@ SHA1 (patch-al) = 6358b40664ab89daa938b34e73285f65625b9038 SHA1 (patch-am) = 2cd50a5ee902aa798a0a19c0d210bfd6f7c9e077 SHA1 (patch-an) = ef9045058984acf85188564bc03ab067543c4c96 SHA1 (patch-ao) = f122d0e3377c4656eee77e8c3ca07b1131ad666d +SHA1 (patch-ap) = 78fc3967fe798e2016833e775c427783f7064976 diff --git a/mbone/rat/patches/patch-ap b/mbone/rat/patches/patch-ap new file mode 100644 index 00000000000..181f23e6601 --- /dev/null +++ b/mbone/rat/patches/patch-ap @@ -0,0 +1,15 @@ +$NetBSD: patch-ap,v 1.1 2007/12/01 22:03:18 rillig Exp $ + +src/codec_encoder.c:51: error: invalid lvalue in assignment + +--- src/codec_encoder.c.orig 1998-08-15 19:16:48.000000000 +0000 ++++ src/codec_encoder.c 2007-12-01 22:01:28.000000000 +0000 +@@ -48,7 +48,7 @@ l16_encoding(sample *data, coded_unit *c + int i; + sample *d; + +- d = (sample *)c->data = (char *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE); ++ d = (sample *)(c->data = (char *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE)); + c->data_len = SAMPLES_PER_UNIT * BYTES_PER_SAMPLE; + for (i=0; i < SAMPLES_PER_UNIT; i++) { + *d++ = htons(*data); |