* [Buildroot] [PATCH 2019.08.x] package/cups-filters: fix ln -r workaround for older patch versions
@ 2019-10-18 14:12 unixmania at gmail.com
2019-10-18 18:55 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: unixmania at gmail.com @ 2019-10-18 14:12 UTC (permalink / raw)
To: buildroot
From: Carlos Santos <unixmania@gmail.com>
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>
---
package/cups-filters/cups-filters.mk | 10 ++++++++++
1 file changed, 10 insertions(+)
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
--
2.18.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 2019.08.x] package/cups-filters: fix ln -r workaround for older patch versions
2019-10-18 14:12 [Buildroot] [PATCH 2019.08.x] package/cups-filters: fix ln -r workaround for older patch versions unixmania at gmail.com
@ 2019-10-18 18:55 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2019-10-18 18:55 UTC (permalink / raw)
To: buildroot
>>>>> "unixmania" == unixmania <unixmania@gmail.com> writes:
> From: Carlos Santos <unixmania@gmail.com>
> 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>
Committed to 2019.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-18 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18 14:12 [Buildroot] [PATCH 2019.08.x] package/cups-filters: fix ln -r workaround for older patch versions unixmania at gmail.com
2019-10-18 18:55 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.