[packages/libtiger] - fix linking with libm - rel 13
baggins
baggins at pld-linux.org
Thu Mar 28 23:36:30 CET 2019
commit b0e415f323be9536a5691510e7316c1510108017
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Mar 28 23:36:13 2019 +0100
- fix linking with libm
- rel 13
libm.patch | 38 ++++++++++++++++++++++++++++++++++++++
libtiger.spec | 9 ++++++++-
2 files changed, 46 insertions(+), 1 deletion(-)
---
diff --git a/libtiger.spec b/libtiger.spec
index 99bf80b..92f1bb5 100644
--- a/libtiger.spec
+++ b/libtiger.spec
@@ -6,12 +6,13 @@ Summary: Rendering library for Kate text streams using Pango and Cairo
Summary(pl.UTF-8): Biblioteka renderująca strumienie tekstowe Kate przy użyciu Pango i Cairo
Name: libtiger
Version: 0.3.4
-Release: 12
+Release: 13
License: LGPL v2.1+
Group: Libraries
#Source0Download: http://code.google.com/p/libtiger/downloads/list
Source0: http://libtiger.googlecode.com/files/%{name}-%{version}.tar.gz
# Source0-md5: dc1dbeb658c95485ba10b9b2897b4ae2
+Patch0: libm.patch
URL: http://code.google.com/p/libtiger/
BuildRequires: doxygen
BuildRequires: libkate-devel >= 0.2.0
@@ -59,8 +60,14 @@ Statyczna biblioteka libtiger.
%prep
%setup -q
+%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
diff --git a/libm.patch b/libm.patch
new file mode 100644
index 0000000..d79cc56
--- /dev/null
+++ b/libm.patch
@@ -0,0 +1,38 @@
+--- libtiger-0.3.4/Makefile.am~
++++ libtiger-0.3.4/Makefile.am
+@@ -11,7 +11,7 @@
+ tigerpc_DATA=misc/pkgconfig/tiger.pc
+ noinst_DATA=misc/pkgconfig/tiger-uninstalled.pc
+
+-LIBTOOLFLAGS=--silent
++AM_LIBTOOLFLAGS=--silent
+
+ AM_CPPFLAGS=-I $(top_srcdir)/src -I $(top_srcdir)/include
+
+@@ -34,7 +34,7 @@ noinst_HEADERS=\
+
+ lib_libtiger_la_CFLAGS=@CWARNFLAGS_FULL@ @CFLAGS_FORTIFY_SOURCE@ @CFLAGS_DEBUG@ @CFLAGS_PROFILE@ \
+ @PANGOCAIRO_CFLAGS@ @KATE_CFLAGS@ @PTHREAD_CFLAGS@
+-lib_libtiger_la_LIBADD=@PANGOCAIRO_LIBS@ @KATE_LIBS@ @PTHREAD_LIBS@
++lib_libtiger_la_LIBADD=@PANGOCAIRO_LIBS@ @KATE_LIBS@ @PTHREAD_LIBS@ -lm
+ lib_libtiger_la_LDFLAGS=-version-info @LIBTIGER_SHARED_VERSION@ -no-undefined
+
+ am__tar = ${AMTAR} chof - --owner=0 --group=0 --exclude=CVS --exclude=.cvsignore "$$tardir"
+--- libtiger-0.3.4/configure.ac~ 2010-12-25 20:02:56.000000000 +0100
++++ libtiger-0.3.4/configure.ac 2019-03-28 23:33:54.284279440 +0100
+@@ -31,6 +31,7 @@
+ AC_PROG_GREP
+ AC_PROG_NM
+ AC_PROG_SED
++AM_PROG_AR
+
+ AC_C_CONST
+ AC_C_INLINE
+--- libtiger-0.3.4/doc/Makefile.am~ 2010-12-25 20:09:06.000000000 +0100
++++ libtiger-0.3.4/doc/Makefile.am 2019-03-28 23:35:29.950030445 +0100
+@@ -1,4 +1,4 @@
+-LIBTOOLFLAGS=--silent
++AM_LIBTOOLFLAGS=--silent
+
+ # dependency to get doc to be built
+ noinst_DATA = .doc-dummy-target
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libtiger.git/commitdiff/b0e415f323be9536a5691510e7316c1510108017
More information about the pld-cvs-commit
mailing list