This commit is contained in:
parent
4dc79f3a95
commit
09a6e19c07
12
graphite-nonvoid-return.patch
Normal file
12
graphite-nonvoid-return.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: graphite2-1.3.0/tests/bittwiddling/bits.cpp
|
||||||
|
===================================================================
|
||||||
|
--- graphite2-1.3.0.orig/tests/bittwiddling/bits.cpp
|
||||||
|
+++ graphite2-1.3.0/tests/bittwiddling/bits.cpp
|
||||||
|
@@ -81,6 +81,7 @@ namespace
|
||||||
|
{
|
||||||
|
if (!std::numeric_limits<T>::is_signed) o.put('u');
|
||||||
|
o << "int" << std::dec << sizeof(T)*8;
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
template<typename T>
|
9
graphite2-1.2.0-cmakepath.patch
Normal file
9
graphite2-1.2.0-cmakepath.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
diff -urN graphite2-1.2.0.orig/src/CMakeLists.txt graphite2-1.2.0/src/CMakeLists.txt
|
||||||
|
--- graphite2-1.2.0.orig/src/CMakeLists.txt 2013-01-29 15:47:32.465841769 +0530
|
||||||
|
+++ graphite2-1.2.0/src/CMakeLists.txt 2013-01-29 15:48:24.056843352 +0530
|
||||||
|
@@ -136,4 +136,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin)
|
||||||
|
-install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_)
|
||||||
|
+install(EXPORT graphite2 DESTINATION lib${LIB_SUFFIX}/graphite2 NAMESPACE gr2_)
|
@ -26,6 +26,8 @@ Group: Productivity/Publishing/Word
|
|||||||
Url: http://sourceforge.net/projects/silgraphite/
|
Url: http://sourceforge.net/projects/silgraphite/
|
||||||
Source0: http://downloads.sourceforge.net/silgraphite/graphite2-%{version}.tgz
|
Source0: http://downloads.sourceforge.net/silgraphite/graphite2-%{version}.tgz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
Patch0: graphite2-1.2.0-cmakepath.patch
|
||||||
|
Patch1: graphite-nonvoid-return.patch
|
||||||
Patch2: link-gcc-shared.diff
|
Patch2: link-gcc-shared.diff
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -77,6 +79,8 @@ This package contains the %{name} development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
%patch2
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -116,6 +120,6 @@ ctest --output-on-failure
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/%{name}*.pc
|
%{_libdir}/pkgconfig/%{name}*.pc
|
||||||
%{_includedir}/%{name}*
|
%{_includedir}/%{name}*
|
||||||
%{_datadir}/%{name}*
|
%{_libdir}/%{name}*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user