SHA256
1
0
forked from pool/cairo
cairo/cairo-modules-no-version.patch

38 lines
1.6 KiB
Diff

Index: cairo-1.10.0/util/cairo-fdr/Makefile.am
===================================================================
--- cairo-1.10.0.orig/util/cairo-fdr/Makefile.am
+++ cairo-1.10.0/util/cairo-fdr/Makefile.am
@@ -9,5 +9,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \
cairo_fdr_la_SOURCES = fdr.c
cairo_fdr_la_CPPFLAGS = $(AM_CPPFLAGS)
cairo_fdr_la_CFLAGS = $(CAIRO_CFLAGS)
-cairo_fdr_la_LDFLAGS = -module -no-undefined
+cairo_fdr_la_LDFLAGS = -module -no-undefined -avoid-version
cairo_fdr_la_LIBADD = -ldl
Index: cairo-1.10.0/util/cairo-trace/Makefile.am
===================================================================
--- cairo-1.10.0.orig/util/cairo-trace/Makefile.am
+++ cairo-1.10.0/util/cairo-trace/Makefile.am
@@ -11,7 +11,7 @@ libcairo_trace_la_SOURCES = trace.c
libcairo_trace_la_CPPFLAGS = -DCAIRO_TRACE_OUTDIR="\"$(cairooutdir)\"" \
$(AM_CPPFLAGS)
libcairo_trace_la_CFLAGS = $(CAIRO_CFLAGS) $(real_pthread_CFLAGS)
-libcairo_trace_la_LDFLAGS = -no-undefined
+libcairo_trace_la_LDFLAGS = -no-undefined -module -avoid-version
libcairo_trace_la_LIBADD = $(real_pthread_LIBS) -lz
if CAIRO_HAS_DL
Index: cairo-1.10.0/util/cairo-sphinx/Makefile.am
===================================================================
--- cairo-1.10.0.orig/util/cairo-sphinx/Makefile.am
+++ cairo-1.10.0/util/cairo-sphinx/Makefile.am
@@ -11,7 +11,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \
cairo_sphinx_la_SOURCES = fdr.c
cairo_sphinx_la_CPPFLAGS = $(AM_CPPFLAGS)
cairo_sphinx_la_CFLAGS = $(CAIRO_CFLAGS)
-cairo_sphinx_la_LDFLAGS = -module -no-undefined
+cairo_sphinx_la_LDFLAGS = -module -no-undefined -avoid-version
cairo_sphinx_la_LIBADD = -ldl
cairo_sphinx_SOURCES = sphinx.c