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;
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
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
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%ifarch sparc64
sed -i -e 's/-fpic/-fPIC/g' configure
CXX=${CXX#ccache } \
GCOPTS=" " \
GCXXOPTS=" " \
+STRIP=/bin/true \
./configure \
--with-DIR_BIN=%{_bindir} \
--with-DIR_SBIN=%{_sbindir} \
--with-PATH_SENDMAIL=/usr/sbin/sendmail
%{__make} -j1 \
- OPTIMIZER="%{rpmcflags}"
+ OPTIMIZER="%{rpmcflags} %{rpmcppflags}"
%install
rm -rf $RPM_BUILD_ROOT
%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