]> git.pld-linux.org Git - packages/libtiger.git/commitdiff
- fix linking with libm auto/th/libtiger-0.3.4-13
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 28 Mar 2019 22:36:13 +0000 (23:36 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 28 Mar 2019 22:36:13 +0000 (23:36 +0100)
- rel 13

libm.patch [new file with mode: 0644]
libtiger.spec

diff --git a/libm.patch b/libm.patch
new file mode 100644 (file)
index 0000000..d79cc56
--- /dev/null
@@ -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
index 99bf80befb53ce6ecdc8e067cf11e44fea953120..92f1bb57a0ee29d4295718426c34b6cbcb62bf26 100644 (file)
@@ -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}
This page took 0.090222 seconds and 4 git commands to generate.