[Pkg-electronics-commits] [geda-gaf] 01/05: patch from upstream for my refdes warning issue

Bdale Garbee bdale at moszumanska.debian.org
Sun Apr 6 00:08:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

bdale pushed a commit to branch master
in repository geda-gaf.

commit 154690f9a8c0ba2051d553b53576ec5fe50b46e3
Author: Bdale Garbee <bdale at gag.com>
Date:   Thu Apr 3 11:15:17 2014 -0600

    patch from upstream for my refdes warning issue
---
 debian/changelog                           |  6 +++++
 debian/patches/no-refdes-warning-fix.patch | 36 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 43 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 02c0f43..39022f6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+geda-gaf (1:1.8.2-4) UNRELEASED; urgency=low
+
+  * patch from upstream to fix warnings for components with no refdes
+
+ -- Bdale Garbee <bdale at gag.com>  Thu, 03 Apr 2014 11:13:50 -0600
+
 geda-gaf (1:1.8.2-3) unstable; urgency=low
 
   * guile-1.8-dev will be removed from unstable soon, so remove it as an
diff --git a/debian/patches/no-refdes-warning-fix.patch b/debian/patches/no-refdes-warning-fix.patch
new file mode 100644
index 0000000..6744e60
--- /dev/null
+++ b/debian/patches/no-refdes-warning-fix.patch
@@ -0,0 +1,36 @@
+From 16535799b3970540a4bf215c61791ec2bd70313d Mon Sep 17 00:00:00 2001
+From: Patrick Bernaud <patrickb at chez.com>
+Date: Fri, 07 Mar 2014 20:43:58 +0000
+Subject: From 49ff7d9d496d0ea8d5dd0756ff4a377fd742255b Mon Sep 17 00:00:00 2001
+
+Subject: [PATCH] gnetlist: Fix warning for components without refdes.
+
+When traversing objects searching for components, a variable was not
+reinitialized properly. After the discovery of a graphical object,
+the warning was disabled for any subsequent component missing a
+refdes.
+
+Affects-bug: lp-1288906
+---
+diff --git a/gnetlist/src/s_traverse.c b/gnetlist/src/s_traverse.c
+index eb4cefb..0e0e5eb 100644
+--- a/gnetlist/src/s_traverse.c
++++ b/gnetlist/src/s_traverse.c
+@@ -152,7 +152,6 @@ s_traverse_sheet (TOPLEVEL * pr_current, const GList *obj_list, char *hierarchy_
+   char *temp;
+   SCM scm_uref;
+   char *temp_uref;
+-  gboolean is_graphical=FALSE;
+   gboolean is_hierarchy = TRUE;
+   const GList *iter;
+   GError *err = NULL;
+@@ -179,6 +178,7 @@ s_traverse_sheet (TOPLEVEL * pr_current, const GList *obj_list, char *hierarchy_
+     }
+ 
+     if (o_current->type == OBJ_COMPLEX) {
++      gboolean is_graphical = FALSE;
+ 
+ #if DEBUG
+       printf("starting NEW component\n\n");
+--
+cgit v0.9
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..db38e37 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-refdes-warning-fix.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/geda-gaf.git



More information about the Pkg-electronics-commits mailing list