summaryrefslogtreecommitdiffstats
path: root/games/gnubg/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-23 20:33:38 +0000
committerpav <pav@FreeBSD.org>2004-02-23 20:33:38 +0000
commite56092125010d5e3b8352fc54677dd1f717ad0e1 (patch)
treec805b9102db30ea3ea37f15d171efa0bb1d31d60 /games/gnubg/files
parent148fd71cf6d640d1a8b1608cc6a98f11f47f2604 (diff)
downloadFreeBSD-ports-e56092125010d5e3b8352fc54677dd1f717ad0e1.zip
FreeBSD-ports-e56092125010d5e3b8352fc54677dd1f717ad0e1.tar.gz
- Add patch missed in my last commit
Diffstat (limited to 'games/gnubg/files')
-rw-r--r--games/gnubg/files/patch-htmlimages.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/gnubg/files/patch-htmlimages.c b/games/gnubg/files/patch-htmlimages.c
new file mode 100644
index 0000000..f1adf2b
--- /dev/null
+++ b/games/gnubg/files/patch-htmlimages.c
@@ -0,0 +1,31 @@
+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 */
OpenPOWER on IntegriCloud