Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Nov 2003 10:54:27 +0300
From:      Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru>
To:        ports@freebsd.org, einekoai@chello.nl
Subject:   FreeBSD Port: www/bluefish-devel
Message-ID:  <20031107105427.7c779457.doublef@tele-kom.ru>

next in thread | raw e-mail | index | archive | help
--Signature=_Fri__7_Nov_2003_10_54_27_+0300_.q++siEDmaeV22An
Content-Type: multipart/mixed;
 boundary="Multipart=_Fri__7_Nov_2003_10_54_27_+0300_O2nD.=M56VSWh0qh"


--Multipart=_Fri__7_Nov_2003_10_54_27_+0300_O2nD.=M56VSWh0qh
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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.

--Multipart=_Fri__7_Nov_2003_10_54_27_+0300_O2nD.=M56VSWh0qh
Content-Type: text/plain;
 name="files/patch-aa"
Content-Disposition: attachment;
 filename="files/patch-aa"
Content-Transfer-Encoding: 7bit

--- 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;

--Multipart=_Fri__7_Nov_2003_10_54_27_+0300_O2nD.=M56VSWh0qh--

--Signature=_Fri__7_Nov_2003_10_54_27_+0300_.q++siEDmaeV22An
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/q0/Awo7hT/9lVdwRAtSWAJ0U+TlKLUWIczplu9N5Vxa1F84tIwCfR6Q0
3O5IIc/SUXVTPsNCh0yx0q0=
=ilks
-----END PGP SIGNATURE-----

--Signature=_Fri__7_Nov_2003_10_54_27_+0300_.q++siEDmaeV22An--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031107105427.7c779457.doublef>