Please find enclosed a diff for bringing net/syncthing to the latest
version. Passed diff to edd@ (MAINTAINER) whoe replied with "They are
good to be committed. And are OK awolk@. Please go ahead."

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/syncthing/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile    5 Feb 2018 11:53:03 -0000       1.19
+++ Makefile    15 Feb 2018 20:08:00 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      open decentralized synchronization utility
 
-V =            0.14.43
+V =            0.14.44
 DISTNAME =     syncthing-${V}
 DISTFILES =    syncthing-source-v${V}${EXTRACT_SUFX}
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/syncthing/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo    5 Feb 2018 11:53:03 -0000       1.12
+++ distinfo    15 Feb 2018 20:08:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (syncthing-source-v0.14.43.tar.gz) = 
uwJQ4Lr85pCozj9D8KuDSYdKwcjzzcIk7V0BEAmbvZw=
-SIZE (syncthing-source-v0.14.43.tar.gz) = 9762513
+SHA256 (syncthing-source-v0.14.44.tar.gz) = 
ITbve97DBfAf2ee96S2QS7khXh5jKHA7EqmAFbgouDs=
+SIZE (syncthing-source-v0.14.44.tar.gz) = 10447240
Index: patches/patch-build_go
===================================================================
RCS file: /cvs/ports/net/syncthing/patches/patch-build_go,v
retrieving revision 1.5
diff -u -p -r1.5 patch-build_go
--- patches/patch-build_go      5 Feb 2018 11:53:03 -0000       1.5
+++ patches/patch-build_go      15 Feb 2018 20:08:00 -0000
@@ -2,21 +2,12 @@ $OpenBSD: patch-build_go,v 1.5 2018/02/0
 Index: build.go
 --- build.go.orig
 +++ build.go
-@@ -419,7 +419,7 @@ func install(target target, tags []string) {
-               log.Fatal(err)
-       }
-       os.Setenv("GOBIN", filepath.Join(cwd, "bin"))
--      args := []string{"install", "-v", "-ldflags", ldflags()}
-+      args := []string{"install", "-v", "-x", "-ldflags", ldflags()}
-       if pkgdir != "" {
-               args = append(args, "-pkgdir", pkgdir)
-       }
-@@ -445,7 +445,7 @@ func build(target target, tags []string) {
-       tags = append(target.tags, tags...)
+@@ -461,7 +461,7 @@ func appendParameters(args []string, tags []string, ta
  
-       rmr(target.BinaryName())
--      args := []string{"build", "-i", "-v", "-ldflags", ldflags()}
-+      args := []string{"build", "-i", "-v", "-x", "-ldflags", ldflags()}
-       if pkgdir != "" {
-               args = append(args, "-pkgdir", pkgdir)
-       }
+       if !debugBinary {
+               // Regular binaries get version tagged and skip some debug 
symbols
+-              args = append(args, "-ldflags", ldflags())
++              args = append(args, "-x", "-ldflags", ldflags())
+       } else {
+               // -gcflags to disable optimizations and inlining. Skip -ldflags
+               // because `Could not launch program: decoding dwarf section 
info at

Reply via email to