!23 fix the dependency package connot find TIFF_SSIZE_T in tiffio.h
Merge pull request !23 from liuyumeng/openEuler-22.03-LTS-Next
This commit is contained in:
commit
05825a0d23
18
libtiff.spec
18
libtiff.spec
@ -1,6 +1,6 @@
|
||||
Name: libtiff
|
||||
Version: 4.3.0
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: TIFF Library and Utilities
|
||||
License: libtiff
|
||||
URL: https://www.simplesystems.org/libtiff/
|
||||
@ -76,7 +76,20 @@ if test -n "$wordsize"
|
||||
then
|
||||
mv %{buildroot}/%{_includedir}/tiffconf.h %{buildroot}/%{_includedir}/tiffconf-$wordsize.h
|
||||
cat >%{buildroot}/%{_includedir}/tiffconf.h <<EOF
|
||||
#ifndef TIFFCONF_H_MULTILIB
|
||||
#define TIFFCONF_H_MULTILIB
|
||||
|
||||
#include <bits/wordsize.h>
|
||||
|
||||
#if __WORDSIZE == 32
|
||||
# include "tiffconf-32.h"
|
||||
#elif __WORDSIZE == 64
|
||||
# include "tiffconf-64.h"
|
||||
#else
|
||||
# error "unexpected value for __WORDSIZE macro"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
EOF
|
||||
fi
|
||||
|
||||
@ -114,6 +127,9 @@ find html -name 'Makefile*' | xargs rm
|
||||
%exclude %{_datadir}/html/man/tiffgt.1.html
|
||||
|
||||
%changelog
|
||||
* Fri Dec 24 2021 liuyumeng <liuyumeng5@huawei.com> - 4.3.0-5
|
||||
- fix the dependency package connot find TIFF_SSIZE_T in tiffio.h
|
||||
|
||||
* Wed Dec 15 2021 liuyumeng <liuyumeng5@huawei.com> - 4.3.0-4
|
||||
- fix raw2tiff floating point exception
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user