bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] A couple of fairly minor GnuBG fixes


From: Russ Allbery
Subject: [Bug-gnubg] A couple of fairly minor GnuBG fixes
Date: Mon, 25 Jan 2016 20:33:00 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

First, the build of GnuBG had been failing on Debian's i386 autobuilders
because the CPU autodetection code was failing.  I'm not entirely sure
what it is about the build environment that causes this to fail (although
don't mind since, for Debian's purposes, I want to build for a generic
processor).  But it was causing subsequent checks to fail.

Updating ax_ext.m4, ax_gcc_x86_avx_xgetbv.m4, and ax_gcc_x86_cpuid.m4 to
the latest versions from the Autoconf archive fixed the problem, although
I think only the first one was actually necessary.  (While you're doing
that, you may also want to update po/Makefile.in.in, which I think is
created via gettextize, since the version shipped with 1.05.000 has an old
and slightly incorrect license statement that one of Debian's tools
dislikes.)

Second, there's a minor misspelling in a couple of error messages that was
picked up by Debian's spelling checks on binary strings.   Here's a patch:

From: Russ Allbery <address@hidden>
Date: Mon, 25 Jan 2016 18:37:10 -0800
Subject: Correct spelling of occurred

---
 gtkprefs.c    | 2 +-
 matchequity.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtkprefs.c b/gtkprefs.c
index 394c75f..5424802 100644
--- a/gtkprefs.c
+++ b/gtkprefs.c
@@ -3110,7 +3110,7 @@ static void
 design_parser_error(GMarkupParseContext * UNUSED(context), GError * 
UNUSED(error), gpointer user_data)
 {
     DesignParser *parser = (DesignParser *) user_data;
-    g_warning("An error occured while parsing file: %s\n", parser->filename);
+    g_warning("An error occurred while parsing file: %s\n", parser->filename);
 }
 
 static GList *
diff --git a/matchequity.c b/matchequity.c
index faa949a..2d45998 100644
--- a/matchequity.c
+++ b/matchequity.c
@@ -1380,7 +1380,7 @@ static void
 met_parser_error(GMarkupParseContext * UNUSED(context), GError * 
UNUSED(error), gpointer user_data)
 {
     MatchEquityParser *parser = (MatchEquityParser *) user_data;
-    g_warning("An error occured while parsing file: %s\n", parser->filename);
+    g_warning("An error occurred while parsing file: %s\n", parser->filename);
 }
 
 /*

-- 
Russ Allbery (address@hidden)              <http://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]