diff -ruN mcpp-2.6.4/Makefile mcpp/Makefile --- mcpp-2.6.4/Makefile 2007-07-23 18:35:43.000000000 +0900 +++ mcpp/Makefile 2008-03-24 17:37:01.000000000 +0900 @@ -6,8 +6,7 @@ # PORTNAME= mcpp -PORTVERSION= 2.6.4 -PORTREVISION= 1 +PORTVERSION= 2.7 CATEGORIES= devel MASTER_SITES= http://prdownloads.sourceforge.net/mcpp/ \ http://jaist.dl.sourceforge.net/sourceforge/mcpp/ diff -ruN mcpp-2.6.4/distinfo mcpp/distinfo --- mcpp-2.6.4/distinfo 2007-05-28 06:52:43.000000000 +0900 +++ mcpp/distinfo 2008-03-24 00:24:30.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (mcpp-2.6.4.tar.gz) = c0f5aa9b13e36ea0f2ab9358c5d65153 -SHA256 (mcpp-2.6.4.tar.gz) = 498ec0e2ef641e3e24c7f3114821a3219dfa2cf93c670b8cb72c529114f68752 -SIZE (mcpp-2.6.4.tar.gz) = 1302617 +MD5 (mcpp-2.7.tar.gz) = 14f9e4155aeb5812fc3ced6345caee02 +SHA256 (mcpp-2.7.tar.gz) = 92ecb4d83682810cf207d248004d0d9e4e242c0ef0b96111d2eecde6fc6a3902 +SIZE (mcpp-2.7.tar.gz) = 1376480 diff -ruN mcpp-2.6.4/files/patch-system.h mcpp/files/patch-system.h --- mcpp-2.6.4/files/patch-system.h 2007-06-04 15:22:03.000000000 +0900 +++ mcpp/files/patch-system.h 1970-01-01 09:00:00.000000000 +0900 @@ -1,25 +0,0 @@ -Place this text as ports/devel/mcpp/files/patch-src-system.H. -I copy and paste the file here, since attaching file does not work somehow. -TABs are lost in this. Please en-tab in the first two tag-lines. - ---- src/system.H.orig Wed May 2 21:37:29 2007 -+++ src/system.H Sun Jun 3 16:51:33 2007 -@@ -49,7 +49,16 @@ - - /* Some system has a wrong definition of UCHAR_MAX. See cpp-test.html#5.1.3 */ - #if UCHARMAX < -255 -+#if __FreeBSD__ -+/* -+ * This is a temporary patch for FreeBSD on amd64, alpha, ia64 and sparc64. -+ * limits.h of these systems wrongly define UCHAR_MAX as 255U. -+ */ -+#undef UCHARMAX -+#define UCHARMAX 255 -+#else - #error "The definition of UCHARMAX (possibly UCHAR_MAX too) is wrong. Define it as signed int value as 255, not as unsigned value as 255U." -+#endif - #endif - - /* - -