[grads] 13/17: Patch needed to build: remove static on gcmn.

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Oct 25 11:29:18 UTC 2017


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

mckinstry pushed a commit to tag debian/3%2.2.0-1
in repository grads.

commit 7486896bf63cb5a611517ed634596059fbaa0acc
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Oct 20 09:34:38 2017 +0100

    Patch needed to build: remove static on gcmn.
---
 debian/changelog            |  1 +
 debian/patches/series       |  1 +
 debian/patches/static.patch | 18 ++++++++++++++++++
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e8ee3e6..359db7d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ grads (3:2.2.0-1) UNRELEASED; urgency=medium
   * Relax version dependency on libsx-dev
   * Drop build-dependency on transitional libhdf5-serial-dev. 
     Closes: #879138, #740013
+  * Patch needed to build: remove static on gcmn.
 
  -- Alastair McKinstry <mckinstry at debian.org>  Wed, 04 Oct 2017 16:10:25 +0100
 
diff --git a/debian/patches/series b/debian/patches/series
index b2772d3..b3f54ab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@ reproducible-builds.patch
 png16.patch
 remove-jpeg.patch
 geotiff-fix.patch
+static.patch
diff --git a/debian/patches/static.patch b/debian/patches/static.patch
new file mode 100644
index 0000000..cac6054
--- /dev/null
+++ b/debian/patches/static.patch
@@ -0,0 +1,18 @@
+Description: Declaring static breaks access from gagui.c
+Author: Alastair McKinstry <mckinstry at debian.org>
+Last-Updated: 2017-10-20
+Forwarded: no
+
+Index: grads-2.2.0/src/grads.c
+===================================================================
+--- grads-2.2.0.orig/src/grads.c
++++ grads-2.2.0/src/grads.c
+@@ -48,7 +48,7 @@ void write_command_log(char *logfile);
+ 
+ static struct gaupb *upba=NULL;     /* Anchor for user defined plug-in */
+ char *gxgnam(char *);               /* This is also in gx.h */
+-static struct gacmn gcmn;  
++struct gacmn gcmn;  
+ static struct gawgds wgds; 
+ extern struct gamfcmn mfcmn;
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/grads.git



More information about the debian-science-commits mailing list