delete patches

This commit is contained in:
xiaoweiwei 2020-01-09 22:02:07 +08:00
parent 0e55e240bc
commit 786cc0276f
4 changed files with 7 additions and 1175 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +0,0 @@
diff --git a/gv/src/ps.c b/gv/src/ps.c
index 2428bcc..822b65a 100644
--- a/gv/src/ps.c
+++ b/gv/src/ps.c
@@ -357,7 +357,7 @@ static int parse_boundingbox(const char *l, int *boundingbox) {
while (*p == ' ' || *p == '\t')
p++;
fury = strtod(p, &pe);
- if (*pe != '\n' && *pe != '\0' && *pe != ' ' && *pe != '\t') {
+ if (*pe != '\n' && *pe != '\r'&& *pe != '\0' && *pe != ' ' && *pe != '\t') {
return 0;
}

View File

@ -1,11 +0,0 @@
--- gv-3.7.4/src/gv_user_res.dat- 2012-04-01 10:43:24.000000000 -0400
+++ gv-3.7.4/src/gv_user_res.dat 2013-04-05 17:22:03.619436586 -0400
@@ -39,7 +39,7 @@
save_marked
GV.scale: 0
GV.scaleBase: 1
-GV.scales: Natural size, 1.000, screen \n\
+GV.scales: Natural size, 1.000, screen \n\
Pixel based, 1.000, pixel \n\
Arbitrary magnification, -2 \n\
Fit height to window, -3 \n\

14
gv.spec
View File

@ -2,7 +2,7 @@
Name: gv
Version: 3.7.4
Release: 18
Release: 19
Summary: gv is a Ghostscript PostScript interpreter by providing a graphical user interface
License: GPLv3+
@ -20,9 +20,6 @@ Requires(postun): /usr/bin/update-mime-database
Requires(postun): /usr/bin/update-desktop-database
Patch0: gv-resource.patch
Patch1: gv-dat.patch
Patch2: gv-aarch64.patch
Patch3: gv-bounding-box.patch
Patch4: gv-bug1071238.patch
%description
@ -39,9 +36,6 @@ This package contains help documentation for gv
%prep
%setup -q
%patch0 -p1 -b .resource
%patch1 -p1 -b .resdat
%patch2 -p1 -b .aarch64
%patch3 -p2 -b .bounding-box
%patch4 -p1 -b .bug1071238
@ -117,5 +111,11 @@ fi
%changelog
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.7.4-19
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: delete patches
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.7.4-18
- Package init