From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: compilation failure on GNU/Linux: CVS HEAD Date: Mon, 10 Mar 2008 09:11:59 +0100 Message-ID: <47D4ED4F.4020109@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205136749 997 80.91.229.12 (10 Mar 2008 08:12:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2008 08:12:29 +0000 (UTC) Cc: Emacs Devel To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 10 09:12:56 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JYd7r-0007Nd-C5 for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 09:12:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYd7J-0003NZ-2o for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 04:12:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYd7E-0003NG-3A for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:12:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYd7C-0003Ml-7v for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:12:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYd7C-0003Me-2R for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:12:10 -0400 Original-Received: from av10-1-sn2.hy.skanova.net ([81.228.8.181]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYd7B-0001DG-UK for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:12:10 -0400 Original-Received: by av10-1-sn2.hy.skanova.net (Postfix, from userid 502) id CD07938BFB; Mon, 10 Mar 2008 09:12:08 +0100 (CET) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av10-1-sn2.hy.skanova.net (Postfix) with ESMTP id AFAD338BFB; Mon, 10 Mar 2008 09:12:08 +0100 (CET) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 906A137E47; Mon, 10 Mar 2008 09:12:08 +0100 (CET) User-Agent: Thunderbird 2.0.0.12 (X11/20080213) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92009 Archived-At: dhruva skrev: > Hello, > For some reason, my build of CVS Emacs fails on GNU/Linux. Following > are the OS/HW details. > > $uname -srvmpio > Linux 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 > i386 GNU/Linux > $ gcc --version > 2.95.1g > > The following trivial patch fixes the issue! Applied, thanks. Jan D. > > bash-3.00$ cvs diff > cvs diff: Diffing . > Index: fontset.c > =================================================================== > RCS file: /sources/emacs/emacs/src/fontset.c,v > retrieving revision 1.115 > diff -p -u -w -B -r1.115 fontset.c > --- fontset.c 26 Feb 2008 18:18:04 -0000 1.115 > +++ fontset.c 10 Mar 2008 05:15:56 -0000 > @@ -2245,7 +2245,7 @@ fontset. The format is the same as abob > { > struct font *font > = XSAVE_VALUE (font_object)->pointer; > - char *name = font->font.full_name;; > + char *name = font->font.full_name; > int len = strlen (name); > Lisp_Object slot; > > Index: sound.c > =================================================================== > RCS file: /sources/emacs/emacs/src/sound.c,v > retrieving revision 1.47 > diff -p -u -w -B -r1.47 sound.c > --- sound.c 8 Jan 2008 20:44:27 -0000 1.47 > +++ sound.c 10 Mar 2008 05:16:02 -0000 > @@ -1105,9 +1105,9 @@ alsa_configure (sd) > { > if (snd_mixer_selem_has_playback_volume (e)) > { > - long pmin, pmax; > + long pmin, pmax, vol; > snd_mixer_selem_get_playback_volume_range (e, > &pmin, &pmax); > - long vol = pmin + (sd->volume * (pmax - pmin)) / 100; > + vol = pmin + (sd->volume * (pmax - pmin)) / 100; > > for (chn = 0; chn <= SND_MIXER_SCHN_LAST; chn++) > snd_mixer_selem_set_playback_volume (e, chn, vol); >