From: dhruva <dhruvakm@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: compilation failure on GNU/Linux: CVS HEAD
Date: Mon, 10 Mar 2008 10:51:14 +0530 [thread overview]
Message-ID: <e3f230850803092221yf2bba37xaa4490fa6c1848de@mail.gmail.com> (raw)
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!
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);
--
Contents reflect my personal views only!
next reply other threads:[~2008-03-10 5:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-10 5:21 dhruva [this message]
2008-03-10 8:11 ` compilation failure on GNU/Linux: CVS HEAD Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e3f230850803092221yf2bba37xaa4490fa6c1848de@mail.gmail.com \
--to=dhruvakm@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).