freebsd-ports/multimedia/vic/files/patch-warns
Mikhail Teterin 59bdf3ddbd Add a patch to fix a harmless warning, which breaks this port under
the stricter g++42 (and 41):

Prodded by:	kris

While here switch to USE_TK and make -with-ipv6 conditional on the
NO_INET6 being undefined.
2007-03-26 05:48:58 +00:00

9 lines
261 B
Text

--- codec/p64/p64.cpp Thu Sep 9 08:46:10 1999
+++ codec/p64/p64.cpp Mon Mar 26 01:44:44 2007
@@ -1069,5 +1069,5 @@
* with 8 bits; otherwise, prime it with a 16.
*/
- if ((int)bp & 1) {
+ if ((intptr_t)bp & 1) {
bs_ = (u_short*)(bp + 1);
bb_ = *bp;