[arch-commits] Commit in graphviz/trunk (PKGBUILD dotty.patch)
Gaetan Bisson
bisson at nymeria.archlinux.org
Wed Oct 23 01:47:01 UTC 2013
Date: Wednesday, October 23, 2013 @ 03:47:01
Author: bisson
Revision: 197141
fix FS#37367
Added:
graphviz/trunk/dotty.patch
Modified:
graphviz/trunk/PKGBUILD
-------------+
PKGBUILD | 9 ++++++---
dotty.patch | 21 +++++++++++++++++++++
2 files changed, 27 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-22 17:14:15 UTC (rev 197140)
+++ PKGBUILD 2013-10-23 01:47:01 UTC (rev 197141)
@@ -5,7 +5,7 @@
pkgname=graphviz
pkgver=2.34.0
-pkgrel=1
+pkgrel=2
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
license=('CPL')
@@ -22,8 +22,10 @@
'r: r bindings'
'tcl: tcl bindings'
'qt4: gvedit')
-source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
+ 'dotty.patch')
+sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441'
+ '31bc9f505c8b6470289a0d6ec31c237765cba239')
options=('!libtool')
install=install
@@ -30,6 +32,7 @@
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../dotty.patch
sed \
-e '/LIBPOSTFIX="64"/d' \
-i configure
Added: dotty.patch
===================================================================
--- dotty.patch (rev 0)
+++ dotty.patch 2013-10-23 01:47:01 UTC (rev 197141)
@@ -0,0 +1,21 @@
+diff -Naur old/cmd/dotty/dotty_layout.lefty new/cmd/dotty/dotty_layout.lefty
+--- old/cmd/dotty/dotty_layout.lefty 2013-09-06 15:07:52.000000000 -1000
++++ new/cmd/dotty/dotty_layout.lefty 2013-10-22 15:23:50.153028328 -1000
+@@ -5,7 +5,7 @@
+ local fd;
+
+ if (~dotty.lservers[lserver] | tablesize (dotty.lservers[lserver]) == 0) {
+- if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot')) >= 0)) {
++ if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot1.2')) >= 0)) {
+ dotty.message (0, concat ('cannot start ', lserver));
+ return null;
+ }
+@@ -438,6 +438,8 @@
+ }
+ } else if (t[i] == 'I') {
+ i = i + 7;
++ } else if (t[i] == 't') {
++ i = i + 2;
+ } else {
+ dotty.message (0, concat ('draw language parser error: ', t[i]));
+ return null;
More information about the arch-commits
mailing list