Hello community,

here is the log from the commit of package golang-googlecode-mango-doc for 
openSUSE:Factory checked in at 2019-04-30 13:04:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-googlecode-mango-doc (Old)
 and      /work/SRC/openSUSE:Factory/.golang-googlecode-mango-doc.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-googlecode-mango-doc"

Tue Apr 30 13:04:35 2019 rev:3 rq:698065 version:0.0.0+hg20141127.23dea2f59f66

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-googlecode-mango-doc/golang-googlecode-mango-doc.changes
  2017-09-14 21:13:13.667363263 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-googlecode-mango-doc.new.5536/golang-googlecode-mango-doc.changes
        2019-04-30 13:04:38.437994804 +0200
@@ -1,0 +2,6 @@
+Thu Apr 25 14:06:50 UTC 2019 - Hillwood Yang <hillw...@opensuse.org>
+
+- Add update-syntax.patch
+  * Update syntax, fix build on golang 1.11 
+
+-------------------------------------------------------------------

New:
----
  update-syntax.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ golang-googlecode-mango-doc.spec ++++++
--- /var/tmp/diff_new_pack.7otl53/_old  2019-04-30 13:04:39.085993690 +0200
+++ /var/tmp/diff_new_pack.7otl53/_new  2019-04-30 13:04:39.085993690 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package golang
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,8 @@
 Url:            https://%{provider_prefix}
 Source0:        %{repo}-%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
+# PATCH-FIX-UPSTREAM update-syntax.patch hillw...@opensuse.org - support 
golang 1.11
+Patch0:         update-syntax.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  golang-packaging
@@ -56,6 +58,7 @@
 
 %prep
 %setup -q -n %{repo}-%{rev}
+%patch0 -p1
 
 %build
 %goprep %{import_path}

++++++ update-syntax.patch ++++++
diff -Nur mango-doc-23dea2f59f66/man3.go mango-doc-23dea2f59f66-new/man3.go
--- mango-doc-23dea2f59f66/man3.go      2019-04-25 21:22:40.251893300 +0800
+++ mango-doc-23dea2f59f66-new/man3.go  2019-04-25 21:20:52.569802600 +0800
@@ -293,7 +293,7 @@
        case *ast.Ident:
                return v
        default:
-               panic(fmt.Errorf("unknown expression in field type name %T: 
%#v", v))
+               panic(fmt.Errorf("unknown expression in field type name %T: 
%#v", name, v))
        }
 }
 

Reply via email to