summaryrefslogtreecommitdiff
path: root/graphics/pfstools/patches
diff options
context:
space:
mode:
authoradam <adam>2015-08-25 20:16:31 +0000
committeradam <adam>2015-08-25 20:16:31 +0000
commit18aedea925a514b8146ec4aef6e0c802bff04397 (patch)
tree2bc574f86b09968870f9344101666386167d61cb /graphics/pfstools/patches
parent22223a2a887490f6d077b664981a7b9ed7a20e1b (diff)
downloadpkgsrc-18aedea925a514b8146ec4aef6e0c802bff04397.tar.gz
pfstools 2.0.4
* fixed: added installation of octave-based scripts: pfsoctavelum pfsoctavergb pfsstat * fixed: libraries installed in lib64 if needed (thanks to Orion for the patch) * fixed: added "so" version to the pfs.so library (thanks to Orion for the patch) * fixed: Replaced depreciated OctaveMap for compatibility with octave 4.0.0
Diffstat (limited to 'graphics/pfstools/patches')
-rw-r--r--graphics/pfstools/patches/patch-CMakeLists.txt15
-rw-r--r--graphics/pfstools/patches/patch-aa24
-rw-r--r--graphics/pfstools/patches/patch-src_octave_pfscrop15
3 files changed, 30 insertions, 24 deletions
diff --git a/graphics/pfstools/patches/patch-CMakeLists.txt b/graphics/pfstools/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..88077c7a8d1
--- /dev/null
+++ b/graphics/pfstools/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2015/08/25 20:16:31 adam Exp $
+
+Make use of PKGMANDIR.
+
+--- CMakeLists.txt.orig 2015-07-16 20:53:21.000000000 +0000
++++ CMakeLists.txt
+@@ -29,7 +29,7 @@ set (pfstools_VERSION_MINOR 0.0)
+ set (pfslib_version 1.2)
+ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
+
+-set (MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man/man1" CACHE PATH "The directory where the man pages are")
++set (MAN_DIR "${CMAKE_INSTALL_PREFIX}/${PKGMANDIR}/man1" CACHE PATH "The directory where the man pages are")
+
+ include( CheckCXXSourceCompiles )
+
diff --git a/graphics/pfstools/patches/patch-aa b/graphics/pfstools/patches/patch-aa
deleted file mode 100644
index b197e11d63d..00000000000
--- a/graphics/pfstools/patches/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/01/18 12:46:39 obache Exp $
-
-Broken detection of header location of netpbm.
-Kill it and pass with CONFIGURE_ENV instead.
-
---- configure.orig 2008-10-14 22:39:03.000000000 +0000
-+++ configure
-@@ -19908,16 +19908,6 @@ fi
-
- fi
-
--if test "$ppm_support" = "yes"; then
--
-- NETPBM_PPMH=`find /usr/include /usr/local/include/ $CPATH -name ppm.h`
-- if test -n "$NETPBM_PPMH"; then
-- NETPBM_CFLAGS="-I ${NETPBM_PPMH%%ppm.h}"
-- else
-- ppm_support="no"
-- fi
--fi
--
- else
- ppm_support="no"
- fi
diff --git a/graphics/pfstools/patches/patch-src_octave_pfscrop b/graphics/pfstools/patches/patch-src_octave_pfscrop
new file mode 100644
index 00000000000..35e52534add
--- /dev/null
+++ b/graphics/pfstools/patches/patch-src_octave_pfscrop
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_octave_pfscrop,v 1.1 2015/08/25 20:16:31 adam Exp $
+
+Portability fix.
+
+--- src/octave/pfscrop.orig 2015-07-16 20:06:44.000000000 +0000
++++ src/octave/pfscrop
+@@ -15,7 +15,7 @@ EOF
+ exit 1
+ fi
+
+-if test $# == "2"; then
++if test $# = "2"; then
+ CW_X=1
+ CW_Y=1
+ CW_W=$1