diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-01 11:40:03 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-01 12:01:10 +0100 |
commit | 295828cd6a32e22d0460ec24bad6b6a62dcd9385 (patch) | |
tree | 696d0f8650106c0c24d727eccdb34418bf4f0cf9 /app-text/libspectre/files/libspectre-0.2.7-gs918.patch | |
parent | update year (diff) | |
download | gentoo-295828cd6a32e22d0460ec24bad6b6a62dcd9385.tar.gz gentoo-295828cd6a32e22d0460ec24bad6b6a62dcd9385.tar.bz2 gentoo-295828cd6a32e22d0460ec24bad6b6a62dcd9385.zip |
app-text/libspectre: Drop 0.2.7
hppa had no revdeps.
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text/libspectre/files/libspectre-0.2.7-gs918.patch')
-rw-r--r-- | app-text/libspectre/files/libspectre-0.2.7-gs918.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/app-text/libspectre/files/libspectre-0.2.7-gs918.patch b/app-text/libspectre/files/libspectre-0.2.7-gs918.patch deleted file mode 100644 index e9a4eda192ba..000000000000 --- a/app-text/libspectre/files/libspectre-0.2.7-gs918.patch +++ /dev/null @@ -1,42 +0,0 @@ -Fixed error namespace for >=ghostscript-gpl-9.18 - -https://bugs.gentoo.org/563540 - ---- libspectre-0.2.7/libspectre/spectre-gs.c -+++ libspectre-0.2.7/libspectre/spectre-gs.c -@@ -43,12 +43,12 @@ - - if (code <= -100) { - switch (code) { -- case e_Fatal: -+ case gs_error_Fatal: - fprintf (stderr, "fatal internal error %d", code); - return TRUE; - break; - -- case e_ExecStackUnderflow: -+ case gs_error_ExecStackUnderflow: - fprintf (stderr, "stack overflow %d", code); - return TRUE; - break; -@@ -109,9 +109,9 @@ - set = _spectre_strdup_printf ("%d %d translate\n", -x, -y); - error = gsapi_run_string_continue (ghostscript_instance, set, strlen (set), - 0, &exit_code); -- error = error == e_NeedInput ? 0 : error; -+ error = error == gs_error_NeedInput ? 0 : error; - free (set); -- if (error != e_NeedInput && critic_error_code (error)) { -+ if (error != gs_error_NeedInput && critic_error_code (error)) { - fclose (fd); - return FALSE; - } -@@ -126,7 +126,7 @@ - read = fread (buf, sizeof (char), to_read, fd); - error = gsapi_run_string_continue (ghostscript_instance, - buf, read, 0, &exit_code); -- error = error == e_NeedInput ? 0 : error; -+ error = error == gs_error_NeedInput ? 0 : error; - left -= read; - } - |