summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch')
-rw-r--r--media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch b/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch
new file mode 100644
index 000000000000..f647b155b3a9
--- /dev/null
+++ b/media-libs/libsvgtiny/files/libsvgtiny-0.1.3-parallel-build.patch
@@ -0,0 +1,10 @@
+--- libsvgtiny-0.1.3/src/Makefile
++++ libsvgtiny-0.1.3/src/Makefile
+@@ -5,6 +5,7 @@
+
+ $(BUILDDIR)/src_colors.c: src/colors.gperf
+ $(VQ)$(ECHO) " GPERF: $<"
++ mkdir -p $(@D)
+ $(Q)gperf --output-file=$@.tmp $<
+ # Hack for GCC 4.2 compatibility (gperf 3.0.4 solves this properly)
+ $(Q)$(SED) -e 's/#ifdef __GNUC_STDC_INLINE__/#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__/' $@.tmp >$@