aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Carlos Santos <unixmania@gmail.com>2019-10-18 11:12:29 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-10-18 20:54:26 +0200
commitfe0f84179435cbc1e1db4a4ded76130da68661c2 (patch)
treea8ff3803d71573f5d5c117dc1d748215c2f87a67
parentd77f6c1712400cc6a11ffeb80f9f6d8668834359 (diff)
downloadbuildroot-2019.08.x.tar.gz
buildroot-2019.08.x.tar.bz2
package/cups-filters: fix ln -r workaround for older patch versions2019.08.x
0001-install-support-old-ln-versions-without-the-r-option.patch adds a ln-srf script for older distributions to emulate 'ln -r', but GNU patch < 2.7 does not handle the git patch permission extensions - So ensure it is executable. https://savannah.gnu.org/forum/forum.php?forum_id=7361 Fixes: http://autobuild.buildroot.net/results/5c88115b92abc1360a979cd46e00332f61c41cb4 Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/cups-filters/cups-filters.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/cups-filters/cups-filters.mk b/package/cups-filters/cups-filters.mk
index fa7627ee96..47e1b11bfd 100644
--- a/package/cups-filters/cups-filters.mk
+++ b/package/cups-filters/cups-filters.mk
@@ -22,6 +22,16 @@ CUPS_FILTERS_CONF_OPTS = --disable-imagefilters \
--with-pdftops=pdftops \
--with-jpeg
+# 0001-install-support-old-ln-versions-without-the-r-option.patch adds
+# a ln-srf script for older distributions, but GNU patch < 2.7 does
+# not handle the git patch permission extensions - So ensure it is
+# executable
+define CUPS_FILTERS_MAKE_LN_SRF_EXECUTABLE
+ chmod +x $(@D)/ln-srf
+endef
+
+CUPS_FILTERS_POST_PATCH_HOOKS += CUPS_FILTERS_MAKE_LN_SRF_EXECUTABLE
+
# After 0002-filter-texttotext.c-link-with-libiconv-if-needed.patch autoreconf
# needs config.rpath and ABOUT-NLS, which are not in v1.25.4 yet. Fake them.
define CUPS_FILTERS_ADD_MISSING_FILE