summaryrefslogtreecommitdiff
path: root/tinc
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-27 10:25:37 +0200
committerErich Eckner <git@eckner.net>2019-09-27 10:25:37 +0200
commit878b45a0f88dbc9f30911b564da62e120a04d529 (patch)
treeb7f8beab6a79870ea651825bd1d708811df273ee /tinc
parent697def3456271e57aef79edf43f7f43d287a311a (diff)
downloadarchlinuxewe.git.save-878b45a0f88dbc9f30911b564da62e120a04d529.tar.xz
tinc: style
Diffstat (limited to 'tinc')
-rw-r--r--tinc/PKGBUILD4
-rw-r--r--tinc/graph.patch7
2 files changed, 6 insertions, 5 deletions
diff --git a/tinc/PKGBUILD b/tinc/PKGBUILD
index dc14da5d..11a997ae 100644
--- a/tinc/PKGBUILD
+++ b/tinc/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Erich Eckner
+# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: helios
@@ -20,7 +20,7 @@ source=(https://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig} graph.patch
sha512sums=('23af9162f7ae700bad01e1f59f23f32d1b183b185ec35f4a69a987c52c53cfebfa9e852203b399f035988078e9131e5d59b018554a52a30044f34df6e64b5289'
'SKIP'
- 'c16d3b18f78d6c994769d7d561356b83ac9b9f8f1b05ee697434562c498e9aaff594763e5bd23dea984c99f711f91c7e8b0dfd5e672b3de8bd6a79390a8b5faa')
+ '3c506343a0a76ec6ac275be6270717934518c93e83ed9a004548591220a44db6847e9b2d2595677f758995bdaca83aeb2c1f22108084a76d66034afb21f34dc1')
validpgpkeys=('D62BDD168EFBE48BC60E8E234A6084B9C0D71F4A')
prepare() {
diff --git a/tinc/graph.patch b/tinc/graph.patch
index d3dddec1..1e903a13 100644
--- a/tinc/graph.patch
+++ b/tinc/graph.patch
@@ -1,8 +1,8 @@
diff --git a/src/graph.c b/src/graph.c
-index c63fdf9c..ecabb1bf 100644
+index c63fdf9c..91f5c990 100644
--- a/src/graph.c
+++ b/src/graph.c
-@@ -366,7 +366,12 @@ void dump_graph(void) {
+@@ -366,7 +366,13 @@ void dump_graph(void) {
/* now dump all edges */
for(node = edge_weight_tree->head; node; node = node->next) {
e = node->data;
@@ -11,8 +11,9 @@ index c63fdf9c..ecabb1bf 100644
+ if (e->reverse > e)
+ fprintf(file, " \"%s\" -> \"%s\" [dir=both];\n", e->from->name, e->to->name);
+ }
-+ else
++ else {
+ fprintf(file, " \"%s\" -> \"%s\";\n", e->from->name, e->to->name);
++ }
}
fprintf(file, "}\n");