From a14da88b51b0f28b150eb5ac7181d11cbbcb5eb2 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 16 Jun 2013 02:37:46 +0000 Subject: - Add patches to fix type mismatch. Bump PORTREVISION becuase some affect the result binaries. - Fix build on head after byacc 20130304. --- net/v6eval/files/patch-lib_Pz_MvFunction.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net/v6eval/files/patch-lib_Pz_MvFunction.cc (limited to 'net/v6eval/files/patch-lib_Pz_MvFunction.cc') diff --git a/net/v6eval/files/patch-lib_Pz_MvFunction.cc b/net/v6eval/files/patch-lib_Pz_MvFunction.cc new file mode 100644 index 000000000000..20a6ba0340d7 --- /dev/null +++ b/net/v6eval/files/patch-lib_Pz_MvFunction.cc @@ -0,0 +1,15 @@ +--- lib/Pz/MvFunction.cc.orig 2013-06-16 10:37:30.000000000 +0900 ++++ lib/Pz/MvFunction.cc 2013-06-16 10:38:07.000000000 +0900 +@@ -352,9 +352,9 @@ + uint32_t d = 0; + + for(d = 0; d < buflen; d ++) { +- if((buf[d] < '0') || (buf[d] > '9') && +- (buf[d] < 'A') || (buf[d] > 'F') && +- (buf[d] < 'a') || (buf[d] > 'f')) { ++ if(((buf[d] < '0') || (buf[d] > '9')) && ++ ((buf[d] < 'A') || (buf[d] > 'F')) && ++ ((buf[d] < 'a') || (buf[d] > 'f'))) { + return false; + } + } -- cgit v1.2.3