Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 11:49:25 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328935 - head/x11/metisse/files
Message-ID:  <201310011149.r91BnPRq006577@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue Oct  1 11:49:25 2013
New Revision: 328935
URL: http://svnweb.freebsd.org/changeset/ports/328935

Log:
  x11/metisse: add <unistd.h> and other c++ fixes
  
  Approved by:	portmgr (bapt, implicit)

Added:
  head/x11/metisse/files/patch-FvwmCompositor_eigen_ludecomposition.h   (contents, props changed)
  head/x11/metisse/files/patch-FvwmCompositor_eigen_matrix.h   (contents, props changed)
  head/x11/metisse/files/patch-FvwmCompositor_eigen_vector.h   (contents, props changed)
  head/x11/metisse/files/patch-FvwmCompositor_main_AScreen.cxx   (contents, props changed)

Added: head/x11/metisse/files/patch-FvwmCompositor_eigen_ludecomposition.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/metisse/files/patch-FvwmCompositor_eigen_ludecomposition.h	Tue Oct  1 11:49:25 2013	(r328935)
@@ -0,0 +1,20 @@
+--- FvwmCompositor/eigen/ludecomposition.h.orig	2008-03-25 17:15:13.000000000 +0000
++++ FvwmCompositor/eigen/ludecomposition.h
+@@ -85,7 +85,7 @@ class LUDecomposition
+ public:
+ 
+     /** Performs the LU Decomposition of mat. Use this constructor. */
+-    LUDecomposition( const Matrix<T, Size> & mat ) { perform( mat ); }
++    LUDecomposition( const Matrix<T, Size> & mat ) { this->perform( mat ); }
+ 
+ protected:
+     /** Default constructor. Does nothing. \internal
+@@ -128,7 +128,7 @@ class LUDecompositionX
+ 
+ public:
+     /** Performs the LU Decomposition of mat. Use this constructor. */
+-    LUDecompositionX( const MatrixX<T> & mat ) { perform( mat ); }
++    LUDecompositionX( const MatrixX<T> & mat ) { this->perform( mat ); }
+ 
+ protected:
+     /** Default constructor. Does nothing. \internal

Added: head/x11/metisse/files/patch-FvwmCompositor_eigen_matrix.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/metisse/files/patch-FvwmCompositor_eigen_matrix.h	Tue Oct  1 11:49:25 2013	(r328935)
@@ -0,0 +1,38 @@
+--- FvwmCompositor/eigen/matrix.h.orig	2008-03-25 17:15:13.000000000 +0000
++++ FvwmCompositor/eigen/matrix.h
+@@ -170,7 +170,7 @@ public:
+       */
+     Matrix( const Matrix & other )
+     {
+-        readArray( other.array() );
++        this->readArray( other.array() );
+     }
+ 
+     /**
+@@ -179,7 +179,7 @@ public:
+       */
+     Matrix( const T * array )
+     {
+-        readArray( array );
++        this->readArray( array );
+     }
+ 
+     /**
+@@ -322,7 +322,7 @@ public:
+     MatrixX( const MatrixX & other )
+     {
+         init( other.size() );
+-        readArray( other.array() );
++        this->readArray( other.array() );
+     }
+ 
+     /**
+@@ -336,7 +336,7 @@ public:
+     MatrixX( int size, const T * array )
+     {
+         init( size );
+-        readArray( array );
++        this->readArray( array );
+     }
+ 
+     /**

Added: head/x11/metisse/files/patch-FvwmCompositor_eigen_vector.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/metisse/files/patch-FvwmCompositor_eigen_vector.h	Tue Oct  1 11:49:25 2013	(r328935)
@@ -0,0 +1,47 @@
+--- FvwmCompositor/eigen/vector.h.orig	2008-03-25 17:15:13.000000000 +0000
++++ FvwmCompositor/eigen/vector.h
+@@ -141,7 +141,7 @@ public:
+       */
+     Vector( const Vector &v )
+     {
+-        readArray( v.array() );
++        this->readArray( v.array() );
+     }
+ 
+     /**
+@@ -149,7 +149,7 @@ public:
+       */
+     Vector( const T *array )
+     {
+-        readArray( array );
++        this->readArray( array );
+     }
+ 
+     /**
+@@ -160,7 +160,7 @@ public:
+     Vector( int unused_size, const T *array )
+     {
+         assert( unused_size == this->size() );
+-        readArray( array );
++        this->readArray( array );
+     }
+ 
+     /**
+@@ -312,7 +312,7 @@ public:
+     VectorX( const VectorX & other )
+     {
+         init( other._size() );
+-        readArray( other.array() );
++        this->readArray( other.array() );
+     }
+ 
+     /**
+@@ -328,7 +328,7 @@ public:
+     VectorX( int size, const T * array )
+     {
+         init( size );
+-        readArray( array );
++        this->readArray( array );
+     }
+ 
+     ~VectorX()

Added: head/x11/metisse/files/patch-FvwmCompositor_main_AScreen.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/metisse/files/patch-FvwmCompositor_main_AScreen.cxx	Tue Oct  1 11:49:25 2013	(r328935)
@@ -0,0 +1,10 @@
+--- FvwmCompositor/main/AScreen.cxx.orig	2008-11-25 10:22:45.000000000 +0000
++++ FvwmCompositor/main/AScreen.cxx
+@@ -10,6 +10,7 @@
+  *
+  */
+ 
++#include <unistd.h>
+ #ifdef HAVE_CONFIG_H
+ #include "config-not-xserver.h"
+ #endif



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