ports/185575: [patch] devel/anjuta check autogen fix
Ivan Klymenko
fidaj at ukr.net
Wed Jan 8 10:20:02 UTC 2014
>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:
More information about the freebsd-ports-bugs
mailing list