Index: head/devel/anjuta/Makefile =================================================================== --- head/devel/anjuta/Makefile (revision 198714) +++ head/devel/anjuta/Makefile (revision 198715) @@ -1,88 +1,88 @@ # New ports collection makefile for: anjuta # Date created: 31 March 2001 # Whom: Dmitry Sivachenko # # $FreeBSD$ # $MCom: ports/devel/anjuta-devel/Makefile,v 1.14 2006/09/10 00:51:07 mezz Exp $ # PORTNAME= anjuta PORTVERSION= 2.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= anjuta MAINTAINER= gnome@FreeBSD.org COMMENT= Integrated Development Environment for C and C++ BUILD_DEPENDS= autogen:${PORTSDIR}/devel/autogen \ bash:${PORTSDIR}/shells/bash \ neato:${PORTSDIR}/graphics/graphviz LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \ gbf-1.0:${PORTSDIR}/devel/gnome-build \ gladeui-1.5:${PORTSDIR}/devel/glade3 \ devhelp-1.0:${PORTSDIR}/devel/devhelp RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ autogen:${PORTSDIR}/devel/autogen \ neato:${PORTSDIR}/graphics/graphviz \ libtool:${PORTSDIR}/devel/libtool15 \ ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme USE_BZIP2= yes USE_XLIB= yes USE_AUTOTOOLS= autotools:run USE_GMAKE= yes USE_GETTEXT= yes INSTALLS_OMF= yes INSTALLS_ICONS= yes USE_GNOME= gnomeprefix gnomehack libgnomeprintui libgnomeui vte \ gtksourceview GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" USE_LDCONFIG= yes MAN1= anjuta.1 anjuta_launcher.1 OPTIONS= SVN "Build subversion plugins" off .include .if defined(WITH_SVN) BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion USE_APACHE= 2.0+ CONFIGURE_ARGS+=--with-subversion-dir=${LOCALBASE}/bin \ --with-svn-include=${LOCALBASE}/include \ --with-svn-lib=${LOCALBASE}/lib \ --with-apr-config=${LOCALBASE}/bin/apr-1-config \ --with-apu-config=${LOCALBASE}/bin/apu-1-config PLIST_SUB+= SVN="" .else CONFIGURE_ARGS+=--disable-plugin-subversion PLIST_SUB+= SVN="@comment " .endif post-configure: @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash| ; \ s|/usr/local|${PREFIX}| ; \ s|share/anjuta|share/gnome/anjuta|' \ ${WRKSRC}/global-tags/create_global_tags.sh @${REINPLACE_CMD} -e 's|PKG_PATH|PKG_CONFIG_PATH|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|[(]datadir[)]/icons/gnome|(prefix)/share/icons/gnome|g' \ ${WRKSRC}/mime/Makefile.in post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for f in AUTHORS COPYING ChangeLog FUTURE INSTALL NEWS README \ doc/ScintillaDoc.html TODO ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif @-update-mime-database ${PREFIX}/share/mime .include Property changes on: head/devel/anjuta/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.52 \ No newline at end of property +1.53 \ No newline at end of property Index: head/devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c =================================================================== --- head/devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c (revision 198714) +++ head/devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c (revision 198715) @@ -1,63 +1,69 @@ ---- plugins/document-manager/anjuta-docman.c.orig Sun Jul 8 03:12:10 2007 -+++ plugins/document-manager/anjuta-docman.c Sun Jul 8 03:20:22 2007 -@@ -902,6 +902,7 @@ anjuta_docman_goto_file_line_mark (Anjut +--- plugins/document-manager/anjuta-docman.c.orig Thu Jun 7 14:56:53 2007 ++++ plugins/document-manager/anjuta-docman.c Fri Aug 31 16:53:19 2007 +@@ -902,6 +902,7 @@ const gchar *linenum; glong lineno; gboolean is_local_uri; + gchar normalized_path_buf[PATH_MAX]; gchar *normalized_path = NULL; IAnjutaEditor *te; -@@ -926,9 +927,9 @@ anjuta_docman_goto_file_line_mark (Anjut +@@ -926,9 +927,11 @@ /* Get the normalized file path for comparision */ is_local_uri = gnome_vfs_uri_is_local (vfs_uri); if (is_local_uri) - normalized_path = realpath (gnome_vfs_uri_get_path (vfs_uri), NULL); -+ normalized_path = realpath (gnome_vfs_uri_get_path (vfs_uri), normalized_path_buf); - if (normalized_path == NULL) +- if (normalized_path == NULL) - normalized_path = g_strdup (uri); -+ (void) strlcpy (normalized_path, uri, PATH_MAX); ++ normalized_path = realpath (gnome_vfs_uri_get_path (vfs_uri), normalized_path_buf); ++ if (normalized_path == NULL) { ++ (void) strlcpy (normalized_path_buf, uri, PATH_MAX); ++ normalized_path = normalized_path_buf; ++ } gnome_vfs_uri_unref (vfs_uri); /* g_free(filename); */ -@@ -942,6 +943,7 @@ anjuta_docman_goto_file_line_mark (Anjut +@@ -942,6 +945,7 @@ AnjutaDocmanPage *page; gboolean te_is_local_uri; gchar *te_uri; + char te_normalized_path_buf[PATH_MAX]; gchar *te_normalized_path = NULL; page = (AnjutaDocmanPage *) node->data; -@@ -959,9 +961,9 @@ anjuta_docman_goto_file_line_mark (Anjut +@@ -959,9 +963,11 @@ te_is_local_uri = gnome_vfs_uri_is_local (vfs_uri); if (te_is_local_uri) te_normalized_path = realpath (gnome_vfs_uri_get_path (vfs_uri), - NULL); -+ te_normalized_path_buf); - if (te_normalized_path == NULL) +- if (te_normalized_path == NULL) - te_normalized_path = g_strdup (te_uri); -+ (void) strlcpy (te_normalized_path, te_uri, PATH_MAX); ++ te_normalized_path_buf); ++ if (te_normalized_path == NULL) { ++ (void) strlcpy (te_normalized_path_buf, te_uri, PATH_MAX); ++ te_normalized_path = te_normalized_path_buf; ++ } gnome_vfs_uri_unref (vfs_uri); if (strcmp (normalized_path, te_normalized_path) == 0) -@@ -982,12 +984,9 @@ anjuta_docman_goto_file_line_mark (Anjut +@@ -982,12 +988,9 @@ an_file_history_push (te_uri, lineno); g_free (uri); g_free (te_uri); - g_free (normalized_path); - g_free (te_normalized_path); return te; } g_free (te_uri); - g_free (te_normalized_path); node = g_list_next (node); } te = anjuta_docman_add_editor (docman, uri, NULL); -@@ -1006,7 +1005,6 @@ anjuta_docman_goto_file_line_mark (Anjut +@@ -1006,7 +1009,6 @@ } } g_free (uri); - g_free (normalized_path); return te ; } Property changes on: head/devel/anjuta/files/patch-plugins_document-manager_anjuta-docman.c ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property