aboutsummaryrefslogtreecommitdiff
path: root/games/gnubg
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-23 20:33:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-23 20:33:38 +0000
commit58ca3f73d91dc53c811d917f47baff1c69d2b100 (patch)
treeebfab22c8807cfab384a825aaabbf2510c4f71c3 /games/gnubg
parent0784fd5fee8131b85e22289aec48ade45b546fa2 (diff)
downloadports-58ca3f73d91dc53c811d917f47baff1c69d2b100.tar.gz
ports-58ca3f73d91dc53c811d917f47baff1c69d2b100.zip
- Add patch missed in my last commit
Notes
Notes: svn path=/head/; revision=101888
Diffstat (limited to 'games/gnubg')
-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 000000000000..f1adf2b38475
--- /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 */