From a598ad2eb7147b779b4ca9a251dd9ac4c4d1f455 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 17 Sep 2005 21:08:25 +0000 Subject: Upgrade to v2.3.0. --- .../files/patch-python::PETSc::packages::X11.py | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'math/petsc/files/patch-python::PETSc::packages::X11.py') diff --git a/math/petsc/files/patch-python::PETSc::packages::X11.py b/math/petsc/files/patch-python::PETSc::packages::X11.py index 3ecac3113c25..981840edbf20 100644 --- a/math/petsc/files/patch-python::PETSc::packages::X11.py +++ b/math/petsc/files/patch-python::PETSc::packages::X11.py @@ -1,5 +1,5 @@ ---- python/PETSc/packages/X11.py.orig Wed Sep 22 02:45:51 2004 -+++ python/PETSc/packages/X11.py Sat Oct 2 00:27:14 2004 +--- python/PETSc/packages/X11.py.orig Thu Aug 11 01:08:41 2005 ++++ python/PETSc/packages/X11.py Sun Aug 21 23:06:02 2005 @@ -26,7 +26,7 @@ import nargs help.addArgument('X11', '-with-x=', nargs.ArgBool(None, 1, 'Activate X11')) @@ -8,20 +8,4 @@ + help.addArgument('X11', '-with-x-library=', nargs.Arg(None, None, 'Specify X11 library file')) return - def generateGuesses(self): -@@ -123,6 +123,7 @@ - if not os.path.isdir(self.framework.argDB['with-x-include']): - raise RuntimeError('Invalid X include directory specified by --with-x-include='+os.path.abspath(self.framework.argDB['with-x-include'])) - includeDir = self.framework.argDB['with-x-include'] -+ foundInclude = 1 - else: - testInclude = 'X11/Intrinsic.h' - -@@ -144,6 +145,7 @@ - if not os.path.isfile(self.framework.argDB['with-x-library']): - raise RuntimeError('Invalid X library specified by --with-x-library='+os.path.abspath(self.framework.argDB['with-x-library'])) - libraryDir = os.path.dirname(self.framework.argDB['with-x-library']) -+ foundLibrary = 1 - else: - testLibrary = 'Xt' - testFunction = 'XtMalloc' + def setupDependencies(self, framework): -- cgit v1.2.3