Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2007 04:02:41 +0800 (CST)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jylefort@FreeBSD.org
Subject:   ports/111284: [PATCH] x11-toolkits/plib: fix build with gcc4
Message-ID:  <200704052002.l35K2fji046383@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200704052010.l35KA6be046171@freefall.freebsd.org>

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

>Number:         111284
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/plib: fix build with gcc4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 05 20:10:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Fix build with gcc4

Added file(s):
- files/patch-src_ssgAux_ssgaSky.h

Port maintainer (jylefort@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- plib-1.8.4_2.patch begins here ---
Index: files/patch-src_ssgAux_ssgaSky.h
===================================================================
RCS file: files/patch-src_ssgAux_ssgaSky.h
diff -N files/patch-src_ssgAux_ssgaSky.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src_ssgAux_ssgaSky.h	5 Apr 2007 20:02:17 -0000
@@ -0,0 +1,20 @@
+--- src/ssgAux/ssgaSky.h.orig	Fri Apr  6 03:58:33 2007
++++ src/ssgAux/ssgaSky.h	Fri Apr  6 03:58:45 2007
+@@ -104,7 +104,7 @@
+   ssgaCelestialBodyList ( int init = 3 )
+ 	  : ssgSimpleList ( sizeof(ssgaCelestialBody*), init ) { }
+ 
+-  ssgaCelestialBodyList::~ssgaCelestialBodyList () { removeAll(); }
++  ~ssgaCelestialBodyList () { removeAll(); }
+ 
+   int getNum (void) { return total ; }
+ 
+@@ -192,7 +192,7 @@
+   ssgaCloudLayerList ( int init = 3 )
+ 	  : ssgSimpleList ( sizeof(ssgaCloudLayer*), init ) { }
+ 
+-  ssgaCloudLayerList::~ssgaCloudLayerList () { removeAll(); }
++  ~ssgaCloudLayerList () { removeAll(); }
+ 
+   int getNum (void) { return total ; }
+ 
--- plib-1.8.4_2.patch ends here ---

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



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