1 |
axs 14/05/01 14:16:11 |
2 |
|
3 |
Added: freewrl-2.3.3-ld.gold.patch |
4 |
Log: |
5 |
fix library underlinking issue that caused link breakage with ld.gold |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-gfx/freewrl/files/freewrl-2.3.3-ld.gold.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/files/freewrl-2.3.3-ld.gold.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/files/freewrl-2.3.3-ld.gold.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: freewrl-2.3.3-ld.gold.patch |
16 |
=================================================================== |
17 |
commit 57d2d3b900c7d57e167fb7c90b36ca8c9c80b8bd |
18 |
Author: Ian Stakenvicius <axs@g.o> |
19 |
Date: Mon Apr 28 10:53:57 2014 -0400 |
20 |
|
21 |
autotools: fixed underlinking issue with libm |
22 |
|
23 |
Signed-off-by: Ian Stakenvicius <axs@g.o> |
24 |
|
25 |
diff --git a/freex3d/configure.ac b/freex3d/configure.ac |
26 |
index 49db07c..48b09c8 100644 |
27 |
--- a/freex3d/configure.ac |
28 |
+++ b/freex3d/configure.ac |
29 |
@@ -73,6 +73,8 @@ AC_PROG_GCC_TRADITIONAL |
30 |
dnl AC_FUNC_MALLOC |
31 |
AC_CHECK_FUNCS([strchr strrchr strdup strndup strerror getopt getopt_long getopt_long_only malloc calloc realloc usleep gettimeofday]) |
32 |
|
33 |
+# Check for math |
34 |
+AC_CHECK_LIBM |
35 |
|
36 |
# ==================================================== |
37 |
# FreeWRL specific configuration: target system |
38 |
diff --git a/freex3d/src/lib/Makefile.am b/freex3d/src/lib/Makefile.am |
39 |
index ae7fb05..1b1af8a 100644 |
40 |
--- a/freex3d/src/lib/Makefile.am |
41 |
+++ b/freex3d/src/lib/Makefile.am |
42 |
@@ -40,7 +40,8 @@ EXTERNAL_LIBS = \ |
43 |
$(PNG_LIBS) \ |
44 |
$(LIBCURL_LIBS) \ |
45 |
$(IMLIB2_LIBS) \ |
46 |
- $(LIBLO_LIBS) |
47 |
+ $(LIBLO_LIBS) \ |
48 |
+ $(LIBM) |
49 |
|
50 |
|
51 |
# X11 flags specific to x11 target (default on Linux -- optional on Mac) |