aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-pygments/fix-gemspec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ruby-pygments/fix-gemspec.patch')
-rw-r--r--community/ruby-pygments/fix-gemspec.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/ruby-pygments/fix-gemspec.patch b/community/ruby-pygments/fix-gemspec.patch
new file mode 100644
index 0000000000..05c509a626
--- /dev/null
+++ b/community/ruby-pygments/fix-gemspec.patch
@@ -0,0 +1,12 @@
+Busybox find does not support -printf. Moreover, there are no symlinks
+in the tarball, so this exclude is quite useless.
+
+--- a/pygments.rb.gemspec
++++ b/pygments.rb.gemspec
+@@ -21,6 +21,5 @@
+ # s.extensions = ['ext/extconf.rb']
+ s.require_paths = ['lib']
+
+- exclude = `find . -type l -printf '%P\\0'`.split("\0").map {|f| "':!#{f}'" } * ' '
+ s.files = `git ls-files -- . #{exclude}`.split("\n")
+ end