From unknown Thu Aug 14 12:24:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6190 <6190@debbugs.gnu.org> To: bug#6190 <6190@debbugs.gnu.org> Subject: Status: 24.0.50; patch to configure emacs to use terminfo on recent NetBSD. Reply-To: bug#6190 <6190@debbugs.gnu.org> Date: Thu, 14 Aug 2025 19:24:38 +0000 retitle 6190 24.0.50; patch to configure emacs to use terminfo on recent Ne= tBSD. reassign 6190 emacs submitter 6190 enami tsugutomo severity 6190 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 14 04:44:34 2010 Received: (at submit) by debbugs.gnu.org; 14 May 2010 08:44:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCqVV-0002dI-WC for submit@debbugs.gnu.org; Fri, 14 May 2010 04:44:34 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCqVS-0002dC-EQ for submit@debbugs.gnu.org; Fri, 14 May 2010 04:44:31 -0400 Received: from lists.gnu.org ([199.232.76.165]:40724) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OCqVP-0004d1-P5 for submit@debbugs.gnu.org; Fri, 14 May 2010 04:44:27 -0400 Received: from [140.186.70.92] (port=50056 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCqVO-0003nw-3L for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 04:44:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, URIBL_BLACK autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCqVM-0004nF-Ud for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 04:44:25 -0400 Received: from ms4.sony.co.jp ([211.125.136.198]:57518) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCqVM-0004mm-FP for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 04:44:24 -0400 Received: from mta8.sony.co.jp (mta8.Sony.CO.JP [137.153.71.15]) by ms4.sony.co.jp (R8/Sony) with ESMTP id o4E8iD1O000980 for ; Fri, 14 May 2010 17:44:13 +0900 (JST) Received: from mta8.sony.co.jp (localhost [127.0.0.1]) by mta8.sony.co.jp (R8/Sony) with ESMTP id o4E8iDg3018863 for ; Fri, 14 May 2010 17:44:13 +0900 (JST) Received: from smail3.sm.sony.co.jp (smail3.sm.sony.co.jp [43.15.151.2]) by mta8.sony.co.jp (R8/Sony) with ESMTP id o4E8iDkP018857 for ; Fri, 14 May 2010 17:44:13 +0900 (JST) Received: from email.sm.sony.co.jp (email.sm.sony.co.jp [43.15.151.3]) by smail3.sm.sony.co.jp (8.11.6p3/8.11.6) with ESMTP id o4E9BOk11920 for ; Fri, 14 May 2010 18:11:24 +0900 (JST) Received: from rplaca.sm.sony.co.jp (rplaca.sm.sony.co.jp [43.15.152.87]) by email.sm.sony.co.jp (8.13.3/8.13.3) with ESMTP id o4E8iDVK012568 for ; Fri, 14 May 2010 17:44:13 +0900 (JST) Received: by rplaca.sm.sony.co.jp (Postfix, from userid 8324) id 7097C3444A; Fri, 14 May 2010 17:44:13 +0900 (JST) From: enami tsugutomo To: bug-gnu-emacs@gnu.org Subject: 24.0.50; patch to configure emacs to use terminfo on recent NetBSD. Date: Fri, 14 May 2010 17:44:13 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) On earlier this year, NetBSD have introduced terminfo in its development tree and termcap library is replaced with small library to provide minimum compatibility. Specially, tgetent() is changed not to store termcap entry in the supplied buffer. Since emacs termcap code expects actual entry filled, emacs doesn't work anymore on such system (strlen call on the buffer returns meaningless value). I guess it is better to configure emacs to use terminfo instead on NetBSD which has terminfo. Here is a changes to configure.in to check availability of terminfo: === modified file 'configure.in' --- configure.in 2010-05-14 03:05:00 +0000 +++ configure.in 2010-05-14 04:00:58 +0000 @@ -2620,7 +2620,7 @@ ## Use terminfo instead of termcap? ## Note only system files NOT using terminfo are: -## bsd-common, freebsd < 40000, ms-w32, msdos, netbsd, and +## bsd-common, freebsd < 40000, ms-w32, msdos, netbsd < 599002500, and ## darwin|gnu without ncurses. TERMINFO=no LIBS_TERMCAP= @@ -2662,13 +2662,22 @@ fi ;; + netbsd) + if test $ac_cv_search_tputs = -lterminfo; then + TERMINFO=yes + LIBS_TERMCAP="-lterminfo" + else + LIBS_TERMCAP="-ltermcap" + fi + ;; + esac case "$opsys" in ## hpux: Make sure we get select from libc rather than from libcurses ## because libcurses on HPUX 10.10 has a broken version of select. ## We used to use -lc -lcurses, but this may be cleaner. - hpux*|netbsd) LIBS_TERMCAP="-ltermcap" ;; + hpux*) LIBS_TERMCAP="-ltermcap" ;; openbsd) LIBS_TERMCAP="-lncurses" ;; In GNU Emacs 24.0.50.5 (x86_64--netbsd) of 2010-05-14 on rplaca.sm.sony.co.jp configured using `configure 'x86_64--netbsd' '--with-x=no' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'target_alias=x86_64--netbsd'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: file-name-shadow-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Recent input: ESC x r e p o r TAB RET Recent messages: ("emacs") For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message sendmail regexp-opt rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug japan-util ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow timer jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed May 19 02:13:20 2010 Received: (at 6190) by debbugs.gnu.org; 19 May 2010 06:13:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEcWt-0007YG-SP for submit@debbugs.gnu.org; Wed, 19 May 2010 02:13:20 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEcWs-0007YB-Em for 6190@debbugs.gnu.org; Wed, 19 May 2010 02:13:18 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OEcWo-0000l7-Mv; Wed, 19 May 2010 02:13:14 -0400 To: enami tsugutomo Subject: Re: bug#6190: 24.0.50; patch to configure emacs to use terminfo on recent NetBSD. References: From: Glenn Morris X-Spook: AK-47 AIMSX 9/11 PGP class struggle mindwar Europol X-Ran: GKJJ;[]m#Iha+9WWio\MNRhNF5AvX"F0\E:1zt%P;Y[)_Fc7UZNXN/q|Dh'6zl2"_WGY]I X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 19 May 2010 02:13:14 -0400 In-Reply-To: (enami tsugutomo's message of "Fri\, 14 May 2010 17\:44\:13 +0900") Message-ID: <9dk4r0berp.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 6190 Cc: 6190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) enami tsugutomo wrote: > On earlier this year, NetBSD have introduced terminfo in its development > tree and termcap library is replaced with small library to provide > minimum compatibility. [...] > I guess it is better to configure emacs to use terminfo instead on > NetBSD which has terminfo. > > Here is a changes to configure.in to check availability of terminfo: Thank you. We can certainly install this on the trunk, but I wonder if it (or the equivalent) should go in the emacs-23 branch? From debbugs-submit-bounces@debbugs.gnu.org Wed May 19 11:10:18 2010 Received: (at 6190) by debbugs.gnu.org; 19 May 2010 15:10:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEkuX-0003gl-SK for submit@debbugs.gnu.org; Wed, 19 May 2010 11:10:18 -0400 Received: from pantheon-po17.its.yale.edu ([130.132.50.73]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEkuV-0003gg-Vc for 6190@debbugs.gnu.org; Wed, 19 May 2010 11:10:16 -0400 Received: from furry (dhcp128036014213.central.yale.edu [128.36.14.213]) (authenticated bits=0) by pantheon-po17.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o4JFAAX0009722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 19 May 2010 11:10:10 -0400 Received: by furry (Postfix, from userid 1000) id 495BCC057; Wed, 19 May 2010 11:10:09 -0400 (EDT) From: Chong Yidong To: Glenn Morris Subject: Re: bug#6190: 24.0.50; patch to configure emacs to use terminfo on recent NetBSD. References: <9dk4r0berp.fsf@fencepost.gnu.org> Date: Wed, 19 May 2010 11:10:09 -0400 In-Reply-To: <9dk4r0berp.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 19 May 2010 02:13:14 -0400") Message-ID: <877hn09bce.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 6190 Cc: enami tsugutomo , 6190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) Glenn Morris writes: > enami tsugutomo wrote: > >> On earlier this year, NetBSD have introduced terminfo in its development >> tree and termcap library is replaced with small library to provide >> minimum compatibility. > [...] >> I guess it is better to configure emacs to use terminfo instead on >> NetBSD which has terminfo. >> >> Here is a changes to configure.in to check availability of terminfo: > > Thank you. We can certainly install this on the trunk, but I wonder if > it (or the equivalent) should go in the emacs-23 branch? Yes, I think so. From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 02:40:06 2010 Received: (at 6190) by debbugs.gnu.org; 20 May 2010 06:40:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEzQL-0001il-TL for submit@debbugs.gnu.org; Thu, 20 May 2010 02:40:06 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEzQK-0001iL-Bq for 6190@debbugs.gnu.org; Thu, 20 May 2010 02:40:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OEzQD-00032N-Re; Thu, 20 May 2010 02:39:58 -0400 To: Chong Yidong Subject: Re: bug#6190: 24.0.50; patch to configure emacs to use terminfo on recent NetBSD. References: <9dk4r0berp.fsf@fencepost.gnu.org> <877hn09bce.fsf@stupidchicken.com> From: Glenn Morris X-Spook: CID propaganda cybercash Defcon Armani Blowfish counter X-Ran: )cnu^`5hkv,(`G]Wqg]G}=~\)baK'#bJu8poe$3P3P}9niu(G@}(>Ijk.s82HX1+!o[a$J X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 20 May 2010 02:39:57 -0400 In-Reply-To: <877hn09bce.fsf@stupidchicken.com> (Chong Yidong's message of "Wed\, 19 May 2010 11\:10\:09 -0400") Message-ID: <0jmxvv6pqa.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 6190 Cc: enami tsugutomo , 6190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) Chong Yidong wrote: >>> Here is a changes to configure.in to check availability of terminfo: >> >> Thank you. We can certainly install this on the trunk, but I wonder if >> it (or the equivalent) should go in the emacs-23 branch? > > Yes, I think so. I've installed it in the trunk. emacs-23 will need a different patch, since there terminfo is not set by configure, but hard-coded in src/s/netbsd.h. I don't know how to write that patch (some check of the netbsd version number? Blech.) From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 13:59:15 2010 Received: (at control) by debbugs.gnu.org; 20 May 2010 17:59:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFA1b-0007Jq-J1 for submit@debbugs.gnu.org; Thu, 20 May 2010 13:59:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFA1Y-0007Jk-M5 for control@debbugs.gnu.org; Thu, 20 May 2010 13:59:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFA1U-00011u-A0; Thu, 20 May 2010 13:59:08 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19445.30828.274527.154612@fencepost.gnu.org> Date: Thu, 20 May 2010 13:59:08 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) merge 6188 6233 fixed 6190 24.0.50 From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 21:32:49 2010 Received: (at 6190) by debbugs.gnu.org; 21 May 2010 01:32:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFH6W-0002lX-OI for submit@debbugs.gnu.org; Thu, 20 May 2010 21:32:48 -0400 Received: from ms6.sony.co.jp ([211.125.136.204]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFH6T-0002lS-1w for 6190@debbugs.gnu.org; Thu, 20 May 2010 21:32:47 -0400 Received: from mta6.sony.co.jp (mta6.Sony.CO.JP [137.153.71.9]) by ms6.sony.co.jp (R8/Sony) with ESMTP id o4L1Wcp8011728; Fri, 21 May 2010 10:32:38 +0900 (JST) Received: from mta6.sony.co.jp (localhost [127.0.0.1]) by mta6.sony.co.jp (R8/Sony) with ESMTP id o4L1Wb5b015093; Fri, 21 May 2010 10:32:37 +0900 (JST) Received: from smail3.sm.sony.co.jp (smail3.sm.sony.co.jp [43.15.151.2]) by mta6.sony.co.jp (R8/Sony) with ESMTP id o4L1WbdE015088; Fri, 21 May 2010 10:32:37 +0900 (JST) Received: from email.sm.sony.co.jp (email.sm.sony.co.jp [43.15.151.3]) by smail3.sm.sony.co.jp (8.11.6p3/8.11.6) with ESMTP id o4L1xnk21851; Fri, 21 May 2010 10:59:49 +0900 (JST) Received: from memory-leak.sm.sony.co.jp (memory-leak.sm.sony.co.jp [43.15.152.83]) by email.sm.sony.co.jp (8.13.3/8.13.3) with ESMTP id o4L1WbLi023484; Fri, 21 May 2010 10:32:37 +0900 (JST) Received: from memory-leak.sm.sony.co.jp (localhost [127.0.0.1]) by memory-leak.sm.sony.co.jp (8.13.5.20060614/8.13.3) with ESMTP id o4L1WbE0022626; Fri, 21 May 2010 10:32:37 +0900 (JST) Received: (from enami@localhost) by memory-leak.sm.sony.co.jp (8.13.5.20060614/8.13.3) id o4L1Wbgk015810; Fri, 21 May 2010 10:32:37 +0900 (JST) To: Glenn Morris Subject: Re: bug#6190: 24.0.50; patch to configure emacs to use terminfo on recent NetBSD. References: <9dk4r0berp.fsf@fencepost.gnu.org> <877hn09bce.fsf@stupidchicken.com> <0jmxvv6pqa.fsf@fencepost.gnu.org> Organization: Sony Corp. From: enami tsugutomo Date: 21 May 2010 10:32:37 +0900 In-Reply-To: Glenn Morris's message of "Thu, 20 May 2010 02:39:57 -0400" Message-ID: Lines: 62 X-Mailer: Gnus v5.7/Emacs 20.7 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 6190 Cc: Chong Yidong , 6190@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) Glenn Morris writes: > I've installed it in the trunk. emacs-23 will need a different patch, > since there terminfo is not set by configure, but hard-coded in > src/s/netbsd.h. I don't know how to write that patch (some check of > the netbsd version number? Blech.) The terminfo library is commited to netbsd trunk on 2010 feb. 03 and that is between netbsd 5.99.24 (2010 jan 19) and 5.99.25 (2010 mar 29). The version symbol __NetBSD_Version__ is defined in sys/param.h like this: #define __NetBSD_Version__ 599002600 /* NetBSD 5.99.26 */ but the header file isn't handy as FreeBSD's osreldate.h (it includes some other header files and not suitable to create Makefile.) Instead, I've found that we can use HAVE_TERM_H. /usr/include/term.h is is header file for terminfo. I built emacs-23.2 on following two systems with applied patch below. The former has terminfo but the latter doesn't. enami@rplaca% uname -a NetBSD rplaca.sm.sony.co.jp 5.99.26 NetBSD 5.99.26 (GENERIC) #0: Thu Apr 8 15:59:25 JST 2010 enami@sigfpe.sm.sony.co.jp:/home/enami/src/current/obj.amd64/sys/arch/amd64/compile/GENERIC amd64 enami@rplaca% ldd src/emacs src/emacs: -lossaudio.1 => /usr/lib/libossaudio.so.1 -lc.12 => /usr/lib/libc.so.12 -lterminfo.1 => /usr/lib/libterminfo.so.1 -lm.0 => /usr/lib/libm.so.0 enami@memory-leak% uname -a NetBSD memory-leak.sm.sony.co.jp 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #1: Wed Oct 14 11:57:28 JST 2009 enami@sigfpe.sm.sony.co.jp:/home/enami/src/netbsd-5/obj.i386/sys/arch/i386/compile/GENERIC i386 enami@memory-leak% ldd src/emacs src/emacs: -lc.12 => /usr/lib/libc.so.12 -lossaudio.0 => /usr/lib/libossaudio.so.0 -lpthread.0 => /usr/lib/libpthread.so.0 -ldbus-1.3 => /usr/pkg/lib/libdbus-1.so.3 -ltermcap.0 => /usr/lib/libtermcap.so.0 -lm.0 => /usr/lib/libm387.so.0 -lm.0 => /usr/lib/libm.so.0 enami. diff -ur ../org/emacs-23.2/src/s/netbsd.h ./src/s/netbsd.h --- ../org/emacs-23.2/src/s/netbsd.h 2010-04-04 07:26:08.000000000 +0900 +++ ./src/s/netbsd.h 2010-05-21 10:08:39.000000000 +0900 @@ -45,7 +45,12 @@ #define LIBS_DEBUG /* -lutil is not needed for NetBSD >0.9. */ /* #define LIBS_SYSTEM -lutil */ +#ifdef HAVE_TERM_H +#define TERMINFO +#define LIBS_TERMCAP -lterminfo +#else #define LIBS_TERMCAP -ltermcap +#endif #define NEED_ERRNO #define SYSV_SYSTEM_DIR From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 00:08:51 2010 Received: (at 6190-done) by debbugs.gnu.org; 21 May 2010 04:08:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFJXX-0003oH-Lb for submit@debbugs.gnu.org; Fri, 21 May 2010 00:08:51 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFJXV-0003oB-Nh for 6190-done@debbugs.gnu.org; Fri, 21 May 2010 00:08:50 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFJXS-0006Fj-At; Fri, 21 May 2010 00:08:46 -0400 To: 6190-done@debbugs.gnu.org Subject: Re: bug#6190: 24.0.50; patch to configure emacs to use terminfo on recent NetBSD. References: <9dk4r0berp.fsf@fencepost.gnu.org> <877hn09bce.fsf@stupidchicken.com> <0jmxvv6pqa.fsf@fencepost.gnu.org> From: Glenn Morris X-Spook: AVN Cohiba insurgency Verisign Arnett codes satellite X-Ran: {1fu#Ler5P.h1(uZ4X-V2Z6M?Rg%&hrn/"uJ[!Q>M>-.N/:IEc$D2QsT`U6~Y', (enami tsugutomo's message of "21 May 2010 10\:32\:37 +0900") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 6190-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Thanks; applied. From unknown Thu Aug 14 12:24:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Jun 2010 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator