From nobody@FreeBSD.org  Wed Jan  8 10:10:02 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id DEC998C1
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Jan 2014 10:10:02 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id CBCE516D4
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Jan 2014 10:10:02 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s08AA2DR042234
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 8 Jan 2014 10:10:02 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s08AA2RC042025;
	Wed, 8 Jan 2014 10:10:02 GMT
	(envelope-from nobody)
Message-Id: <201401081010.s08AA2RC042025@oldred.freebsd.org>
Date: Wed, 8 Jan 2014 10:10:02 GMT
From: Ivan Klymenko <fidaj@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] devel/anjuta check autogen fix
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         185575
>Category:       ports
>Synopsis:       [patch] devel/anjuta check autogen fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 08 10:20:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Wed Jan 08 10:20:10 UTC 2014
>Originator:     Ivan Klymenko
>Release:        FreeBSD 10.0-PRERELEASE #1 r260387
>Organization:
individual
>Environment:
>Description:
When you try to create a new project anjuta returns an error that autogen correct version not found.
>How-To-Repeat:
create a new project in anjuta
>Fix:
need to add a attached patch to the port directory devel/anjuta/files

Patch attached with submission follows:

--- plugins/project-wizard/autogen.c.orig	2014-01-08 11:56:26.000000000 +0200
+++ plugins/project-wizard/autogen.c	2014-01-08 11:55:46.000000000 +0200
@@ -99,12 +99,12 @@
 		gchar* ptr;
 
 		/* Check autogen */
-		if (strstr(output, "The Automated Program Generator") == NULL) return FALSE;
+		if (strstr(output, "(GNU AutoGen)") == NULL) return FALSE;
 
 		/* Get version number */
-		ptr = strstr(output, "Ver. ");
+		ptr = strstr(output, "(GNU AutoGen) ");
 	       	if (ptr == NULL) return FALSE;
-		ptr += 5;
+		ptr += 14;
 		sscanf(ptr,"%d.%d.%d", &ver[0], &ver[1], &ver[2]);
 
 		return (ver[0] == 5);


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jan 8 10:20:10 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185575 
>Unformatted:
