Date: Wed, 1 Feb 2017 21:49:18 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433113 - in head/lang/erlang-wx: . files Message-ID: <201702012149.v11LnIkm005627@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Wed Feb 1 21:49:18 2017 New Revision: 433113 URL: https://svnweb.freebsd.org/changeset/ports/433113 Log: Update lang/erlang-wx to 19.2.2 and fix build with clang 4.0[1]. PR: 216615 [1] Submitted by: Jan Beich Added: head/lang/erlang-wx/files/ head/lang/erlang-wx/files/patch-lib_wx_c__src_wxe__impl.cpp (contents, props changed) Modified: head/lang/erlang-wx/Makefile head/lang/erlang-wx/distinfo Modified: head/lang/erlang-wx/Makefile ============================================================================== --- head/lang/erlang-wx/Makefile Wed Feb 1 21:48:35 2017 (r433112) +++ head/lang/erlang-wx/Makefile Wed Feb 1 21:49:18 2017 (r433113) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= erlang -PORTVERSION= 19.2.1 +PORTVERSION= 19.2.2 CATEGORIES= lang parallel MASTER_SITES= http://www.erlang.org/download/:erlangorg \ http://erlang.stacken.kth.se/download/:erlangorg \ @@ -14,7 +14,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni -PATCHFILES= patch-otp-19.2.1 +PATCHFILES= patch-otp-19.2.1 patch-otp-19.2.2 MAINTAINER= olgeni@FreeBSD.org COMMENT= Erlang bindings for wxWindows Modified: head/lang/erlang-wx/distinfo ============================================================================== --- head/lang/erlang-wx/distinfo Wed Feb 1 21:48:35 2017 (r433112) +++ head/lang/erlang-wx/distinfo Wed Feb 1 21:49:18 2017 (r433113) @@ -1,7 +1,9 @@ -TIMESTAMP = 1484655871 +TIMESTAMP = 1485949081 SHA256 (erlang/otp_src_19.2.tar.gz) = a016b3ef5dac1e532972617b2715ef187ecb616f7cd7ddcfe0f1d502f5d24870 SIZE (erlang/otp_src_19.2.tar.gz) = 68395949 SHA256 (erlang/otp_doc_html_19.2.tar.gz) = c373c8c1a9fe7433825088684932f3ded76f53d5b8a4d3d2a364263f1f783043 SIZE (erlang/otp_doc_html_19.2.tar.gz) = 34761971 SHA256 (erlang/patch-otp-19.2.1) = 5fe07da09c914e1145c3e15e2f459fdb7cceedec0213a289ad238dada9645d2c SIZE (erlang/patch-otp-19.2.1) = 9287 +SHA256 (erlang/patch-otp-19.2.2) = a64cac32675fe57cb749461eba9458bbc4d7abddf58996c897e2528a41f2e33c +SIZE (erlang/patch-otp-19.2.2) = 9412 Added: head/lang/erlang-wx/files/patch-lib_wx_c__src_wxe__impl.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/erlang-wx/files/patch-lib_wx_c__src_wxe__impl.cpp Wed Feb 1 21:49:18 2017 (r433113) @@ -0,0 +1,20 @@ +--- lib/wx/c_src/wxe_impl.cpp.orig 2017-01-30 23:13:25 UTC ++++ lib/wx/c_src/wxe_impl.cpp +@@ -666,7 +666,7 @@ void * WxeApp::getPtr(char * bp, wxeMemE + throw wxe_badarg(index); + } + void * temp = memenv->ref2ptr[index]; +- if((index < memenv->next) && ((index == 0) || (temp > NULL))) ++ if((index < memenv->next) && ((index == 0) || (temp != NULL))) + return temp; + else { + throw wxe_badarg(index); +@@ -678,7 +678,7 @@ void WxeApp::registerPid(char * bp, ErlD + if(!memenv) + throw wxe_badarg(index); + void * temp = memenv->ref2ptr[index]; +- if((index < memenv->next) && ((index == 0) || (temp > NULL))) { ++ if((index < memenv->next) && ((index == 0) || (temp != NULL))) { + ptrMap::iterator it; + it = ptr2ref.find(temp); + if(it != ptr2ref.end()) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702012149.v11LnIkm005627>