From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/graphite2/files: graphite2-fix_wrong_linker_opts.patch |
Date: | Fri, 29 Jul 2011 12:02:36 |
Message-Id: | 20110729111110.5EFB320051@flycatcher.gentoo.org |
1 | scarabeus 11/07/29 11:11:10 |
2 | |
3 | Added: graphite2-fix_wrong_linker_opts.patch |
4 | Log: |
5 | Fix compilation under gcc-4.6. Fixes bug #376799. |
6 | |
7 | (Portage version: 2.2.0_alpha47/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/graphite2/files/graphite2-fix_wrong_linker_opts.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/files/graphite2-fix_wrong_linker_opts.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphite2/files/graphite2-fix_wrong_linker_opts.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: graphite2-fix_wrong_linker_opts.patch |
16 | =================================================================== |
17 | diff -urN graphite2-0.9.4.old/src/CMakeLists.txt graphite2-0.9.4/src/CMakeLists.txt |
18 | --- graphite2-0.9.4.old/src/CMakeLists.txt 2011-07-29 12:53:36.000000000 +0200 |
19 | +++ graphite2-0.9.4/src/CMakeLists.txt 2011-07-29 13:06:18.000000000 +0200 |
20 | @@ -166,7 +166,6 @@ |
21 | -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fdiagnostics-show-option |
22 | -fno-rtti -fno-exceptions -nodefaultlibs -nostdlib |
23 | -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector) |
24 | - set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nostdlib -nodefaultlibs" LINKER_LANGUAGE C) |
25 | if (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") |
26 | target_link_libraries(graphite2 "-lkernel32 -lmsvcr90 -lmingw32 -lgcc -luser32") |
27 | else (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") |