Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2017 13:51:10 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442065 - in head/math/moo: . files
Message-ID:  <201705301351.v4UDpAY7022524@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skreuzer
Date: Tue May 30 13:51:10 2017
New Revision: 442065
URL: https://svnweb.freebsd.org/changeset/ports/442065

Log:
  Update to version 1.5

Deleted:
  head/math/moo/files/patch-Makefile
Modified:
  head/math/moo/Makefile
  head/math/moo/distinfo
  head/math/moo/files/patch-moo.y

Modified: head/math/moo/Makefile
==============================================================================
--- head/math/moo/Makefile	Tue May 30 13:50:44 2017	(r442064)
+++ head/math/moo/Makefile	Tue May 30 13:51:10 2017	(r442065)
@@ -2,13 +2,15 @@
 # $FreeBSD$
 
 PORTNAME=	moo
-PORTVERSION=	1.3
+PORTVERSION=	1.5
 CATEGORIES=	math
-MASTER_SITES=	http://www.cyth.net/moo/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	skreuzer@FreeBSD.org
 COMMENT=	Calculator that accepts C-like syntax as input
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	raylai
+GH_TAGNAME=	${PORTVERSION}
 
 PLIST_FILES=	bin/moo man/man1/moo.1.gz
 

Modified: head/math/moo/distinfo
==============================================================================
--- head/math/moo/distinfo	Tue May 30 13:50:44 2017	(r442064)
+++ head/math/moo/distinfo	Tue May 30 13:51:10 2017	(r442065)
@@ -1,2 +1,3 @@
-SHA256 (moo-1.3.tgz) = 32d567dc74ac0123034009d570d3809f35d12a13978fb409153520448b40d45f
-SIZE (moo-1.3.tgz) = 7380
+TIMESTAMP = 1496151728
+SHA256 (raylai-moo-1.5_GH0.tar.gz) = d99fc2d858c0efbfd730737b5af47e0a8d0d5e8f48890b049f86a876821aaeb3
+SIZE (raylai-moo-1.5_GH0.tar.gz) = 8661

Modified: head/math/moo/files/patch-moo.y
==============================================================================
--- head/math/moo/files/patch-moo.y	Tue May 30 13:50:44 2017	(r442064)
+++ head/math/moo/files/patch-moo.y	Tue May 30 13:51:10 2017	(r442065)
@@ -1,6 +1,6 @@
---- moo.y.orig	Thu Apr  5 14:14:22 2007
-+++ moo.y	Thu Apr  5 14:14:29 2007
-@@ -37,7 +37,7 @@
+--- moo.y.orig	2016-06-04 10:05:27 UTC
++++ moo.y
+@@ -34,7 +34,7 @@ static int used_oct;
  
  static void		divbyzero(void);
  static void		printnum(int64_t);
@@ -9,3 +9,23 @@
  void			yyerror(char *);
  int			yylex(void);
  int			yyparse(void);
+@@ -317,9 +317,6 @@ main(int argc, char *argv[])
+ {
+ 	int ch;
+ 
+-	if (pledge("stdio tmppath", NULL) == -1)
+-		err(1, "pledge");
+-
+ 	while ((ch = getopt(argc, argv, "0123456789b:lsuw:")) != -1)
+ 		switch (ch) {
+ 		/*
+@@ -403,9 +400,6 @@ DONEPARSING:
+ 		yyin = sfp;
+ 	}
+ 
+-	if (pledge("stdio", NULL) == -1)
+-		err(1, "pledge");
+-
+ 	yyparse();
+ 
+ 	return (0);



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