[arch-commits] Commit in graphviz/repos (16 files)

Jürgen Hötzel juergen at archlinux.org
Tue Nov 15 18:49:26 UTC 2016


    Date: Tuesday, November 15, 2016 @ 18:49:25
  Author: juergen
Revision: 280852

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  graphviz/repos/extra-i686/PKGBUILD
    (from rev 280851, graphviz/trunk/PKGBUILD)
  graphviz/repos/extra-i686/format-string.patch
    (from rev 280851, graphviz/trunk/format-string.patch)
  graphviz/repos/extra-i686/ghostscript918.patch
    (from rev 280851, graphviz/trunk/ghostscript918.patch)
  graphviz/repos/extra-i686/install
    (from rev 280851, graphviz/trunk/install)
  graphviz/repos/extra-x86_64/PKGBUILD
    (from rev 280851, graphviz/trunk/PKGBUILD)
  graphviz/repos/extra-x86_64/format-string.patch
    (from rev 280851, graphviz/trunk/format-string.patch)
  graphviz/repos/extra-x86_64/ghostscript918.patch
    (from rev 280851, graphviz/trunk/ghostscript918.patch)
  graphviz/repos/extra-x86_64/install
    (from rev 280851, graphviz/trunk/install)
Deleted:
  graphviz/repos/extra-i686/PKGBUILD
  graphviz/repos/extra-i686/format-string.patch
  graphviz/repos/extra-i686/ghostscript918.patch
  graphviz/repos/extra-i686/install
  graphviz/repos/extra-x86_64/PKGBUILD
  graphviz/repos/extra-x86_64/format-string.patch
  graphviz/repos/extra-x86_64/ghostscript918.patch
  graphviz/repos/extra-x86_64/install

-----------------------------------+
 /PKGBUILD                         |  132 ++++++++++++++++++++++++++++++++++++
 /format-string.patch              |   42 +++++++++++
 /ghostscript918.patch             |   36 +++++++++
 /install                          |   24 ++++++
 extra-i686/PKGBUILD               |   65 -----------------
 extra-i686/format-string.patch    |   21 -----
 extra-i686/ghostscript918.patch   |   18 ----
 extra-i686/install                |   12 ---
 extra-x86_64/PKGBUILD             |   65 -----------------
 extra-x86_64/format-string.patch  |   21 -----
 extra-x86_64/ghostscript918.patch |   18 ----
 extra-x86_64/install              |   12 ---
 12 files changed, 234 insertions(+), 232 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-i686/PKGBUILD	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: kevin <kevin at archlinux.org>
-# Contributor: John Proctor <jproctor at prium.net>
-
-pkgname=graphviz
-pkgver=2.38.0
-pkgrel=15
-pkgdesc='Graph visualization software'
-url='http://www.graphviz.org/'
-license=('CPL')
-arch=('i686' 'x86_64')
-depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
-makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'python2' 'r' 'tk' 'qt4' 'gtk2')
-optdepends=('mono: sharp bindings'
-            'guile: guile bindings'
-            'lua51: lua bindings'
-            'ocaml: ocaml bindings'
-            'perl: perl bindings'
-            'python2: python bindings'
-            'r: r bindings'
-            'tcl: tcl bindings'
-            'qt4: gvedit'
-            'gtk2: gtk output plugin'
-            'xterm: vimdot')
-source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
-        'format-string.patch'
-        'ghostscript918.patch')
-sha1sums=('053c771278909160916ca5464a0a98ebf034c6ef'
-          '271d116bc022596a64b6ee061f3d2e50fa2e6025'
-          'bcce75a535c277556e196638e59ea019b0a63fa1')
-
-
-install=install
-
-prepare() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	patch -p1 -i ../format-string.patch # FS#42983
-	patch -p1 -i ../ghostscript918.patch
-}
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	export LIBPOSTFIX=/
-	export PYTHON=python2
-	export LUA=lua5.1
-
-	CXXFLAGS="${CXXFLAGS} -Dint64=int64_t" ./configure --prefix=/usr
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-
-	cd "${pkgdir}/usr/lib"
-	install -d lua/5.1
-	mv lua/gv.so lua/5.1
-
-	# Workaround symlink upgrade bug (fixed in pacman trunk)
-	# Also deduplicates the tcl libraries (upstream bug?)
-	# Might have been this commit: https://github.com/ellson/graphviz/commit/f11aead
-	rm -r tcl8.6/graphviz
-	ln -s ../graphviz/tcl tcl8.6/graphviz
-}

Copied: graphviz/repos/extra-i686/PKGBUILD (from rev 280851, graphviz/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=graphviz
+pkgver=2.38.0
+pkgrel=16
+pkgdesc='Graph visualization software'
+url='http://www.graphviz.org/'
+license=('CPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
+makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'python2' 'r' 'tk' 'qt4' 'gtk2')
+optdepends=('mono: sharp bindings'
+            'guile: guile bindings'
+            'lua51: lua bindings'
+            'ocaml: ocaml bindings'
+            'perl: perl bindings'
+            'python2: python bindings'
+            'r: r bindings'
+            'tcl: tcl bindings'
+            'qt4: gvedit'
+            'gtk2: gtk output plugin'
+            'xterm: vimdot')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
+        'format-string.patch'
+        'ghostscript918.patch')
+sha1sums=('053c771278909160916ca5464a0a98ebf034c6ef'
+          '271d116bc022596a64b6ee061f3d2e50fa2e6025'
+          'bcce75a535c277556e196638e59ea019b0a63fa1')
+
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../format-string.patch # FS#42983
+	patch -p1 -i ../ghostscript918.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export CXXFLAGS+=' -Dint64=int64_t' # for ocaml
+	export LIBPOSTFIX=/
+	export PYTHON=python2
+	export LUA=lua5.1
+
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+
+	cd "${pkgdir}/usr/lib"
+	install -d lua/5.1
+	mv lua/gv.so lua/5.1
+
+	# Workaround symlink upgrade bug (fixed in pacman trunk)
+	# Also deduplicates the tcl libraries (upstream bug?)
+	# Might have been this commit: https://github.com/ellson/graphviz/commit/f11aead
+	rm -r tcl8.6/graphviz
+	ln -s ../graphviz/tcl tcl8.6/graphviz
+}

Deleted: extra-i686/format-string.patch
===================================================================
--- extra-i686/format-string.patch	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-i686/format-string.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,21 +0,0 @@
-diff -Naur old/lib/cgraph/scan.l new/lib/cgraph/scan.l
---- old/lib/cgraph/scan.l	2014-04-13 10:40:25.000000000 -1000
-+++ new/lib/cgraph/scan.l	2014-12-02 08:54:21.285050735 -1000
-@@ -149,7 +149,7 @@
- 	agxbput(&xb,buf);
- 	agxbput(&xb,fname);
- 	agxbput(&xb, " splits into two tokens\n");
--	agerr(AGWARN,agxbuse(&xb));
-+	agerr(AGWARN, "%s", agxbuse(&xb));
- 
- 	agxbfree(&xb);
- 	return 1;
-@@ -225,7 +225,7 @@
- 	agxbput (&xb, buf);
- 	agxbput (&xb, yytext);
- 	agxbput (&xb,"'\n");
--	agerr(AGERR,agxbuse(&xb));
-+	agerr(AGERR, "%s", agxbuse(&xb));
- 	agxbfree(&xb);
- }
- /* must be here to see flex's macro defns */

Copied: graphviz/repos/extra-i686/format-string.patch (from rev 280851, graphviz/trunk/format-string.patch)
===================================================================
--- extra-i686/format-string.patch	                        (rev 0)
+++ extra-i686/format-string.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,21 @@
+diff -Naur old/lib/cgraph/scan.l new/lib/cgraph/scan.l
+--- old/lib/cgraph/scan.l	2014-04-13 10:40:25.000000000 -1000
++++ new/lib/cgraph/scan.l	2014-12-02 08:54:21.285050735 -1000
+@@ -149,7 +149,7 @@
+ 	agxbput(&xb,buf);
+ 	agxbput(&xb,fname);
+ 	agxbput(&xb, " splits into two tokens\n");
+-	agerr(AGWARN,agxbuse(&xb));
++	agerr(AGWARN, "%s", agxbuse(&xb));
+ 
+ 	agxbfree(&xb);
+ 	return 1;
+@@ -225,7 +225,7 @@
+ 	agxbput (&xb, buf);
+ 	agxbput (&xb, yytext);
+ 	agxbput (&xb,"'\n");
+-	agerr(AGERR,agxbuse(&xb));
++	agerr(AGERR, "%s", agxbuse(&xb));
+ 	agxbfree(&xb);
+ }
+ /* must be here to see flex's macro defns */

Deleted: extra-i686/ghostscript918.patch
===================================================================
--- extra-i686/ghostscript918.patch	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-i686/ghostscript918.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,18 +0,0 @@
-diff -uprb graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c graphviz-2.38.0/plugin/gs/gvloadimage_gs.c
---- graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c	2014-04-13 23:40:25.000000000 +0300
-+++ graphviz-2.38.0/plugin/gs/gvloadimage_gs.c	2015-11-11 00:08:32.916123704 +0200
-@@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const
- 
-     assert (err < 0);
- 
--    if (err >= e_VMerror) 
-+    if (err >= gs_error_VMerror)
- 	errsrc = "PostScript Level 1"; 
--    else if (err >= e_unregistered)
-+    else if (err >= gs_error_unregistered)
- 	errsrc = "PostScript Level 2";
--    else if (err >= e_invalidid)
-+    else if (err >= gs_error_invalidid)
- 	errsrc = "DPS error";
-     else
- 	errsrc = "Ghostscript internal error";

Copied: graphviz/repos/extra-i686/ghostscript918.patch (from rev 280851, graphviz/trunk/ghostscript918.patch)
===================================================================
--- extra-i686/ghostscript918.patch	                        (rev 0)
+++ extra-i686/ghostscript918.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,18 @@
+diff -uprb graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c graphviz-2.38.0/plugin/gs/gvloadimage_gs.c
+--- graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c	2014-04-13 23:40:25.000000000 +0300
++++ graphviz-2.38.0/plugin/gs/gvloadimage_gs.c	2015-11-11 00:08:32.916123704 +0200
+@@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const
+ 
+     assert (err < 0);
+ 
+-    if (err >= e_VMerror) 
++    if (err >= gs_error_VMerror)
+ 	errsrc = "PostScript Level 1"; 
+-    else if (err >= e_unregistered)
++    else if (err >= gs_error_unregistered)
+ 	errsrc = "PostScript Level 2";
+-    else if (err >= e_invalidid)
++    else if (err >= gs_error_invalidid)
+ 	errsrc = "DPS error";
+     else
+ 	errsrc = "Ghostscript internal error";

Deleted: extra-i686/install
===================================================================
--- extra-i686/install	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-i686/install	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,12 +0,0 @@
-post_install() {
-	rm -f usr/lib/graphviz/config{,6}
-	usr/bin/dot -c
-}
-
-post_upgrade() {
-	post_install
-}
-
-pre_remove() {
-	rm -f usr/lib/graphviz/config{,6}
-}

Copied: graphviz/repos/extra-i686/install (from rev 280851, graphviz/trunk/install)
===================================================================
--- extra-i686/install	                        (rev 0)
+++ extra-i686/install	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,12 @@
+post_install() {
+	rm -f usr/lib/graphviz/config{,6}
+	usr/bin/dot -c
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+	rm -f usr/lib/graphviz/config{,6}
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-x86_64/PKGBUILD	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: kevin <kevin at archlinux.org>
-# Contributor: John Proctor <jproctor at prium.net>
-
-pkgname=graphviz
-pkgver=2.38.0
-pkgrel=15
-pkgdesc='Graph visualization software'
-url='http://www.graphviz.org/'
-license=('CPL')
-arch=('i686' 'x86_64')
-depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
-makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'python2' 'r' 'tk' 'qt4' 'gtk2')
-optdepends=('mono: sharp bindings'
-            'guile: guile bindings'
-            'lua51: lua bindings'
-            'ocaml: ocaml bindings'
-            'perl: perl bindings'
-            'python2: python bindings'
-            'r: r bindings'
-            'tcl: tcl bindings'
-            'qt4: gvedit'
-            'gtk2: gtk output plugin'
-            'xterm: vimdot')
-source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
-        'format-string.patch'
-        'ghostscript918.patch')
-sha1sums=('053c771278909160916ca5464a0a98ebf034c6ef'
-          '271d116bc022596a64b6ee061f3d2e50fa2e6025'
-          'bcce75a535c277556e196638e59ea019b0a63fa1')
-
-
-install=install
-
-prepare() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	patch -p1 -i ../format-string.patch # FS#42983
-	patch -p1 -i ../ghostscript918.patch
-}
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	export LIBPOSTFIX=/
-	export PYTHON=python2
-	export LUA=lua5.1
-
-	CXXFLAGS="${CXXFLAGS} -Dint64=int64_t" ./configure --prefix=/usr
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-
-	cd "${pkgdir}/usr/lib"
-	install -d lua/5.1
-	mv lua/gv.so lua/5.1
-
-	# Workaround symlink upgrade bug (fixed in pacman trunk)
-	# Also deduplicates the tcl libraries (upstream bug?)
-	# Might have been this commit: https://github.com/ellson/graphviz/commit/f11aead
-	rm -r tcl8.6/graphviz
-	ln -s ../graphviz/tcl tcl8.6/graphviz
-}

Copied: graphviz/repos/extra-x86_64/PKGBUILD (from rev 280851, graphviz/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=graphviz
+pkgver=2.38.0
+pkgrel=16
+pkgdesc='Graph visualization software'
+url='http://www.graphviz.org/'
+license=('CPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
+makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'python2' 'r' 'tk' 'qt4' 'gtk2')
+optdepends=('mono: sharp bindings'
+            'guile: guile bindings'
+            'lua51: lua bindings'
+            'ocaml: ocaml bindings'
+            'perl: perl bindings'
+            'python2: python bindings'
+            'r: r bindings'
+            'tcl: tcl bindings'
+            'qt4: gvedit'
+            'gtk2: gtk output plugin'
+            'xterm: vimdot')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
+        'format-string.patch'
+        'ghostscript918.patch')
+sha1sums=('053c771278909160916ca5464a0a98ebf034c6ef'
+          '271d116bc022596a64b6ee061f3d2e50fa2e6025'
+          'bcce75a535c277556e196638e59ea019b0a63fa1')
+
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../format-string.patch # FS#42983
+	patch -p1 -i ../ghostscript918.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export CXXFLAGS+=' -Dint64=int64_t' # for ocaml
+	export LIBPOSTFIX=/
+	export PYTHON=python2
+	export LUA=lua5.1
+
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+
+	cd "${pkgdir}/usr/lib"
+	install -d lua/5.1
+	mv lua/gv.so lua/5.1
+
+	# Workaround symlink upgrade bug (fixed in pacman trunk)
+	# Also deduplicates the tcl libraries (upstream bug?)
+	# Might have been this commit: https://github.com/ellson/graphviz/commit/f11aead
+	rm -r tcl8.6/graphviz
+	ln -s ../graphviz/tcl tcl8.6/graphviz
+}

Deleted: extra-x86_64/format-string.patch
===================================================================
--- extra-x86_64/format-string.patch	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-x86_64/format-string.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,21 +0,0 @@
-diff -Naur old/lib/cgraph/scan.l new/lib/cgraph/scan.l
---- old/lib/cgraph/scan.l	2014-04-13 10:40:25.000000000 -1000
-+++ new/lib/cgraph/scan.l	2014-12-02 08:54:21.285050735 -1000
-@@ -149,7 +149,7 @@
- 	agxbput(&xb,buf);
- 	agxbput(&xb,fname);
- 	agxbput(&xb, " splits into two tokens\n");
--	agerr(AGWARN,agxbuse(&xb));
-+	agerr(AGWARN, "%s", agxbuse(&xb));
- 
- 	agxbfree(&xb);
- 	return 1;
-@@ -225,7 +225,7 @@
- 	agxbput (&xb, buf);
- 	agxbput (&xb, yytext);
- 	agxbput (&xb,"'\n");
--	agerr(AGERR,agxbuse(&xb));
-+	agerr(AGERR, "%s", agxbuse(&xb));
- 	agxbfree(&xb);
- }
- /* must be here to see flex's macro defns */

Copied: graphviz/repos/extra-x86_64/format-string.patch (from rev 280851, graphviz/trunk/format-string.patch)
===================================================================
--- extra-x86_64/format-string.patch	                        (rev 0)
+++ extra-x86_64/format-string.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,21 @@
+diff -Naur old/lib/cgraph/scan.l new/lib/cgraph/scan.l
+--- old/lib/cgraph/scan.l	2014-04-13 10:40:25.000000000 -1000
++++ new/lib/cgraph/scan.l	2014-12-02 08:54:21.285050735 -1000
+@@ -149,7 +149,7 @@
+ 	agxbput(&xb,buf);
+ 	agxbput(&xb,fname);
+ 	agxbput(&xb, " splits into two tokens\n");
+-	agerr(AGWARN,agxbuse(&xb));
++	agerr(AGWARN, "%s", agxbuse(&xb));
+ 
+ 	agxbfree(&xb);
+ 	return 1;
+@@ -225,7 +225,7 @@
+ 	agxbput (&xb, buf);
+ 	agxbput (&xb, yytext);
+ 	agxbput (&xb,"'\n");
+-	agerr(AGERR,agxbuse(&xb));
++	agerr(AGERR, "%s", agxbuse(&xb));
+ 	agxbfree(&xb);
+ }
+ /* must be here to see flex's macro defns */

Deleted: extra-x86_64/ghostscript918.patch
===================================================================
--- extra-x86_64/ghostscript918.patch	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-x86_64/ghostscript918.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,18 +0,0 @@
-diff -uprb graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c graphviz-2.38.0/plugin/gs/gvloadimage_gs.c
---- graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c	2014-04-13 23:40:25.000000000 +0300
-+++ graphviz-2.38.0/plugin/gs/gvloadimage_gs.c	2015-11-11 00:08:32.916123704 +0200
-@@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const
- 
-     assert (err < 0);
- 
--    if (err >= e_VMerror) 
-+    if (err >= gs_error_VMerror)
- 	errsrc = "PostScript Level 1"; 
--    else if (err >= e_unregistered)
-+    else if (err >= gs_error_unregistered)
- 	errsrc = "PostScript Level 2";
--    else if (err >= e_invalidid)
-+    else if (err >= gs_error_invalidid)
- 	errsrc = "DPS error";
-     else
- 	errsrc = "Ghostscript internal error";

Copied: graphviz/repos/extra-x86_64/ghostscript918.patch (from rev 280851, graphviz/trunk/ghostscript918.patch)
===================================================================
--- extra-x86_64/ghostscript918.patch	                        (rev 0)
+++ extra-x86_64/ghostscript918.patch	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,18 @@
+diff -uprb graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c graphviz-2.38.0/plugin/gs/gvloadimage_gs.c
+--- graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c	2014-04-13 23:40:25.000000000 +0300
++++ graphviz-2.38.0/plugin/gs/gvloadimage_gs.c	2015-11-11 00:08:32.916123704 +0200
+@@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const
+ 
+     assert (err < 0);
+ 
+-    if (err >= e_VMerror) 
++    if (err >= gs_error_VMerror)
+ 	errsrc = "PostScript Level 1"; 
+-    else if (err >= e_unregistered)
++    else if (err >= gs_error_unregistered)
+ 	errsrc = "PostScript Level 2";
+-    else if (err >= e_invalidid)
++    else if (err >= gs_error_invalidid)
+ 	errsrc = "DPS error";
+     else
+ 	errsrc = "Ghostscript internal error";

Deleted: extra-x86_64/install
===================================================================
--- extra-x86_64/install	2016-11-15 18:49:04 UTC (rev 280851)
+++ extra-x86_64/install	2016-11-15 18:49:25 UTC (rev 280852)
@@ -1,12 +0,0 @@
-post_install() {
-	rm -f usr/lib/graphviz/config{,6}
-	usr/bin/dot -c
-}
-
-post_upgrade() {
-	post_install
-}
-
-pre_remove() {
-	rm -f usr/lib/graphviz/config{,6}
-}

Copied: graphviz/repos/extra-x86_64/install (from rev 280851, graphviz/trunk/install)
===================================================================
--- extra-x86_64/install	                        (rev 0)
+++ extra-x86_64/install	2016-11-15 18:49:25 UTC (rev 280852)
@@ -0,0 +1,12 @@
+post_install() {
+	rm -f usr/lib/graphviz/config{,6}
+	usr/bin/dot -c
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+	rm -f usr/lib/graphviz/config{,6}
+}



More information about the arch-commits mailing list