From ff9dd9079d95b7b0f88f1600eeb24fb61a0d869e Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 8 Aug 2019 13:18:37 +0000 Subject: [PATCH] lang/crystal: unbreak runtime after r507877 $ cat >foo.cr require "http/client" HTTP::Client.get "http://api.icndb.com/jokes/1" $ crystal foo.cr [warn] event_reinit: forked from the event_loop. Unhandled exception in spawn: Error reinitializing libevent (Exception) [warn] event_reinit: forked from the event_loop. Unhandled exception in spawn: Error reinitializing libevent (Exception) [warn] event_reinit: forked from the event_loop. Unhandled exception in spawn: Error reinitializing libevent (Exception) [warn] event_reinit: forked from the event_loop. [warn] event_reinit: forked from the event_loop. [...] PR: 206355 Reported by: Petr Fischer Submitted by: Walter Schwarzenfeld Approved by: Greg V (maintainer) --- lang/crystal/Makefile | 5 ++++- lang/crystal/distinfo | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile index 4de0cdd2674d..6b6c3c3a1c3d 100644 --- a/lang/crystal/Makefile +++ b/lang/crystal/Makefile @@ -2,13 +2,16 @@ PORTNAME= crystal DISTVERSION= 0.28.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/crystal/:bootstrap DISTFILES= ${BOOTSTRAP_PATH}:bootstrap DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 2fafc7d60825.patch:-p1 + MAINTAINER= greg@unrelenting.technology COMMENT= Language with Ruby-like syntax and static type checking diff --git a/lang/crystal/distinfo b/lang/crystal/distinfo index 3ea8bd7ee0e6..9eed42298af3 100644 --- a/lang/crystal/distinfo +++ b/lang/crystal/distinfo @@ -7,3 +7,5 @@ SHA256 (crystal/crystal-0.27.2-freebsd12-aarch64) = d50b23d2b7b0302e91d57d1a43cc SIZE (crystal/crystal-0.27.2-freebsd12-aarch64) = 9692352 SHA256 (crystal/crystal-lang-crystal-0.28.0_GH0.tar.gz) = 4206f57c6345454504ec4cd8cbd1b9354b9be29fae4cdcdd173f4a28cc13b102 SIZE (crystal/crystal-lang-crystal-0.28.0_GH0.tar.gz) = 2108702 +SHA256 (crystal/2fafc7d60825.patch) = bb7022add31c2042132978e0edaedf4340689bb8d1f057d5dc4b5cccf20fb1ee +SIZE (crystal/2fafc7d60825.patch) = 1974