On Monday 19 January 2015, Joel Sing wrote:
> The following updates lang/go to 1.4.1 - this is basically a handful of bug
> fixes and also allows us to remove the last of the patches that existed in
> ports:
>
>   https://github.com/golang/go/issues?q=milestone%3AGo1.4.1
>
> Passes regress on 386/amd64.
>
> ok?

sthen@ just pointed out that it would appear that upstream tarball has been
changed, resulting in incorrect size/checksum. Updated diff below.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/go/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile    23 Dec 2014 12:21:37 -0000      1.22
+++ Makefile    22 Jan 2015 17:22:59 -0000
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS =        amd64 i386
 
 COMMENT =              Go programming language
 
-VERSION =              1.4
+VERSION =              1.4.1
 EXTRACT_SUFX =         .src.tar.gz
 DISTNAME =             go${VERSION}
 PKGNAME =              go-${VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/go/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo    23 Dec 2014 12:21:37 -0000      1.11
+++ distinfo    22 Jan 2015 17:22:59 -0000
@@ -1,2 +1,2 @@
-SHA256 (go1.4.src.tar.gz) = Oun2fkWlynAEsogI2osTZ9Moo3HWQd2+Y2wPsK4P/a4=
-SIZE (go1.4.src.tar.gz) = 10911274
+SHA256 (go1.4.1.src.tar.gz) = ZmZQBfrDW6gy/zNJd+ZY+WEQnYmnojWK53B74O+xb8o=
+SIZE (go1.4.1.src.tar.gz) = 10921353
Index: patches/patch-src_syscall_route_openbsd_go
===================================================================
RCS file: patches/patch-src_syscall_route_openbsd_go
diff -N patches/patch-src_syscall_route_openbsd_go
--- patches/patch-src_syscall_route_openbsd_go  23 Dec 2014 12:21:37 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-$OpenBSD: patch-src_syscall_route_openbsd_go,v 1.1 2014/12/23 12:21:37 jsing 
Exp $
---- src/syscall/route_openbsd.go.orig  Thu Oct 30 12:55:40 2014
-+++ src/syscall/route_openbsd.go       Sat Nov  1 02:17:33 2014
-@@ -12,16 +12,16 @@ func (any *anyMessage) toRoutingMessage(b []byte) Rout
-       switch any.Type {
-       case RTM_ADD, RTM_DELETE, RTM_CHANGE, RTM_GET, RTM_LOSING, 
RTM_REDIRECT, RTM_MISS, RTM_LOCK, RTM_RESOLVE:
-               p := (*RouteMessage)(unsafe.Pointer(any))
--              return &RouteMessage{Header: p.Header, Data: 
b[SizeofRtMsghdr:any.Msglen]}
-+              return &RouteMessage{Header: p.Header, Data: 
b[p.Header.Hdrlen:any.Msglen]}
-       case RTM_IFINFO:
-               p := (*InterfaceMessage)(unsafe.Pointer(any))
--              return &InterfaceMessage{Header: p.Header, Data: 
b[SizeofIfMsghdr:any.Msglen]}
-+              return &InterfaceMessage{Header: p.Header, Data: 
b[p.Header.Hdrlen:any.Msglen]}
-       case RTM_IFANNOUNCE:
-               p := (*InterfaceAnnounceMessage)(unsafe.Pointer(any))
-               return &InterfaceAnnounceMessage{Header: p.Header}
-       case RTM_NEWADDR, RTM_DELADDR:
-               p := (*InterfaceAddrMessage)(unsafe.Pointer(any))
--              return &InterfaceAddrMessage{Header: p.Header, Data: 
b[SizeofIfaMsghdr:any.Msglen]}
-+              return &InterfaceAddrMessage{Header: p.Header, Data: 
b[p.Header.Hdrlen:any.Msglen]}
-       }
-       return nil
- }


-- 

    "Action without study is fatal. Study without action is futile."
        -- Mary Ritter Beard

Reply via email to