Bug 62396 - Update port: games/gnubg
Summary: Update port: games/gnubg
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 18:50 UTC by kaoru
Modified: 2004-02-23 20:35 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (5.38 KB, patch)
2004-02-05 18:50 UTC, kaoru
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kaoru 2004-02-05 18:50:16 UTC
Update to gnubg 0.14.1.
Comment 1 kaoru 2004-02-05 18:53:25 UTC
files/patch-aa was broken.  Please use this instead.

Index: htmlimages.c
===================================================================
RCS file: /cvsroot/gnubg/gnubg/htmlimages.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- htmlimages.c	6 Jan 2004 12:30:36 -0000	1.20
+++ htmlimages.c	26 Jan 2004 07:36:02 -0000	1.21
@@ -777,7 +777,7 @@
 		free(asRefract[i]);
 }
 
-extern void CommandExportHTMLImages(char *sz)
+extern void CommandExportHTMLImages( char *sz )
 {
 	szFile = GetFilenameBase(sz);
 	if (!szFile)
@@ -791,10 +791,10 @@
 	TidyObjects();
 }
 
-#else
-extern void CommandExportHTMLImages( char * )
+#else /* not HAVE_LIBPNG */
+extern void CommandExportHTMLImages( char *sz )
 {
 	outputl( _("This installation of GNU Backgammon was compiled without\n"
 		"support for writing HTML images.") );
 }
-#endif
+#endif /* not HAVE_LIBPNG */
Comment 2 kaoru 2004-02-05 20:11:06 UTC
files/patch-aa was broken.  Please use this instead.

Index: htmlimages.c
===================================================================
RCS file: /cvsroot/gnubg/gnubg/htmlimages.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- htmlimages.c	6 Jan 2004 12:30:36 -0000	1.20
+++ htmlimages.c	26 Jan 2004 07:36:02 -0000	1.21
@@ -777,7 +777,7 @@
 		free(asRefract[i]);
 }
 
-extern void CommandExportHTMLImages(char *sz)
+extern void CommandExportHTMLImages( char *sz )
 {
 	szFile = GetFilenameBase(sz);
 	if (!szFile)
@@ -791,10 +791,10 @@
 	TidyObjects();
 }
 
-#else
-extern void CommandExportHTMLImages( char * )
+#else /* not HAVE_LIBPNG */
+extern void CommandExportHTMLImages( char *sz )
 {
 	outputl( _("This installation of GNU Backgammon was compiled without\n"
 		"support for writing HTML images.") );
 }
-#endif
+#endif /* not HAVE_LIBPNG */
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-02-13 20:38:07 UTC
State Changed
From-To: open->feedback

Note that I've asked the maintainer for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62396 

When I try to install this on 4.9-PRERELEASE, even with the
new patch, I get the following errors.  Can the submitter
verify this?:

font3d.cpp:33: FTGLPolygonFont.h: No such file or directory
font3d.cpp:34: FTGLOutlineFont.h: No such file or directory
font3d.cpp:35: FTFont.h: No such file or directory
font3d.cpp:39: syntax error before `{'
font3d.cpp: In function `void render(const char *)':
font3d.cpp:44: syntax error before `::'

Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-23 20:35:00 UTC
State Changed
From-To: feedback->closed

Committed, thanks! For the record, I added --without-board3d 
to fix build linimon was dying at.