Bug#564976: Patch for dirac (fixing FTBFS with GCC 4.5)

brian m. carlson sandals at crustytoothpaste.net
Sat Jul 3 17:50:34 UTC 2010


tags 564976 + patch
kthxbye

Attached is a patch which fixes the FTBFS.  In both cases, a double
value was being passed to std::abs.  I presume that previously std::abs
automatically converted the double to an int; however, it does not do
that anymore.  I forced conversion to int because in both cases the
comparisons are against other int values.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dirac.patch
Type: text/x-diff
Size: 839 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100703/d31a5ffc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100703/d31a5ffc/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list