!4 upgrade to 3.09

Merge pull request !4 from 江新宇/master
This commit is contained in:
openeuler-ci-bot 2021-12-16 10:56:12 +00:00 committed by Gitee
commit 1c895ee4c9
4 changed files with 6 additions and 26 deletions

View File

@ -1,20 +0,0 @@
--- epstool-3.08.orig/src/epstool.c 2005-06-10 04:41:00.000000000 -0500
+++ epstool-3.08/src/epstool.c 2009-02-16 20:55:43.186140029 -0600
@@ -2824,7 +2824,7 @@
code = -1;
}
if ((code==0) && stdout_name && (hChildStdoutWr == -1)) {
- handle = open(stdout_name, O_WRONLY | O_CREAT);
+ handle = open(stdout_name, O_WRONLY | O_CREAT, 0644);
hChildStdoutWr = dup2(handle, 1);
if (handle != -1)
close(handle);
@@ -2832,7 +2832,7 @@
code = -1;
}
if ((code==0) && stderr_name && (hChildStderrWr == -1)) {
- handle = open(stderr_name, O_WRONLY | O_CREAT);
+ handle = open(stderr_name, O_WRONLY | O_CREAT, 0644);
hChildStderrWr = dup2(handle, 2);
if (handle != -1)
close(handle);

Binary file not shown.

BIN
epstool-3.09.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,10 @@
Name: epstool Name: epstool
Version: 3.08 Version: 3.09
Release: 1%{?dist} Release: 1
Summary: A utility to create or extract preview images in EPS files Summary: A utility to create or extract preview images in EPS files
License: GPLv2+ License: GPLv2+
URL: http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm URL: http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm
Source0: http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/%{name}-%{version}.tar.gz Source0: http://www.ghostgum.com.au/download/%{name}-%{version}.tar.gz
# Patch to compile with gcc 4.3 and newer (taken from Gentoo)
Patch0: epstool-3.08-gcc43.patch
BuildRequires: gcc BuildRequires: gcc
@ -26,7 +24,6 @@ Features:
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
# SMP build doesn't work. # SMP build doesn't work.
@ -43,5 +40,8 @@ install -D -p -m 644 doc/epstool.1 %{buildroot}%{_mandir}/man1/epstool.1
%{_mandir}/man1/epstool.1.* %{_mandir}/man1/epstool.1.*
%changelog %changelog
* Wed Dec 15 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 3.09-1
- upgrade to 3.09
* Tue May 05 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 3.08-1 * Tue May 05 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 3.08-1
- First release. - First release.