Subject: pkg/33668: diffstat compile bug
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <tonnerre@bsdprojects.net>
List: pkgsrc-bugs
Date: 06/08/2006 10:45:01
>Number:         33668
>Category:       pkg
>Synopsis:       diffstat-1.41 compilation fails (with patch)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 08 10:45:01 +0000 2006
>Originator:     Tonnerre Lombard
>Release:        NetBSD 2.1
>Organization:
	SyGroup GmbH
>Environment:
System: NetBSD penrose.bsdprojects.net 2.1 NetBSD 2.1 (PENROSE) #0: Sat Dec 17 11:16:34 CET 2005 root@penrose.thundrix.ch:/usr/obj/sys/arch/i386/compile/PENROSE i386
Architecture: i386
Machine: i386
>Description:
	diffstat fails to compile because of an empty case/esac statement
>How-To-Repeat:
	cd /usr/pkgsrc/textproc/diffstat && make install
>Fix:
	Apply the following patch:


diff -Nur configure configure
--- configure	2006-06-08 11:28:14.000000000 +0200
+++ configure	2006-06-08 11:30:25.000000000 +0200
@@ -4448,9 +4448,6 @@
 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
-
-  case $ac_dest in
-  esac
 done
 EOF