[packages/hylafax] Up to 6.0.7
arekm
arekm at pld-linux.org
Thu Feb 2 22:05:51 CET 2023
commit a2153ba6ba3bfb0b5924bc1ee71935252355dbe8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Feb 2 22:05:30 2023 +0100
Up to 6.0.7
hylafax-FaxRecvInfo.patch | 2 +-
hylafax.spec | 13 ++++++++-----
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/hylafax.spec b/hylafax.spec
index 5ed709f..54771c2 100644
--- a/hylafax.spec
+++ b/hylafax.spec
@@ -1,12 +1,12 @@
Summary: HylaFAX(tm) is a sophisticated enterprise strength fax package
Summary(pl.UTF-8): HylaFAX(tm) to przemyślany, potężny pakiet do obsługi faksów
Name: hylafax
-Version: 6.0.6
-Release: 2
+Version: 6.0.7
+Release: 1
License: distributable
Group: Applications/Communications
Source0: ftp://ftp.hylafax.org/source/%{name}-%{version}.tar.gz
-# Source0-md5: d063d45049c8fcbabefe09d662313067
+# Source0-md5: 7602e98b882fa61a0722109c2706d1f1
#Source0: http://dl.sourceforge.net/hylafax/%{name}-%{version}.tar.gz
Source1: %{name}-cron_entries.tar.gz
# Source1-md5: d5e2bd6447715654ba916b6f4d0d9343
@@ -25,6 +25,7 @@ Patch2: %{name}-pic.patch
Patch3: %{name}-awk.patch
Patch4: %{name}-format.patch
Patch5: %{name}-FaxRecvInfo.patch
+Patch6: tiff.patch
URL: http://www.hylafax.org/
BuildRequires: jbigkit-devel
BuildRequires: libstdc++-devel
@@ -150,6 +151,7 @@ Ten pakiet zawiera bibliotekę współdzieloną HylaFAX.
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%ifarch sparc64
sed -i -e 's/-fpic/-fPIC/g' configure
@@ -164,6 +166,7 @@ CC=${CC#ccache } \
CXX=${CXX#ccache } \
GCOPTS=" " \
GCXXOPTS=" " \
+STRIP=/bin/true \
./configure \
--with-DIR_BIN=%{_bindir} \
--with-DIR_SBIN=%{_sbindir} \
@@ -186,7 +189,7 @@ GCXXOPTS=" " \
--with-PATH_SENDMAIL=/usr/sbin/sendmail
%{__make} -j1 \
- OPTIMIZER="%{rpmcflags}"
+ OPTIMIZER="%{rpmcflags} %{rpmcppflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -457,4 +460,4 @@ fi
%files libs
%defattr(644,root,root,755)
%doc COPYRIGHT
-%attr(755,root,root) %{_libdir}/libhylafax-6.0.so.6
+%attr(755,root,root) %{_libdir}/libhylafax-6.0.so.7
diff --git a/hylafax-FaxRecvInfo.patch b/hylafax-FaxRecvInfo.patch
index 0a5449c..b4e54cc 100644
--- a/hylafax-FaxRecvInfo.patch
+++ b/hylafax-FaxRecvInfo.patch
@@ -24,7 +24,7 @@
if (cp == NULL || cp[1] != ',' || cp[2] != '"')
return (false);
u_int i = 0;
-- while (cp+2 != '\0') {
+- while (cp[2] != '\0') {
+ while (cp[1] == ',' && cp[2] == '"') {
callid[i] = cp+3; // +1 for "/+1 for ,/+1 for "
- if (*cp == '\"') break;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hylafax.git/commitdiff/a2153ba6ba3bfb0b5924bc1ee71935252355dbe8
More information about the pld-cvs-commit
mailing list