[nco] 01/02: Add patch to add ncap_yacc.h to BUILT_SOURCES to build it before using.
Bas Couwenberg
sebastic at debian.org
Sun Nov 20 10:58:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository nco.
commit 4d0272672e913db740cc983b76cb63ad27bcfa3c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Nov 20 11:43:48 2016 +0100
Add patch to add ncap_yacc.h to BUILT_SOURCES to build it before using.
---
debian/changelog | 6 ++++++
debian/patches/built_sources.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3c8cd78..dff412b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+nco (4.6.2-3) UNRELEASED; urgency=medium
+
+ * Add patch to add ncap_yacc.h to BUILT_SOURCES to build it before using.
+
+ -- Bas Couwenberg <sebastic at debian.org> Sun, 20 Nov 2016 11:42:56 +0100
+
nco (4.6.2-2) unstable; urgency=medium
* Limit parallel build (max-parallel=32).
diff --git a/debian/patches/built_sources.patch b/debian/patches/built_sources.patch
new file mode 100644
index 0000000..3a5dfc6
--- /dev/null
+++ b/debian/patches/built_sources.patch
@@ -0,0 +1,17 @@
+Description: Add ncap_yacc.h to BUILT_SOURCES to build it before being used.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/nco/nco/issues/40
+Bug-Debian: https://bugs.debian.org/844865
+Forwarded: https://github.com/nco/nco/pull/41
+
+--- a/src/nco/Makefile.am
++++ b/src/nco/Makefile.am
+@@ -26,6 +26,8 @@ else
+ bin_PROGRAMS = ${NCAP} ncatted ncbo ncecat ncflint ncks ncpdq ncra ncrename ${NCWA}
+ endif
+
++BUILT_SOURCES = ncap_yacc.h
++
+ AM_YFLAGS = -d --name-prefix=nco_yy
+
+ ncap_SOURCES = ncap_utl.c ncap.c ncap_yacc.y ncap_lex.l
diff --git a/debian/patches/series b/debian/patches/series
index 38edaa7..4299800 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
spelling-errors.patch
+built_sources.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/nco.git
More information about the Pkg-grass-devel
mailing list