diff options
author | 2011-12-07 15:28:28 +0000 | |
---|---|---|
committer | 2011-12-07 15:28:28 +0000 | |
commit | 26075c67e1812d44584c87ad08ed1664be154335 (patch) | |
tree | f23bf6329166b9ebcd71ec1b23475521943aab11 /xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch | |
parent | fixed fperms star issue. Bug 393225 (diff) | |
download | historical-26075c67e1812d44584c87ad08ed1664be154335.tar.gz historical-26075c67e1812d44584c87ad08ed1664be154335.tar.bz2 historical-26075c67e1812d44584c87ad08ed1664be154335.zip |
Fix underlinking of libdict as reported by Jeremy Olexa.
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch')
-rw-r--r-- | xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch b/xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch new file mode 100644 index 000000000000..9366f0b059b7 --- /dev/null +++ b/xfce-extra/xfce4-dict/files/xfce4-dict-0.6.0-underlinking.patch @@ -0,0 +1,21 @@ +http://bugzilla.xfce.org/show_bug.cgi?id=8229 + +Fix underlinking. See below. Function "floor" and math.h is used in common.c which is part of libdict. + +/path/to/ld: ../lib/.libs/libdict.a(libdict_la-common.o): undefined reference to symbol 'floor@@GLIBC_2.2.5' +/path/to/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line +/lib/libm.so.6: could not read symbols: Invalid operation +collect2: ld returned 1 exit status + +--- lib/Makefile.am ++++ lib/Makefile.am +@@ -34,7 +34,8 @@ + libdict_la_LIBADD = \ + $(LIBXFCE4PANEL_LIBS) \ + $(LIBXFCEGUI4_LIBS) \ +- @GTHREAD_LIBS@ ++ @GTHREAD_LIBS@ \ ++ -lm + + + noinst_DATA = \ |