diff options
author | pav <pav@FreeBSD.org> | 2004-02-24 04:33:38 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-24 04:33:38 +0800 |
commit | e56092125010d5e3b8352fc54677dd1f717ad0e1 (patch) | |
tree | c805b9102db30ea3ea37f15d171efa0bb1d31d60 /games | |
parent | 148fd71cf6d640d1a8b1608cc6a98f11f47f2604 (diff) | |
download | freebsd-ports-gnome-e56092125010d5e3b8352fc54677dd1f717ad0e1.tar.gz freebsd-ports-gnome-e56092125010d5e3b8352fc54677dd1f717ad0e1.tar.zst freebsd-ports-gnome-e56092125010d5e3b8352fc54677dd1f717ad0e1.zip |
- Add patch missed in my last commit
Diffstat (limited to 'games')
-rw-r--r-- | games/gnubg/files/patch-htmlimages.c | 31 |
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 */ |