Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2013 05:30:28 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314130 - in head/math/plplot: . files
Message-ID:  <201303140530.r2E5USO5032330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Mar 14 05:30:28 2013
New Revision: 314130
URL: http://svnweb.freebsd.org/changeset/ports/314130

Log:
  - Fix build with FORTRAN on
  
  PR:		176535
  Submitted by:	Ports Fury

Added:
  head/math/plplot/files/patch-util__plrender.c   (contents, props changed)
Modified:
  head/math/plplot/pkg-plist

Added: head/math/plplot/files/patch-util__plrender.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/plplot/files/patch-util__plrender.c	Thu Mar 14 05:30:28 2013	(r314130)
@@ -0,0 +1,20 @@
+--- utils/plrender.c.orig
++++ utils/plrender.c
+@@ -834,7 +834,7 @@
+     if ( code ) { fprintf( stderr,          \
+                       "Unable to read in %s at line %d, bytecount %d\n\
+ Bytes requested: %d\n", __FILE__, __LINE__, \
+-                      (int) pdfs->bp, (int) 2 * n ); return -1; }
++                      (int) pdfs->bp, (int) 2 * n ); return; }
+ 
+ static void
+ get_ncoords( PLFLT *x, PLFLT *y, PLINT n )
+@@ -869,7 +869,7 @@
+         free( ys );
+     }
+ 
+-    return 0;
++    return;
+ }
+ 
+ //--------------------------------------------------------------------------

Modified: head/math/plplot/pkg-plist
==============================================================================
--- head/math/plplot/pkg-plist	Thu Mar 14 05:27:58 2013	(r314129)
+++ head/math/plplot/pkg-plist	Thu Mar 14 05:30:28 2013	(r314130)
@@ -27,6 +27,7 @@ include/plplot/qsastimedll.h
 %%WXGTK%%include/plplot/wxPLplotstream.h
 %%WXGTK%%include/plplot/wxPLplotwindow.h
 %%TCLTK%%include/plplot/tclMatrix.h
+%%FORTRAN%%lib/fortran/include/plplot/plplot_parameters.h
 %%FORTRAN%%lib/fortran/modules/plplot/plplot.mod
 %%FORTRAN%%lib/fortran/modules/plplot/plplot_flt.mod
 %%FORTRAN%%lib/fortran/modules/plplot/plplotp.mod
@@ -628,4 +629,9 @@ libdata/pkgconfig/plplotd.pc
 @dirrm lib/plplot/driversd
 @dirrm lib/plplot
 %%LUA%%@dirrm %%LUA_MODLIBDIR%%/plplot
+%%FORTRAN%%@dirrm lib/fortran/modules/plplot
+%%FORTRAN%%@dirrmtry lib/fortran/modules
+%%FORTRAN%%@dirrm lib/fortran/include/plplot
+%%FORTRAN%%@dirrmtry lib/fortran/include
+%%FORTRAN%%@dirrmtry lib/fortran
 @dirrm include/plplot



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