summaryrefslogtreecommitdiff
path: root/net/v6eval/files/patch-lib_Cm_CmLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/v6eval/files/patch-lib_Cm_CmLexer.h')
-rw-r--r--net/v6eval/files/patch-lib_Cm_CmLexer.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/v6eval/files/patch-lib_Cm_CmLexer.h b/net/v6eval/files/patch-lib_Cm_CmLexer.h
new file mode 100644
index 000000000000..fd7f002c37ff
--- /dev/null
+++ b/net/v6eval/files/patch-lib_Cm_CmLexer.h
@@ -0,0 +1,15 @@
+--- lib/Cm/CmLexer.h.orig 2003-12-04 13:59:47.000000000 +0900
++++ lib/Cm/CmLexer.h 2013-06-16 10:32:18.000000000 +0900
+@@ -49,10 +49,8 @@
+ #include "CmToken.h"
+ #include <stdio.h>
+
+-#if !(defined(__FreeBSD__) && __FreeBSD__ >= 4)
+-
+-const int32_t YYERRCODE=256;
+-
++#ifndef YYERRCODE
++#define YYERRCODE 256
+ #endif
+
+ class PObject;