View | Details | Raw Unified | Return to bug 122044
Collapse All | Expand All

(-)mcpp/Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	mcpp
8
PORTNAME=	mcpp
9
PORTVERSION=	2.6.4
9
PORTVERSION=	2.7
10
PORTREVISION=	1
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	http://prdownloads.sourceforge.net/mcpp/ \
11
MASTER_SITES=	http://prdownloads.sourceforge.net/mcpp/ \
13
		http://jaist.dl.sourceforge.net/sourceforge/mcpp/
12
		http://jaist.dl.sourceforge.net/sourceforge/mcpp/
(-)mcpp/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mcpp-2.6.4.tar.gz) = c0f5aa9b13e36ea0f2ab9358c5d65153
1
MD5 (mcpp-2.7.tar.gz) = 14f9e4155aeb5812fc3ced6345caee02
2
SHA256 (mcpp-2.6.4.tar.gz) = 498ec0e2ef641e3e24c7f3114821a3219dfa2cf93c670b8cb72c529114f68752
2
SHA256 (mcpp-2.7.tar.gz) = 92ecb4d83682810cf207d248004d0d9e4e242c0ef0b96111d2eecde6fc6a3902
3
SIZE (mcpp-2.6.4.tar.gz) = 1302617
3
SIZE (mcpp-2.7.tar.gz) = 1376480
(-)mcpp/files/patch-system.h (-25 lines)
Lines 1-25 Link Here
1
Place this text as ports/devel/mcpp/files/patch-src-system.H.
2
I copy and paste the file here, since attaching file does not work somehow.
3
TABs are lost in this.  Please en-tab in the first two tag-lines.
4
5
--- src/system.H.orig   Wed May  2 21:37:29 2007
6
+++ src/system.H        Sun Jun  3 16:51:33 2007
7
@@ -49,7 +49,16 @@
8
 
9
 /* Some system has a wrong definition of UCHAR_MAX.  See cpp-test.html#5.1.3 */
10
 #if     UCHARMAX < -255
11
+#if     __FreeBSD__
12
+/*
13
+ * This is a temporary patch for FreeBSD on amd64, alpha, ia64 and sparc64.
14
+ * limits.h of these systems wrongly define UCHAR_MAX as 255U.
15
+ */
16
+#undef  UCHARMAX
17
+#define UCHARMAX 255
18
+#else
19
 #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."
20
+#endif
21
 #endif
22
 
23
 /*
24
25

Return to bug 122044