From 53f40c1b4ca5e3c20519aa93387945bb11eccecbab518b9858c8de74dd2073b7 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 21 Oct 2014 22:36:16 +0000 Subject: [PATCH] Accepting request 257898 from devel:ARM:Factory - add link-gcc-shared.diff: link -lgcc_s to fix undefined symbols on various ARM architectures OBS-URL: https://build.opensuse.org/request/show/257898 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/graphite2?expand=0&rev=17 --- graphite2.changes | 6 ++++++ graphite2.spec | 2 ++ link-gcc-shared.diff | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 link-gcc-shared.diff diff --git a/graphite2.changes b/graphite2.changes index ef6a920..195a3f3 100644 --- a/graphite2.changes +++ b/graphite2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 21 18:51:12 UTC 2014 - dmueller@suse.com + +- add link-gcc-shared.diff: link -lgcc_s to fix undefined symbols + on various ARM architectures + ------------------------------------------------------------------- Wed Jan 29 17:57:37 UTC 2014 - tchvatal@suse.com diff --git a/graphite2.spec b/graphite2.spec index 2a255d5..59ed8a6 100644 --- a/graphite2.spec +++ b/graphite2.spec @@ -28,6 +28,7 @@ Source0: http://downloads.sourceforge.net/silgraphite/graphite2-%{version Source1: baselibs.conf Patch0: no-specific-nunit-version.diff Patch1: soname.diff +Patch2: link-gcc-shared.diff BuildRequires: asciidoc BuildRequires: cmake BuildRequires: fontconfig-devel @@ -78,6 +79,7 @@ This package contains the libexttextcat development files. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 %build %cmake \ diff --git a/link-gcc-shared.diff b/link-gcc-shared.diff new file mode 100644 index 0000000..93b20d2 --- /dev/null +++ b/link-gcc-shared.diff @@ -0,0 +1,11 @@ +--- src/CMakeLists.txt ++++ src/CMakeLists.txt +@@ -121,7 +121,7 @@ + if (GRAPHITE2_ASAN) + target_link_libraries(graphite2 c gcc_s) + else (GRAPHITE2_ASAN) +- target_link_libraries(graphite2 c gcc) ++ target_link_libraries(graphite2 c gcc_s) + endif (GRAPHITE2_ASAN) + include(Graphite) + nolib_test(stdc++ $)