FreeBSD Port: www/bluefish-devel

Sergey 'DoubleF' Zaharchenko doublef at tele-kom.ru
Fri Nov 7 00:01:00 PST 2003


Bluefish-devel doesnt't seem to compile:

cc -DLOCALEDIR=\"/usr/X11R6/share/locale\" -DGNULOCALEDIR=\"/usr/X11R6/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/X11R6/share/locale:.\" -DPKGDATADIR=\"/usr/X11R6/share/bluefish/\" -DHAVE_CONFIG_H -O -pipe  -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -I/usr/local/include -c -o fref.o fref.c
fref.c: In function `fref_idle_cleanup':
fref.c:1788: syntax error before `iter'
fref.c:1790: `iter' undeclared (first use in this function)
fref.c:1790: (Each undeclared identifier is reported only once
fref.c:1790: for each function it appears in.)
fref.c:1791: `cont' undeclared (first use in this function)
*** Error code 1

The attached patch seems to solve the problem. But I think it should be
mailed to the author, because it doesn't seem FreeBSD-specific. Which I
will certainly do...

-- 
DoubleF
Mencken and Nathan's Second Law of The Average American:
	All the postmasters in small towns read all the postcards.
-------------- next part --------------
--- src/fref.c.orig	Sat Nov  1 00:36:50 2003
+++ src/fref.c	Fri Nov  7 10:41:33 2003
@@ -1784,9 +1784,9 @@
 } Tfref_cleanup;
 
 static guint fref_idle_cleanup(Tfref_cleanup *data) {
-	DEBUG_MSG("fref_idle_cleanup, started for data=%s\n",data->cat);
 	GtkTreeIter iter;
 	gboolean cont = TRUE;
+	DEBUG_MSG("fref_idle_cleanup, started for data=%s\n",data->cat);
 	gtk_tree_model_get_iter_first(GTK_TREE_MODEL(FREFDATA(main_v->frefdata)->store),&iter);
 	while (cont) {
 		gchar *str;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031107/212b4fc8/attachment.bin


More information about the freebsd-ports mailing list