From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28516 invoked from network); 3 May 2008 07:40:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 May 2008 07:40:14 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 16753 invoked from network); 3 May 2008 07:40:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 May 2008 07:40:08 -0000 Received: (qmail 11252 invoked by alias); 3 May 2008 07:40:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24904 Received: (qmail 11222 invoked from network); 3 May 2008 07:40:04 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 3 May 2008 07:40:04 -0000 Received: from mx.spodhuis.org (redoubt.spodhuis.org [193.202.115.177]) by bifrost.dotsrc.org (Postfix) with ESMTP id 2880080ED172 for ; Sat, 3 May 2008 09:39:52 +0200 (CEST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=d200803; d=spodhuis.org; h=Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition; b=jIc1caR6BYsU8y7OORpd2aHM3eyMkll1I3rIkxk4MX3KXhsGe0mWxy5WA8d1Wn2UL++v/AiaIAJwUBf5mpP9obYel9G2M/x0Z3FdkvcnL88zxCx00NczJlEhpCrxCvV5CwcohVqPPCrVZomWEEcbjDWFKFCE52Z5MmGvI4CHJ6o=; Received: by smtp.spodhuis.org with local id 1JsCLT-000Cxk-D6; Sat, 03 May 2008 07:39:47 +0000 Date: Sat, 3 May 2008 00:39:47 -0700 From: Phil Pennock To: des@FreeBSD.org Cc: Zsh Hackers' List Subject: zsh 4.3.6 FreeBSD bug Message-ID: <20080503073947.GA22661@redoubt.spodhuis.org> Mail-Followup-To: des@FreeBSD.org, Zsh Hackers' List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: ClamAV 0.91.2/7014/Fri May 2 22:17:48 2008 on bifrost X-Virus-Status: Clean Hi, FreeBSD's conflict in definitions for wchar_t and wint_t if ncurses.h is included with _XOPEN_SOURCE_EXTENDED defined (conflict with stddef.h and wchar.h) means that zsh 4.3.6 fails to build on FreeBSD 6.2/amd64. There's already logic in configure/configure.ac to handle OpenBSD specially. If I just add *freebsd* to the OS check, zsh builds fine for me. I don't know enough to know why this wasn't needed for you, unless it only affects 64-bit. I just hacked configure directly to avoid an autoconf rebuild. ----------------------------8< cut here >8------------------------------ --- configure.old Sat May 3 07:27:20 2008 +++ configure Sat May 3 07:27:53 2008 @@ -6880,7 +6880,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$host_os" in - *openbsd*) + *openbsd*|*freebsd*) zsh_cv_curses_needs_xopen=no ;; *) ----------------------------8< cut here >8------------------------------ This _should_ do it for a rebuild case (untested). ----------------------------8< cut here >8------------------------------ --- configure.ac.old Sat May 3 07:34:09 2008 +++ configure.ac Sat May 3 07:34:24 2008 @@ -674,7 +674,7 @@ AC_CACHE_CHECK(if the curses library needs _XOPEN_SOURCE_EXTENDED, zsh_cv_curses_needs_xopen, [case "$host_os" in - *openbsd*) + *openbsd*|*freebsd*) zsh_cv_curses_needs_xopen=no ;; *) ----------------------------8< cut here >8------------------------------ Regards, -Phil