summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-22 13:23:16 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-22 13:23:16 +0000
commit74cbd4d98dbf7f5501a01d55171820929ff8985e (patch)
tree85aa3f9a5dcdbca13e67e7a9571aa81264237ac6 /media-libs/libdts/files
parentMove myconf population in src_compile rather than global scope. (diff)
downloadgentoo-2-74cbd4d98dbf7f5501a01d55171820929ff8985e.tar.gz
gentoo-2-74cbd4d98dbf7f5501a01d55171820929ff8985e.tar.bz2
gentoo-2-74cbd4d98dbf7f5501a01d55171820929ff8985e.zip
Fix typo in strict aliasing patch, thanks to Honza Macháček in bug #137573.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'media-libs/libdts/files')
-rw-r--r--media-libs/libdts/files/digest-libdts-0.0.2-r53
-rw-r--r--media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch4
2 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/libdts/files/digest-libdts-0.0.2-r5 b/media-libs/libdts/files/digest-libdts-0.0.2-r5
new file mode 100644
index 000000000000..4870747344da
--- /dev/null
+++ b/media-libs/libdts/files/digest-libdts-0.0.2-r5
@@ -0,0 +1,3 @@
+MD5 a1c0dac95d7031498c2d19d7a3107469 libdts-0.0.2.tar.gz 295185
+RMD160 c7b904465244b887e6b62f997bcf043d241cf2ce libdts-0.0.2.tar.gz 295185
+SHA256 ef552cedb9addd5c54a1d5adf49c2b5d6932606e7161443bd88a524a9a477595 libdts-0.0.2.tar.gz 295185
diff --git a/media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch b/media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch
index 6db9bd90e9a6..4a3e545be517 100644
--- a/media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch
+++ b/media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch
@@ -12,7 +12,7 @@ Index: libdts-0.0.2/libdts/bitstream.h
+static inline uint32_t swab32(uint32_t x) {
+ union {
+ uint32_t x32;
-+ uint16_t x8[4];
++ uint8_t x8[4];
+ } u;
+ u.x32 = x;
+ return u.x8[0] << 24 | u.x8[1] << 16 | u.x8[2] << 8 | u.x8[3];
@@ -28,7 +28,7 @@ Index: libdts-0.0.2/libdts/bitstream.h
+static inline uint32_t swable32(uint32_t x) {
+ union {
+ uint32_t x32;
-+ uint16_t x8[4];
++ uint8_t x8[4];
+ } u;
+ u.x32 = x;
+ return u.x8[0] << 16 | u.x8[1] << 24 | u.x8[2] | u.x8[3] << 8;