update to go1.3.1

This commit is contained in:
Vincent Batts 2014-08-13 20:37:18 +00:00
parent 81887c2abd
commit ec1155188c
4 changed files with 15 additions and 10 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/go1.3rc1.src.tar.gz /go1.3rc1.src.tar.gz
/go1.3rc2.src.tar.gz /go1.3rc2.src.tar.gz
/go1.3.src.tar.gz /go1.3.src.tar.gz
/go1.3.1.src.tar.gz

View File

@ -1,8 +1,8 @@
Index: include/u.h Index: go/include/u.h
=================================================================== ===================================================================
--- include/u.h.orig --- go.orig/include/u.h
+++ include/u.h +++ go/include/u.h
@@ -38,9 +38,12 @@ extern "C" { @@ -38,10 +38,13 @@ extern "C" {
# define __MAKECONTEXT_V2_SOURCE 1 # define __MAKECONTEXT_V2_SOURCE 1
# endif # endif
#endif #endif
@ -10,7 +10,8 @@ Index: include/u.h
+#define _DEFAULT_SOURCE 1 +#define _DEFAULT_SOURCE 1
+#else +#else
#define _BSD_SOURCE 1 #define _BSD_SOURCE 1
-#define _NETBSD_SOURCE 1 /* NetBSD */ #define _NETBSD_SOURCE 1 /* NetBSD */
-#define _DEFAULT_SOURCE 1 /* glibc > 2.19 */
#define _SVID_SOURCE 1 #define _SVID_SOURCE 1
+#endif +#endif
#if !defined(__APPLE__) && !defined(__OpenBSD__) #if !defined(__APPLE__) && !defined(__OpenBSD__)

View File

@ -38,13 +38,13 @@
%endif %endif
Name: golang Name: golang
Version: 1.3 Version: 1.3.1
Release: 11%{?dist} Release: 1%{?dist}
Summary: The Go Programming Language Summary: The Go Programming Language
License: BSD License: BSD
URL: http://golang.org/ URL: http://golang.org/
Source0: http://golang.org/dl/go%{version}.src.tar.gz Source0: https://storage.googleapis.com/golang/go%{version}.src.tar.gz
# this command moved places # this command moved places
%if 0%{?fedora} >= 21 %if 0%{?fedora} >= 21
@ -339,7 +339,7 @@ end
%if 0%{?fedora} >= 21 %if 0%{?fedora} >= 21
%patch210 -p0 %patch210 -p0
%patch211 -p0 %patch211 -p1
%endif %endif
# increase verbosity of build # increase verbosity of build
@ -898,6 +898,9 @@ fi
%changelog %changelog
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-1
- update to go1.3.1
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-11 * Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-11
- merged a line wrong - merged a line wrong

View File

@ -1,2 +1,2 @@
d76dc07e475b2905b5fec1cf319b6356 golang-19087:a15f344a9efa-xattrs.tar d76dc07e475b2905b5fec1cf319b6356 golang-19087:a15f344a9efa-xattrs.tar
4b66d7249554181c314f139ea78920b1 go1.3.src.tar.gz 13e32d14e974e3d903fa2de03581c681 go1.3.1.src.tar.gz