Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crystal: update to 0.27.2 #3867

Merged
merged 1 commit into from
Mar 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions lang/crystal/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup github 1.0

github.setup crystal-lang crystal 0.27.0
github.setup crystal-lang crystal 0.27.2
revision 0
categories lang
platforms darwin
Expand Down Expand Up @@ -38,16 +38,17 @@ master_sites-append https://github.com/crystal-lang/${name}/releases/download/${
distfiles-append ${name}-${cr_full_ver}-${os.platform}-${build_arch}${extract.suffix}:bootstrap

checksums ${distname}${extract.suffix} \
rmd160 9a3eed38c62b8a8d293f0fbf32f1fe84b8654261 \
sha256 1608026ab08dfab002e98631fb56845cff2a280db578177ab010456c2a26794c \
size 2026765 \
rmd160 a235fe9128e09cda28bfc96957ede3833b9f2633 \
sha256 2be4039d912dc1150b81624c078af256c98fc45ab3ee0e7761e35c7842503e42 \
size 2061826 \
${name}-${cr_full_ver}-${os.platform}-${build_arch}${extract.suffix} \
rmd160 a82381f5c48d20fadf5f8a7387bfac4c04bf39a5 \
sha256 f34bb10357ce5a31ed37066750ee35443ed8cf5fc3f37d3490b984a4bfb1ee51 \
size 15280881
rmd160 87aa8d75d973c87f5785103f7dc07672d88ccc68 \
sha256 2fcd11a3c3d12176004c13aa90d8ca15acde7d1ffa9a82cbaadcd526984a8691 \
size 15340333

patchfiles patch-compiler.diff patch-readline.diff \
patch-crypto.diff patch-ssl.diff patch-xml.diff
patch-crypto.diff patch-ssl.diff patch-xml.diff \
patch-xml-reader.diff ; # Remove on next release

if {${os.platform} eq "darwin" && ${os.major} <= 15} {
pre-fetch {
Expand Down
10 changes: 10 additions & 0 deletions lang/crystal/files/patch-xml-reader.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- src/xml/reader.cr.orig 2019-03-16 02:39:46.000000000 +0400
+++ src/xml/reader.cr 2019-03-16 02:40:23.000000000 +0400
@@ -129,6 +129,7 @@

# Returns the XML for the node and its content including subtrees.
def read_outer_xml
+ return "" if node_type.none?
xml = LibXML.xmlTextReaderReadOuterXml(@reader)
xml ? String.new(xml) : ""
end