1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net/v6eval/files/patch-lib_Cm_CmLexer.h
Hiroki Sato a14da88b51 - Add patches to fix type mismatch. Bump PORTREVISION becuase some affect
the result binaries.
- Fix build on head after byacc 20130304.
2013-06-16 02:37:46 +00:00

16 lines
333 B
C++

--- 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;