Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2004 12:37:55 -0700 (PDT)
From:      michael johnson <ahze@ahze.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/65378: [PATCH] devel/ddd -- Fix GCC3.3 build
Message-ID:  <200404091937.i39JbtWN031288@www.freebsd.org>
Resent-Message-ID: <200404091940.i39JeClh092046@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65378
>Category:       ports
>Synopsis:       [PATCH] devel/ddd -- Fix GCC3.3 build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 09 12:40:12 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        5.2-CURRENT
>Organization:
>Environment:
>Description:
- Fix gcc 3.3 build
>How-To-Repeat:
      
>Fix:
diff -ruN devel/ddd.orig/Makefile devel/ddd/Makefile
--- devel/ddd.orig/Makefile	Fri Apr  9 14:23:12 2004
+++ devel/ddd/Makefile	Fri Apr  9 15:34:03 2004
@@ -58,7 +58,8 @@
 .if ${OSVERSION} >= 500035 && ${OSVERSION} <= 500038
 USE_GCC=3.1
 .else
-USE_GCC=3.2
+USE_GCC=3.3
+EXTRA_PATCHES=	${FILESDIR}/gcc33-configure-patch
 .endif
 
 pre-patch:
diff -ruN devel/ddd.orig/files/gcc33-configure-patch devel/ddd/files/gcc33-configure-patch
--- devel/ddd.orig/files/gcc33-configure-patch	Wed Dec 31 19:00:00 1969
+++ devel/ddd/files/gcc33-configure-patch	Fri Apr  9 15:33:20 2004
@@ -0,0 +1,10 @@
+--- configure.orig	Fri Apr  9 15:32:46 2004
++++ configure	Fri Apr  9 15:33:05 2004
+@@ -4871,6 +4871,7 @@
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ #include <iostream>
++#include <fstream>
+ #ifdef F77_DUMMY_MAIN
+ #  ifdef __cplusplus
+      extern "C"

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404091937.i39JbtWN031288>