Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 15:09:12 -0400 (EDT)
From:      tom <tom@uffner.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40664: spamass-milter does not build on -CURRENT
Message-ID:  <200207161909.g6GJ9CE9077895@discordia.uffner.com>

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

>Number:         40664
>Category:       ports
>Synopsis:       spamass-milter does not build on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 16 12:10:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     tom
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD discordia.uffner.com 5.0-CURRENT FreeBSD 5.0-CURRENT #31: Sat Jun 29 18:51:45 EDT 2002 tom@discordia.uffner.com:/usr/obj/usr/src/sys/DISCORDIA i386


	
>Description:
	string, cout, cerr & endl are not declared

	apparently neither base system c++ nor g++31 port import the
	std namespace by default.

	this seems to be a GCC 3.1 issue because this port does build 
	properly on FreeBSD 4.x systems
>How-To-Repeat:
	cd /usr/ports/mail/spamass-milter
	make
>Fix:

	*** spamass-milter.cpp.orig     Tue Jul 16 14:39:05 2002
	--- spamass-milter.cpp  Tue Jul 16 14:37:01 2002
	***************
	*** 83,88 ****
	--- 83,92 ----
	  #include <string>
	  #include <iostream>
	  #include <fstream>
	+ using std::string;
	+ using std::cout;
	+ using std::cerr;
	+ using std::endl;
	  
	  #ifdef  __cplusplus
	  extern "C" {



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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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