[packages/catdoc] - rel 2; build fix

arekm arekm at pld-linux.org
Fri Sep 4 18:57:28 CEST 2015


commit 81dbc45eeed167c4686d6c59c232ffa928bd860f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Sep 4 18:57:22 2015 +0200

    - rel 2; build fix

 catdoc-build.patch | 11 +++++++++++
 catdoc.spec        |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/catdoc.spec b/catdoc.spec
index 303bfd8..75fc6dc 100644
--- a/catdoc.spec
+++ b/catdoc.spec
@@ -2,12 +2,13 @@ Summary:	Reads MS-Word file and puts its content as plain text on standard outpu
 Summary(pl.UTF-8):	Program konwertujący pliki MS Worda na czysty tekst
 Name:		catdoc
 Version:	0.94.2
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/Text
 Source0:	http://ftp.wagner.pp.ru/pub/catdoc/%{name}-%{version}.tar.gz
 # Source0-md5:	243e1680bb3e703616f5adecfee24491
 Patch0:		%{name}-opt.patch
+Patch1:		%{name}-build.patch
 URL:		http://www.wagner.pp.ru/~vitus/software/catdoc/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -29,6 +30,7 @@ reprezentowanych specjalnie w systemie składu, jak np. (La)TeX.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
diff --git a/catdoc-build.patch b/catdoc-build.patch
new file mode 100644
index 0000000..c24637d
--- /dev/null
+++ b/catdoc-build.patch
@@ -0,0 +1,11 @@
+--- catdoc-0.94.2/configure.in~	2015-09-04 18:55:39.000000000 +0200
++++ catdoc-0.94.2/configure.in	2015-09-04 18:56:16.735391951 +0200
+@@ -119,6 +119,7 @@ AC_SUBST(charsetcheck)
+ AC_SUBST(installroot)
+ AC_SUBST(catdoc_version)
+ AC_SUBST(CFLAGS)
+-AC_SUBST(WORDS_BIGENDIAN DEFS)
++AC_SUBST(WORDS_BIGENDIAN)
++AC_SUBST(DEFS)
+ AC_CONFIG_HEADER(src/config.h)
+ AC_OUTPUT(doc/Makefile charsets/Makefile src/Makefile Makefile doc/catdoc.1 doc/xls2csv.1 doc/wordview.1 doc/catppt.1)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/catdoc.git/commitdiff/81dbc45eeed167c4686d6c59c232ffa928bd860f



More information about the pld-cvs-commit mailing list