Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 19:14:35 GMT
From:      Grzegorz Blach <magik@roorback.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145220: Fixed syntax waring in aalib.m4
Message-ID:  <201003301914.o2UJEZWg008736@www.freebsd.org>
Resent-Message-ID: <201003301920.o2UJK47t060067@freefall.freebsd.org>

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

>Number:         145220
>Category:       ports
>Synopsis:       Fixed syntax waring in aalib.m4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 30 19:20:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        8-STABLE
>Organization:
>Environment:
FreeBSD silver.nine 8.0-STABLE FreeBSD 8.0-STABLE #0 r205348: Sat Mar 20 03:26:16 CET 2010     root@silver.nine:/usr/obj/usr/src/sys/SILVER  amd64

>Description:
When I call `aclocal`, I see warning about wrong syntax in aalib.m4.
So I am sending patch (for graphics/aalib) that solve this problem.

>How-To-Repeat:
Call aclocal in directory with source configured with autoconf.
graphics/aalib must be installed.

>Fix:
Apply attached patch for graphics/aalib


Patch attached with submission follows:

diff -ruN aalib.old/Makefile aalib/Makefile
--- aalib.old/Makefile	2009-08-22 02:22:41.000000000 +0200
+++ aalib/Makefile	2010-03-30 15:45:20.797893994 +0200
@@ -59,6 +59,9 @@
 		s|MAKEINFO=makeinfo|MAKEINFO="makeinfo --no-split"|g ; \
 		s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
 		${WRKSRC}/configure
+	@${REINPLACE_CMD} \
+		-e 's|AC_DEFUN(AM_PATH_AALIB|AC_DEFUN([AM_PATH_AALIB]|g' \
+		${WRKSRC}/aalib.m4
 	@${FIND} ${WRKSRC} \( -name '*.[ch]' \! -name acconfig.h \) \
 		| ${XARGS} ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g'
 


>Release-Note:
>Audit-Trail:
>Unformatted:



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