[ruby-netcdf] 01/01: Add patch: to support NetCDF 4.4.0-rc
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Fri Jul 31 03:10:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to annotated tag debian/0.7.1.1-2
in repository ruby-netcdf.
commit be2b901d19315356c548c1aadfa3a31e54e67d54
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Fri Jul 31 12:01:27 2015 +0900
Add patch: to support NetCDF 4.4.0-rc
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
debian/changelog | 7 +++++++
debian/patches/0002-Support-NetCDF-rc-release | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 32 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 9545d3c..2af6c8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-netcdf (0.7.1.1-2) unstable; urgency=medium
+
+ * Add patch: to support NetCDF 4.4.0-rc version
+ Thanks to Bas Couwenberg!
+
+ -- Youhei SASAKI <uwabami at gfd-dennou.org> Fri, 31 Jul 2015 12:05:12 +0900
+
ruby-netcdf (0.7.1.1-1) unstable; urgency=medium
[ Bas Couwenberg ]
diff --git a/debian/patches/0002-Support-NetCDF-rc-release b/debian/patches/0002-Support-NetCDF-rc-release
new file mode 100644
index 0000000..21d03a6
--- /dev/null
+++ b/debian/patches/0002-Support-NetCDF-rc-release
@@ -0,0 +1,24 @@
+From: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Date: Fri, 31 Jul 2015 12:03:43 +0900
+Subject: Support NetCDF RC version
+
+Add rc release support in version check of extconf.rb
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ ext/numru/extconf.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext/numru/extconf.rb b/ext/numru/extconf.rb
+index 1ad8b17..e62a9e5 100644
+--- a/ext/numru/extconf.rb
++++ b/ext/numru/extconf.rb
+@@ -51,7 +51,7 @@ end
+
+ ncver0 = ncversion[0..0] # "3" or "4"
+ ncver = ncversion.gsub(/\./,'')
+-unless /^\d\d\d$/ =~ ncver # 3 digits
++unless /^\d\d\d(\-rc)?$/ =~ ncver # 3 digits
+ raise("Invalid netcdf version: #{ncversion}. Use --with-netcdf-version=")
+ end
+ $CFLAGS += ' -DNCVER='+ncver
diff --git a/debian/patches/series b/debian/patches/series
index a1e1e53..e58734c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Change-FHS-For-RubyGems
+0002-Support-NetCDF-rc-release
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/ruby-netcdf.git
More information about the Pkg-grass-devel
mailing list