FreeBSD Bugzilla – Attachment 205820 Details for
Bug 239154
lang/go14: fix shebangs after update to go1.4-bootstrap-20171003
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file
go14-1.4.3_4.patch (text/plain), 10.55 KB, created by
Dmitri Goutnik
on 2019-07-16 15:09:02 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2019-07-16 15:09:02 UTC
Size:
10.55 KB
patch
obsolete
>Index: lang/go14/Makefile >=================================================================== >--- lang/go14/Makefile (revision 506741) >+++ lang/go14/Makefile (working copy) >@@ -15,29 +15,13 @@ > ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 > > USES= compiler shebangfix >-SHEBANG_LANG= sh perl >-SHEBANG_FILES= src/*.bash \ >- src/cmd/go/*.bash \ >- doc/progs/run \ >- doc/articles/wiki/*.bash \ >- test/bench/shootout/timing.sh \ >- misc/nacl/*_exec misc/benchcmp \ >- src/net/http/cgi/testdata/*.cgi \ >- src/regexp/syntax/*.pl \ >- lib/codereview/*.sh > >-sh_OLD_CMD= "/usr/bin/env bash" >-sh_CMD= ${SH} >+SHEBANG_GLOB= *.bash *.pl *.cgi > > WRKSRC= ${WRKDIR}/go > > .include <bsd.port.pre.mk> > >-# If cc is clang, change it to clang to help Go identify the compiler >-.if ${COMPILER_TYPE} == "clang" && ${CC} == "cc" >-CC=clang >-.endif >- > .if ${ARCH} == i386 > GOARCH=386 > GOOBJ=8 >@@ -56,15 +40,19 @@ > > post-patch: > @cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete >+ @${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash >+ @${REINPLACE_CMD} -e 's|<<<.int main() {}.|< $$\(echo "int main() {}"\)|' ${WRKSRC}/src/run.bash > > do-build: > cd ${WRKSRC}/src && \ >- CC=${CC} \ > GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go14 \ > GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \ > GO386=387 \ > CGO_ENABLED=0 \ > ${SH} make.bash >+ ${RM} ${WRKSRC}/.[a-z]* ${WRKSRC}/favicon.ico ${WRKSRC}/robots.txt >+ ${RM} -r ${WRKSRC}/lib/codereview ${WRKSRC}/misc \ >+ ${WRKSRC}/pkg/obj ${WRKSRC}/pkg/${OPSYS:tl}_${GOARCH}/cmd > > do-install: > @${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX}/go14 >Index: lang/go14/pkg-plist >=================================================================== >--- lang/go14/pkg-plist (revision 506741) >+++ lang/go14/pkg-plist (working copy) >@@ -1,5 +1,3 @@ >-go14/.hgignore >-go14/.hgtags > go14/AUTHORS > go14/CONTRIBUTORS > go14/LICENSE >@@ -168,7 +166,6 @@ > go14/doc/share.png > go14/doc/sieve.gif > go14/doc/tos.html >-go14/favicon.ico > go14/include/README > go14/include/ar.h > go14/include/bio.h >@@ -188,224 +185,14 @@ > go14/include/plan9/utf.h > go14/include/u.h > go14/include/utf.h >-go14/lib/codereview/codereview.cfg >-go14/lib/codereview/codereview.py >-go14/lib/codereview/test.sh > go14/lib/time/README > go14/lib/time/update.bash > go14/lib/time/zoneinfo.zip >-go14/misc/android/README >-go14/misc/android/go_android_exec.go >-go14/misc/arm/a >-go14/misc/benchcmp >-go14/misc/cgo/errors/err1.go >-go14/misc/cgo/errors/err2.go >-go14/misc/cgo/errors/err3.go >-go14/misc/cgo/errors/issue7757.go >-go14/misc/cgo/errors/issue8442.go >-go14/misc/cgo/errors/test.bash >-go14/misc/cgo/gmp/fib.go >-go14/misc/cgo/gmp/gmp.go >-go14/misc/cgo/gmp/pi.go >-go14/misc/cgo/life/c-life.c >-go14/misc/cgo/life/life.go >-go14/misc/cgo/life/life.h >-go14/misc/cgo/life/main.go >-go14/misc/cgo/life/main.out >-go14/misc/cgo/nocgo/nocgo.go >-go14/misc/cgo/nocgo/nocgo_test.go >-go14/misc/cgo/stdio/chain.go >-go14/misc/cgo/stdio/chain.out >-go14/misc/cgo/stdio/fib.go >-go14/misc/cgo/stdio/fib.out >-go14/misc/cgo/stdio/file.go >-go14/misc/cgo/stdio/hello.go >-go14/misc/cgo/stdio/hello.out >-go14/misc/cgo/stdio/run.out >-go14/misc/cgo/stdio/stdio.go >-go14/misc/cgo/test/align.go >-go14/misc/cgo/test/api.go >-go14/misc/cgo/test/backdoor/backdoor.go >-go14/misc/cgo/test/backdoor/runtime_gccgo.c >-go14/misc/cgo/test/backdoor/thunk.s >-go14/misc/cgo/test/basic.go >-go14/misc/cgo/test/buildid_linux.go >-go14/misc/cgo/test/callback.go >-go14/misc/cgo/test/callback_c.c >-go14/misc/cgo/test/callback_c_gc.c >-go14/misc/cgo/test/callback_c_gccgo.c >-go14/misc/cgo/test/cflags.go >-go14/misc/cgo/test/cgo_linux_test.go >-go14/misc/cgo/test/cgo_test.go >-go14/misc/cgo/test/cthread.go >-go14/misc/cgo/test/cthread_unix.c >-go14/misc/cgo/test/cthread_windows.c >-go14/misc/cgo/test/duplicate_symbol.go >-go14/misc/cgo/test/env.go >-go14/misc/cgo/test/exports.go >-go14/misc/cgo/test/fpvar.go >-go14/misc/cgo/test/helpers.go >-go14/misc/cgo/test/issue1222.go >-go14/misc/cgo/test/issue1328.go >-go14/misc/cgo/test/issue1560.go >-go14/misc/cgo/test/issue1635.go >-go14/misc/cgo/test/issue2462.go >-go14/misc/cgo/test/issue3250.go >-go14/misc/cgo/test/issue3250w.go >-go14/misc/cgo/test/issue3261.go >-go14/misc/cgo/test/issue3729.go >-go14/misc/cgo/test/issue3729w.go >-go14/misc/cgo/test/issue3741.go >-go14/misc/cgo/test/issue3775.go >-go14/misc/cgo/test/issue3945.go >-go14/misc/cgo/test/issue4029.go >-go14/misc/cgo/test/issue4029w.go >-go14/misc/cgo/test/issue4054a.go >-go14/misc/cgo/test/issue4054b.go >-go14/misc/cgo/test/issue4273.c >-go14/misc/cgo/test/issue4273b.c >-go14/misc/cgo/test/issue4339.c >-go14/misc/cgo/test/issue4339.go >-go14/misc/cgo/test/issue4339.h >-go14/misc/cgo/test/issue4417.go >-go14/misc/cgo/test/issue4857.go >-go14/misc/cgo/test/issue5227.go >-go14/misc/cgo/test/issue5242.go >-go14/misc/cgo/test/issue5337.go >-go14/misc/cgo/test/issue5337w.go >-go14/misc/cgo/test/issue5548.go >-go14/misc/cgo/test/issue5548_c.c >-go14/misc/cgo/test/issue5603.go >-go14/misc/cgo/test/issue5740.go >-go14/misc/cgo/test/issue5740a.c >-go14/misc/cgo/test/issue5740b.c >-go14/misc/cgo/test/issue5986.go >-go14/misc/cgo/test/issue6128.go >-go14/misc/cgo/test/issue6390.go >-go14/misc/cgo/test/issue6472.go >-go14/misc/cgo/test/issue6506.go >-go14/misc/cgo/test/issue6612.go >-go14/misc/cgo/test/issue6833.go >-go14/misc/cgo/test/issue6833_c.c >-go14/misc/cgo/test/issue6997_linux.c >-go14/misc/cgo/test/issue6997_linux.go >-go14/misc/cgo/test/issue7234_test.go >-go14/misc/cgo/test/issue7560.go >-go14/misc/cgo/test/issue7665.go >-go14/misc/cgo/test/issue7786.go >-go14/misc/cgo/test/issue7978.go >-go14/misc/cgo/test/issue8092.go >-go14/misc/cgo/test/issue8148.go >-go14/misc/cgo/test/issue8331.h >-go14/misc/cgo/test/issue8331a.go >-go14/misc/cgo/test/issue8331b.go >-go14/misc/cgo/test/issue8428.go >-go14/misc/cgo/test/issue8441.go >-go14/misc/cgo/test/issue8517.go >-go14/misc/cgo/test/issue8517_windows.c >-go14/misc/cgo/test/issue8517_windows.go >-go14/misc/cgo/test/issue8694.go >-go14/misc/cgo/test/issue8811.c >-go14/misc/cgo/test/issue8811.go >-go14/misc/cgo/test/issue8828.go >-go14/misc/cgo/test/issue8828/issue8828.c >-go14/misc/cgo/test/issue8828/trivial.go >-go14/misc/cgo/test/issue9026.go >-go14/misc/cgo/test/issue9026/issue9026.go >-go14/misc/cgo/test/setgid_linux.go >-go14/misc/cgo/test/sleep_windows_386.go >-go14/misc/cgo/testasan/main.go >-go14/misc/cgo/testcdefs/cdefstest.c >-go14/misc/cgo/testcdefs/cdefstest.go >-go14/misc/cgo/testcdefs/main.c >-go14/misc/cgo/testcdefs/main.go >-go14/misc/cgo/testcdefs/test.bash >-go14/misc/cgo/testgodefs/anonunion.go >-go14/misc/cgo/testgodefs/issue8478.go >-go14/misc/cgo/testgodefs/main.go >-go14/misc/cgo/testgodefs/test.bash >-go14/misc/cgo/testso/cgoso.c >-go14/misc/cgo/testso/cgoso.go >-go14/misc/cgo/testso/cgoso_c.c >-go14/misc/cgo/testso/cgoso_unix.go >-go14/misc/cgo/testso/main.go >-go14/misc/cgo/testso/test.bash >-go14/misc/cgo/testso/test.bat >-go14/misc/cgo/testtls/tls.go >-go14/misc/cgo/testtls/tls_test.go >-go14/misc/cgo/testtls/tls_unix.c >-go14/misc/chrome/gophertool/README.txt >-go14/misc/chrome/gophertool/background.html >-go14/misc/chrome/gophertool/background.js >-go14/misc/chrome/gophertool/gopher.js >-go14/misc/chrome/gophertool/gopher.png >-go14/misc/chrome/gophertool/manifest.json >-go14/misc/chrome/gophertool/popup.html >-go14/misc/chrome/gophertool/popup.js >-go14/misc/dashboard/codereview/app.yaml >-go14/misc/dashboard/codereview/cron.yaml >-go14/misc/dashboard/codereview/dashboard/cl.go >-go14/misc/dashboard/codereview/dashboard/front.go >-go14/misc/dashboard/codereview/dashboard/gc.go >-go14/misc/dashboard/codereview/dashboard/mail.go >-go14/misc/dashboard/codereview/dashboard/people.go >-go14/misc/dashboard/codereview/index.yaml >-go14/misc/dashboard/codereview/queue.yaml >-go14/misc/dashboard/codereview/static/gopherstamp.jpg >-go14/misc/dashboard/codereview/static/icon.png >-go14/misc/editors >-go14/misc/git/pre-commit >-go14/misc/linkcheck/linkcheck.go >-go14/misc/makerelease/darwin/Distribution >-go14/misc/makerelease/darwin/Resources/bg.png >-go14/misc/makerelease/darwin/etc/paths.d/go >-go14/misc/makerelease/darwin/scripts/postinstall >-go14/misc/makerelease/darwin/scripts/preinstall >-go14/misc/makerelease/makerelease.go >-go14/misc/makerelease/windows/LICENSE.rtf >-go14/misc/makerelease/windows/README.txt >-go14/misc/makerelease/windows/images/Banner.jpg >-go14/misc/makerelease/windows/images/Dialog.jpg >-go14/misc/makerelease/windows/images/DialogLeft.jpg >-go14/misc/makerelease/windows/images/gopher.ico >-go14/misc/makerelease/windows/installer.wxs >-go14/misc/nacl/README >-go14/misc/nacl/go_nacl_386_exec >-go14/misc/nacl/go_nacl_amd64p32_exec >-go14/misc/nacl/go_nacl_arm_exec >-go14/misc/nacl/mkzip.go >-go14/misc/nacl/testdata/bin/placeholder >-go14/misc/nacl/testdata/empty >-go14/misc/nacl/testdata/group >-go14/misc/nacl/testdata/hosts >-go14/misc/nacl/testdata/mime.types >-go14/misc/nacl/testzip.proto >-go14/misc/swig/callback/callback.cc >-go14/misc/swig/callback/callback.go >-go14/misc/swig/callback/callback.h >-go14/misc/swig/callback/callback.swigcxx >-go14/misc/swig/callback/callback_test.go >-go14/misc/swig/stdio/file.swig >-go14/misc/swig/stdio/file_test.go > go14/pkg/freebsd_%%ARCH%%/archive/tar.a > go14/pkg/freebsd_%%ARCH%%/archive/zip.a > go14/pkg/freebsd_%%ARCH%%/bufio.a > go14/pkg/freebsd_%%ARCH%%/bytes.a > go14/pkg/freebsd_%%ARCH%%/cgocall.h >-go14/pkg/freebsd_%%ARCH%%/cmd/internal/goobj.a >-go14/pkg/freebsd_%%ARCH%%/cmd/internal/objfile.a >-go14/pkg/freebsd_%%ARCH%%/cmd/internal/rsc.io/arm/armasm.a >-go14/pkg/freebsd_%%ARCH%%/cmd/internal/rsc.io/x86/x86asm.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/commands.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/driver.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/fetch.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/plugin.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/profile.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/report.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/svg.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/symbolizer.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/symbolz.a >-go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/tempfile.a > go14/pkg/freebsd_%%ARCH%%/compress/bzip2.a > go14/pkg/freebsd_%%ARCH%%/compress/flate.a > go14/pkg/freebsd_%%ARCH%%/compress/gzip.a >@@ -538,11 +325,6 @@ > go14/pkg/freebsd_%%ARCH%%/unicode.a > go14/pkg/freebsd_%%ARCH%%/unicode/utf16.a > go14/pkg/freebsd_%%ARCH%%/unicode/utf8.a >-go14/pkg/obj/freebsd_%%ARCH%%/lib9.a >-go14/pkg/obj/freebsd_%%ARCH%%/libbio.a >-go14/pkg/obj/freebsd_%%ARCH%%/libcc.a >-go14/pkg/obj/freebsd_%%ARCH%%/libgc.a >-go14/pkg/obj/freebsd_%%ARCH%%/liblink.a > go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%a > go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%c > go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%g >@@ -556,7 +338,6 @@ > go14/pkg/tool/freebsd_%%ARCH%%/pack > go14/pkg/tool/freebsd_%%ARCH%%/pprof > go14/pkg/tool/freebsd_%%ARCH%%/yacc >-go14/robots.txt > go14/src/Make.dist > go14/src/all.bash > go14/src/all.bat
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dmgk
:
maintainer-approval?
(
jlaffaye
)
Actions:
View
|
Diff
Attachments on
bug 239154
:
205710
| 205820 |
205992