misc/113863: maintainer: games/hexxagon fix build with gcc42

Max Brazhnikov makc at issp.ac.ru
Tue Jun 19 19:00:10 UTC 2007


>Number:         113863
>Category:       misc
>Synopsis:       maintainer: games/hexxagon fix build with gcc42
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 19 19:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun Apr 29 09:40:21 MSD 2007     root at luna:/usr/obj/usr/src/sys/LUNA  i386
>Description:
patch sources to fix build with gcc42
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/games/hexxagon/files/patch-src__libhexx__bitboard64.h /home/makc/porting/ports/games/hexxagon/files/patch-src__libhexx__bitboard64.h
--- /usr/ports/games/hexxagon/files/patch-src__libhexx__bitboard64.h	Thu Jan  1 03:00:00 1970
+++ /home/makc/porting/ports/games/hexxagon/files/patch-src__libhexx__bitboard64.h	Sun Jun  3 18:28:14 2007
@@ -0,0 +1,16 @@
+--- ./src/libhexx/bitboard64.h.orig	Fri Jan 14 00:19:07 2005
++++ ./src/libhexx/bitboard64.h	Sun Jun  3 18:27:59 2007
+@@ -26,8 +26,12 @@
+ #include <netinet/in.h>
+ #include <iostream>
+ 
+-namespace libhexx 
++namespace libhexx
+ {
++	
++	std::ostream& operator<<(std::ostream &output, const class BitBoard64 &b);
++	std::istream& operator>>(std::istream &input, class BitBoard64 &b);
++	
+ 	class BitBoard64
+ 	{
+ 	public:


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


More information about the freebsd-bugs mailing list