Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 10:10:02 GMT
From:      Ivan Klymenko <fidaj@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185575: [patch] devel/anjuta check autogen fix
Message-ID:  <201401081010.s08AA2RC042025@oldred.freebsd.org>
Resent-Message-ID: <201401081020.s08AK14l036470@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185575
>Category:       ports
>Synopsis:       [patch] devel/anjuta check autogen fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>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:
>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:
>Unformatted:



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