summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/devhelp/files/devhelp-3.6.1-libm.patch')
-rw-r--r--dev-util/devhelp/files/devhelp-3.6.1-libm.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/dev-util/devhelp/files/devhelp-3.6.1-libm.patch b/dev-util/devhelp/files/devhelp-3.6.1-libm.patch
deleted file mode 100644
index 727ed4a15f83..000000000000
--- a/dev-util/devhelp/files/devhelp-3.6.1-libm.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 7ead1d4b000df6f5d31e0df93b8172839c06736d Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gentoo.org>
-Date: Fri, 23 Nov 2012 02:33:53 -0500
-Subject: [PATCH] libdevhelp: explicitly link with libm for sqrt() in
- dh-window.c
-
-Prevents linking failure when using GNU gold.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=688919
----
- configure.ac | 3 +++
- src/Makefile.am | 3 ++-
- 2 files changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index e9c9e87..8849c70 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -71,6 +71,9 @@ else
- fi
- AM_CONDITIONAL(WITH_WEBKIT2, test "x$with_webkit2" != xno)
-
-+AC_CHECK_LIBM
-+AC_SUBST(LIBM)
-+
- PKG_CHECK_MODULES(DEVHELP, [
- gthread-2.0 >= 2.10.0
- gtk+-3.0 >= 3.4
-diff --git a/src/Makefile.am b/src/Makefile.am
-index e6b1716..419c31c 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -107,7 +107,8 @@ libdevhelp_3_la_CFLAGS = \
-
- libdevhelp_3_la_LIBADD = \
- $(LIBDEVHELP_LIBS) \
-- $(ZLIB_LIBS)
-+ $(ZLIB_LIBS) \
-+ $(LIBM)
-
- libdevhelp_3_la_LDFLAGS = \
- -no-undefined \
---
-1.8.0
-