[cod-tools] 01/02: Adding a patch to fix deprecated method of locating executable files via 'find'.
Andrius Merkys
merkys-guest at moszumanska.debian.org
Wed Sep 27 13:50:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
merkys-guest pushed a commit to branch master
in repository cod-tools.
commit 98bb8ab3b497904dc5efcc15e7e6e91b76e73ddf
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date: Wed Sep 27 16:47:31 2017 +0300
Adding a patch to fix deprecated method of locating executable files via 'find'.
---
debian/patches/executables-in-codcif.diff | 11 +++++++++++
debian/patches/series | 1 +
2 files changed, 12 insertions(+)
diff --git a/debian/patches/executables-in-codcif.diff b/debian/patches/executables-in-codcif.diff
new file mode 100644
index 0000000..a426aeb
--- /dev/null
+++ b/debian/patches/executables-in-codcif.diff
@@ -0,0 +1,11 @@
+--- a/Makelocal-install
++++ b/Makelocal-install
+@@ -82,7 +82,7 @@
+ test -d ${PREFIX}/bin || mkdir -p ${PREFIX}/bin
+ install --mode 644 ${LIBCODCIF_A} ${CEXCEPTIONS_A} ${GETOPTIONS_A} ${LIBCODCIF_A_DEST}
+ install --mode 644 ${LIBCODCIF_H} ${CEXCEPTIONS_H} ${GETOPTIONS_H} ${LIBCODCIF_INC_DEST}
+- find src/components/codcif -maxdepth 1 -type f -perm +1 \
++ find src/components/codcif -maxdepth 1 -type f -executable \
+ | xargs -i install {} ${PREFIX}/bin
+
+ install-pycodcif:
diff --git a/debian/patches/series b/debian/patches/series
index 290014c..5ebbcb0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+executables-in-codcif.diff
prefix-to-destdir.diff
disable-test-network-access.diff
create-empty-dirs.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cod-tools.git
More information about the debian-science-commits
mailing list