Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 11:20:04 +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: r391982 - in head/devel/erlang-gpb: . files
Message-ID:  <201507141120.t6EBK4TZ032314@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Jul 14 11:20:03 2015
New Revision: 391982
URL: https://svnweb.freebsd.org/changeset/ports/391982

Log:
  Replace macro with actual value in record declaration.
  
  Elixir's record extractor does not seem to work with macros.

Added:
  head/devel/erlang-gpb/files/patch-include_gpb.hrl   (contents, props changed)
Modified:
  head/devel/erlang-gpb/Makefile

Modified: head/devel/erlang-gpb/Makefile
==============================================================================
--- head/devel/erlang-gpb/Makefile	Tue Jul 14 11:15:24 2015	(r391981)
+++ head/devel/erlang-gpb/Makefile	Tue Jul 14 11:20:03 2015	(r391982)
@@ -2,6 +2,7 @@
 
 PORTNAME=	gpb
 PORTVERSION=	3.18.6
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	erlang-
 

Added: head/devel/erlang-gpb/files/patch-include_gpb.hrl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-gpb/files/patch-include_gpb.hrl	Tue Jul 14 11:20:03 2015	(r391982)
@@ -0,0 +1,11 @@
+--- include/gpb.hrl.orig	2015-07-14 11:05:17 UTC
++++ include/gpb.hrl
+@@ -39,7 +39,7 @@
+ -define(gpb_rpc, rpc). %% odd definition is due to backwards compatibility
+ -endif.
+ 
+--record(?gpb_field, % NB: record name is (currently) `field' (not `gpb_field')!
++-record(field, % NB: record name is (currently) `field' (not `gpb_field')!
+         {name               :: atom(),
+          fnum               :: integer(),
+          rnum               :: pos_integer(), %% field number in the record



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507141120.t6EBK4TZ032314>