1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix the crash at the startup, bump the PORTREVISION.

Reported by:	Scott Robbins <scottro@nyc.rr.com>,
		Tim <tim@timtravis.com>
Bugs tracker:	http://tinyurl.com/hjhnt (sourceforge.net, included a patch)
Patch by:	Simon Bowden (Fluxbox developer)
This commit is contained in:
Jeremy Messenger 2006-07-05 02:17:03 +00:00
parent d4842a4759
commit 30fc425b56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166953
2 changed files with 14 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= fluxbox
PORTVERSION= 1.0rc2
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fluxbox

View File

@ -0,0 +1,13 @@
diff -I'^// \$Id' -Naur --exclude-from diff-exclude trunk.orig/src/FbTk/FbString.cc trunk.tabs/src/FbTk/FbString.cc
--- src/FbTk/FbString.cc 2006-06-26 20:55:59.000000000 +1000
+++ src/FbTk/FbString.cc 2006-07-05 09:37:16.000000000 +1000
@@ -261,7 +261,8 @@
if (newiconv == ((iconv_t)(-1)))
return false;
else {
- iconv_close(m_iconv);
+ if (m_iconv != ((iconv_t)-1))
+ iconv_close(m_iconv);
m_iconv = newiconv;
return true;
}