Skip site navigation (1)Skip section navigation (2)
Date:      23 Jan 2003 12:35:36 -0000
From:      avleeuwen@piwebs.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47396: Fix: building sysutils/arson on 5-RELEASE/-CURRENT
Message-ID:  <20030123123536.8307.qmail@t-indiv5-88.athome.tue.nl>

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

>Number:         47396
>Category:       ports
>Synopsis:       Fix: building sysutils/arson on 5-RELEASE/-CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 23 04:40:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van Leeuwen
>Release:        FreeBSD 4.6.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD thuis.piwebs.com 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0: Thu Oct 3 22:42:28 CEST 2002 avleeuwen@thuis.piwebs.com:/usr/obj/usr/src/sys/THUIS i386


	
>Description:
The new Arson port (sysutils/arson) has problems compiling with GCC 3.x (in 5-RELEASE/-CURRENT).
The patches in this shell archive make it compile on 5-RELEASE.

>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files
#	files/patch-cdinfoeditor.h
#	files/patch-isofs.h
#	files/patch-konfig.cpp
#	files/patch-logwnd.h
#	files/patch-wavinfo.cpp
#
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - files/patch-cdinfoeditor.h
sed 's/^X//' >files/patch-cdinfoeditor.h << 'END-of-files/patch-cdinfoeditor.h'
X--- src/cdinfoeditor.h.orig	Tue Jan 21 15:10:24 2003
X+++ src/cdinfoeditor.h	Tue Jan 21 15:10:35 2003
X@@ -53,7 +53,7 @@
X 	LINKMAP m_links;
X 	ArsonCdInfo m_info;
X 
X-	friend genreParser;
X+	friend struct genreParser;
X };
X 
X /*========================================================*/
END-of-files/patch-cdinfoeditor.h
echo x - files/patch-isofs.h
sed 's/^X//' >files/patch-isofs.h << 'END-of-files/patch-isofs.h'
X--- src/isofs.h.orig	Tue Jan 21 15:02:00 2003
X+++ src/isofs.h	Tue Jan 21 15:03:09 2003
X@@ -144,7 +144,7 @@
X 	ArsonIsoPresets m_presets;		//	Container of preset configs
X 	OPTIONLIST m_items;				//	The options
X 
X-	friend isoOptionParser;
X+	friend struct isoOptionParser;
X };
X 
X /*========================================================*/
END-of-files/patch-isofs.h
echo x - files/patch-konfig.cpp
sed 's/^X//' >files/patch-konfig.cpp << 'END-of-files/patch-konfig.cpp'
X--- src/konfig.cpp.orig	Tue Jan 21 14:57:58 2003
X+++ src/konfig.cpp	Tue Jan 21 15:00:47 2003
X@@ -91,7 +91,7 @@
X ArsonProgramSeqs::ArsonProgramSeqs (void)
X {
X 	int temp[_PROGGRP_MAX] = {0,};
X-	m_seq = temp;
X+	memcpy(m_seq, temp, _PROGGRP_MAX * sizeof *temp);
X }
X 
X /*========================================================*/
END-of-files/patch-konfig.cpp
echo x - files/patch-logwnd.h
sed 's/^X//' >files/patch-logwnd.h << 'END-of-files/patch-logwnd.h'
X--- src/logwnd.h.orig	Tue Jan 21 15:04:51 2003
X+++ src/logwnd.h	Tue Jan 21 15:05:14 2003
X@@ -80,7 +80,7 @@
X 	QListBox *m_pLB;
X 
X 	class  you_bug_dummy;
X-	friend you_bug_dummy;		//	Shuts up the compiler...
X+	friend struct you_bug_dummy;		//	Shuts up the compiler...
X 
X protected slots:
X 	void slotClear (void);
END-of-files/patch-logwnd.h
echo x - files/patch-wavinfo.cpp
sed 's/^X//' >files/patch-wavinfo.cpp << 'END-of-files/patch-wavinfo.cpp'
X--- src/wavinfo.cpp.orig	Tue Jan 21 15:06:22 2003
X+++ src/wavinfo.cpp	Tue Jan 21 15:07:42 2003
X@@ -48,7 +48,7 @@
X /*	Chunk header implementation
X  *========================================================*/
X 		
X-wav::header::header (char *n = NULL) : size(0)
X+wav::header::header (char *n) : size(0)
X {
X 	if (n)
X 		memcpy(name, n, chunk_name_len);
END-of-files/patch-wavinfo.cpp
exit

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

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




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