From tkato432@yahoo.com  Sun Apr 15 16:01:54 2007
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2449516A40A
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 15 Apr 2007 16:01:54 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from nm05omta05b.dion.ne.jp (nm05mta.dion.ne.jp [219.125.112.12])
	by mx1.freebsd.org (Postfix) with SMTP id CE76513C46C
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 15 Apr 2007 16:01:53 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from localhost ([59.128.69.96])
	by nm05mta.dion.ne.jp
	id <20070416010148820.MAB4.8150F40@nm05mta.dion.ne.jp>;
	Mon, 16 Apr 2007 01:01:48 +0900
Message-Id: <20070416010024.2e1dced9.tkato432@yahoo.com>
Date: Mon, 16 Apr 2007 01:00:24 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: misc/gretl to 1.6.2

>Number:         111624
>Category:       ports
>Synopsis:       Update port: misc/gretl to 1.6.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 15 16:10:06 GMT 2007
>Closed-Date:    Tue Apr 17 19:21:28 GMT 2007
>Last-Modified:  Tue Apr 17 19:30:11 GMT 2007
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p26 i386
>Organization:
>Environment:
>Description:
- Update to version 1.6.2

New file:
files/patch-lib__src__gretl_matrix.c
files/patch-plugin__oprobit.c

Remove file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/gretl/Makefile misc/gretl/Makefile
--- /usr/ports/misc/gretl/Makefile	Tue Mar 27 17:21:07 2007
+++ misc/gretl/Makefile	Sat Apr 14 02:19:22 2007
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	gretl
-PORTVERSION=	1.6.1
+PORTVERSION=	1.6.2
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -urN /usr/ports/misc/gretl/distinfo misc/gretl/distinfo
--- /usr/ports/misc/gretl/distinfo	Tue Mar 27 17:21:07 2007
+++ misc/gretl/distinfo	Sat Apr 14 02:51:22 2007
@@ -1,3 +1,3 @@
-MD5 (gretl-1.6.1.tar.bz2) = 1577859cb6b32ec6a71d9290e1faaa68
-SHA256 (gretl-1.6.1.tar.bz2) = ae67b7c6024e2853849809678b9c3d3090c524306b2e058fd8d185e0c615c6f1
-SIZE (gretl-1.6.1.tar.bz2) = 4306701
+MD5 (gretl-1.6.2.tar.bz2) = 73b9abd4d15fcb639319aed2d53c9bd1
+SHA256 (gretl-1.6.2.tar.bz2) = 99b356eb8a11ae42842f85a621a4ba24620d54433e51150221417e3c3f727482
+SIZE (gretl-1.6.2.tar.bz2) = 4370377
diff -urN /usr/ports/misc/gretl/files/patch-configure misc/gretl/files/patch-configure
--- /usr/ports/misc/gretl/files/patch-configure	Mon Feb 13 19:03:26 2006
+++ misc/gretl/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -1,30 +0,0 @@
---- configure.orig	Tue Dec 13 22:30:07 2005
-+++ configure	Wed Feb  8 13:36:33 2006
-@@ -24725,27 +24725,6 @@
-   have_gnuplot=yes
- fi
- 
--gnuplot_png=no
--if test "$build_gui" = "yes" ; then
--  echo "$as_me:$LINENO: checking for PNG support in gnuplot" >&5
--echo $ECHO_N "checking for PNG support in gnuplot... $ECHO_C" >&6
--  echo "set term png" | `which gnuplot` 2>/dev/null && gnuplot_png=yes
--  if test "$gnuplot_png" = yes ; then
--    echo "$as_me:$LINENO: result: yes" >&5
--echo "${ECHO_T}yes" >&6
--    cat >>confdefs.h <<\_ACEOF
--#define GNUPLOT_PNG 1
--_ACEOF
--
--  else
--    echo "$as_me:$LINENO: result: no" >&5
--echo "${ECHO_T}no" >&6
--    echo
--    echo "* gretl needs PNG support in gnuplot."
--    echo "* The current version of gnuplot is available from www.gnuplot.info"
--    exit
--  fi
--fi
- 
- 
- 
diff -urN /usr/ports/misc/gretl/files/patch-lib__src__gretl_matrix.c misc/gretl/files/patch-lib__src__gretl_matrix.c
--- /usr/ports/misc/gretl/files/patch-lib__src__gretl_matrix.c	Thu Jan  1 09:00:00 1970
+++ misc/gretl/files/patch-lib__src__gretl_matrix.c	Sat Apr 14 03:51:21 2007
@@ -0,0 +1,17 @@
+--- lib/src/gretl_matrix.c.orig	Wed Mar 14 09:25:57 2007
++++ lib/src/gretl_matrix.c	Sat Apr 14 03:50:51 2007
+@@ -432,12 +432,13 @@
+ {
+     int reverse = (start > end);
+     int i, k, n = 1 + (reverse ? (start-end) : (end-start));
++    gretl_matrix *v;
+ 
+     if (n == 0) {
+ 	return NULL;
+     }
+ 
+-    gretl_matrix *v = gretl_vector_alloc(n);
++    v = gretl_vector_alloc(n);
+   
+     if (v == NULL) {
+ 	return v;
diff -urN /usr/ports/misc/gretl/files/patch-plugin__oprobit.c misc/gretl/files/patch-plugin__oprobit.c
--- /usr/ports/misc/gretl/files/patch-plugin__oprobit.c	Thu Jan  1 09:00:00 1970
+++ misc/gretl/files/patch-plugin__oprobit.c	Sat Apr 14 03:58:45 2007
@@ -0,0 +1,19 @@
+--- plugin/oprobit.c.orig	Fri Feb 16 06:47:19 2007
++++ plugin/oprobit.c	Sat Apr 14 03:58:23 2007
+@@ -665,6 +665,7 @@
+     gretl_matrix *V = NULL;
+     double *theta = NULL;
+     int err;
++    op_container *OC;
+ 
+     /* BFGS apparatus */
+     int maxit = 1000;
+@@ -679,7 +680,7 @@
+ 	opt &= ~OPT_R;
+     }
+ 
+-    op_container *OC = op_container_new(ci, Z, pmod, opt);
++    OC = op_container_new(ci, Z, pmod, opt);
+     if (OC == NULL) {
+ 	return E_ALLOC;
+     }
diff -urN /usr/ports/misc/gretl/files/patch-share::Makefile.in misc/gretl/files/patch-share::Makefile.in
--- /usr/ports/misc/gretl/files/patch-share::Makefile.in	Mon Oct  9 12:32:41 2006
+++ misc/gretl/files/patch-share::Makefile.in	Sat Apr 14 02:54:25 2007
@@ -1,7 +1,7 @@
---- share/Makefile.in.orig	Wed Aug 30 10:23:29 2006
-+++ share/Makefile.in	Sun Oct  8 02:56:33 2006
-@@ -1,15 +1,16 @@
- topsrc = @top_srcdir@
+--- share/Makefile.in.orig	Fri Mar  9 11:04:53 2007
++++ share/Makefile.in	Sat Apr 14 02:54:05 2007
+@@ -2,15 +2,16 @@
+ datarootdir = @datarootdir@
  
  prefix = @prefix@
 +datadir = @datadir@
@@ -19,28 +19,24 @@
  
  EN_GUI_HLP = $(sharesrc)/gretlgui.hlp
  EN_CMD_HLP = $(sharesrc)/gretlcmd.hlp
-@@ -41,17 +42,17 @@
- all: $(AUTO_HELPFILES)
+@@ -45,14 +46,14 @@
+ all: $(query_make_help)
  
- $(AUTO_HELPFILES): 
+ help:
 -	make -C ../doc/commands help-all
 +	$(MAKE) -C ../doc/commands help-all
  
  .PHONY :
  
- help:
--	make -C ../doc/commands help-all
-+	$(MAKE) -C ../doc/commands help-all
- 
  install: installdirs install_datafiles install_scripts install_functions \
- 	install_help install_fonts
+ 	install_help install_fonts $(query_install_help)
  	$(INSTALL_DATA) $(sharesrc)/gretl.stamp $(gretldir)/gretl.stamp
 -	make -C bcih install
 +	$(MAKE) -C bcih install
  
  install-strip: install
  
-@@ -77,12 +78,12 @@
+@@ -78,12 +79,12 @@
  	$(INSTALL_DATA) $(sharesrc)/functions/gretlfunc.dtd $(gretldir)/functions 
  
  install_man: gretl.1
@@ -56,7 +52,7 @@
  	$(tooldir)/mkinstalldirs $(gretldir)/helpfigs
  	$(INSTALL_DATA) $(EN_GUI_HLP) $(gretldir)/gretlgui.hlp
  	$(INSTALL_DATA) $(EN_CMD_HLP) $(gretldir)/gretlcmd.hlp
-@@ -95,8 +96,8 @@
+@@ -96,8 +97,8 @@
  	$(INSTALL_DATA) $(IT_CLI_HLP) $(gretldir)/gretlcli.hlp.it
  	for f in $(sharesrc)/texfigs/*.png ; do \
  	$(INSTALL_DATA) $$f $(gretldir)/helpfigs ; done
diff -urN /usr/ports/misc/gretl/pkg-plist misc/gretl/pkg-plist
--- /usr/ports/misc/gretl/pkg-plist	Tue Mar 27 17:21:07 2007
+++ misc/gretl/pkg-plist	Sat Apr 14 04:04:21 2007
@@ -45,6 +45,7 @@
 include/gretl/nonparam.h
 include/gretl/objstack.h
 include/gretl/options.h
+include/gretl/plotspec.h
 include/gretl/plugins.h
 include/gretl/printout.h
 include/gretl/pvalues.h
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Apr 15 16:31:55 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111624 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Apr 17 19:21:26 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111624 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111624: commit references a PR
Date: Tue, 17 Apr 2007 19:22:06 +0000 (UTC)

 miwi        2007-04-17 19:21:31 UTC
 
   FreeBSD ports repository
 
   Modified files:
     misc/gretl           Makefile distinfo pkg-plist 
     misc/gretl/files     patch-share::Makefile.in 
   Added files:
     misc/gretl/files     patch-lib__src__gretl_matrix.c 
                          patch-plugin__oprobit.c 
   Removed files:
     misc/gretl/files     patch-configure 
   Log:
   - Update to 1.6.2
   
   PR:             111624
   Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
   
   Revision  Changes    Path
   1.57      +1 -1      ports/misc/gretl/Makefile
   1.32      +3 -3      ports/misc/gretl/distinfo
   1.4       +0 -30     ports/misc/gretl/files/patch-configure (dead)
   1.1       +17 -0     ports/misc/gretl/files/patch-lib__src__gretl_matrix.c (new)
   1.1       +19 -0     ports/misc/gretl/files/patch-plugin__oprobit.c (new)
   1.9       +10 -14    ports/misc/gretl/files/patch-share::Makefile.in
   1.31      +1 -0      ports/misc/gretl/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
