summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-10-20 22:54:10 +0200
committerMichał Górny <mgorny@gentoo.org>2018-10-22 22:12:44 +0200
commit2ac93ff3e53e4ffae61c678c94dea053c09dbc4c (patch)
treefa5385028b58ee785cc8868d33b7df6ed0d6ae98 /dev-libs/mxml/files
parentdev-libs/mini-xml: bump to version 2.12 (diff)
downloadgentoo-2ac93ff3e53e4ffae61c678c94dea053c09dbc4c.tar.gz
gentoo-2ac93ff3e53e4ffae61c678c94dea053c09dbc4c.tar.bz2
gentoo-2ac93ff3e53e4ffae61c678c94dea053c09dbc4c.zip
dev-libs/mini-xml: renamed to dev-libs/mxml for matching upstream
Bug: https://bugs.gentoo.org/668604 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/10141 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/mxml/files')
-rw-r--r--dev-libs/mxml/files/respect-users-flags.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/mxml/files/respect-users-flags.patch b/dev-libs/mxml/files/respect-users-flags.patch
new file mode 100644
index 000000000000..90e49cf2198e
--- /dev/null
+++ b/dev-libs/mxml/files/respect-users-flags.patch
@@ -0,0 +1,30 @@
+--- a/configure.ac 2017-10-28 18:23:11.000000000 +0200
++++ b/configure.ac 2018-07-13 23:29:39.710622168 +0200
+@@ -255,7 +255,7 @@
+ CFLAGS="-Wall -D_GNU_SOURCE $CFLAGS"
+
+ if test "x$OPTIM" = x; then
+- OPTIM="-Os -g"
++ OPTIM=""
+ fi
+
+ if test "x$use_ansi" = xyes; then
+--- a/Makefile.in 2017-10-28 18:23:11.000000000 +0200
++++ b/Makefile.in 2018-07-13 23:27:51.101622582 +0200
+@@ -67,7 +67,6 @@
+ # Rules...
+ #
+
+-.SILENT:
+ .SUFFIXES: .c .man .o
+ .c.o:
+ echo Compiling $<
+@@ -271,7 +270,7 @@
+
+ libmxml.so.1.6: $(LIBOBJS)
+ echo Creating $@...
+- $(DSO) $(DSOFLAGS) -o libmxml.so.1.6 $(LIBOBJS)
++ $(DSO) $(DSOFLAGS) $(LDFLAGS) -o libmxml.so.1.6 $(LIBOBJS)
+ $(RM) libmxml.so libmxml.so.1
+ $(LN) libmxml.so.1.6 libmxml.so
+ $(LN) libmxml.so.1.6 libmxml.so.1