Package: plplot / 5.14.0+dfsg-3

Metadata

Package Version Patches format
plplot 5.14.0+dfsg-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Proper use of the rmpath function.patch | (download)

bindings/octave/PLplot/toggle_plplot_use.m | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 proper use of the rmpath function


Remove nondfsg dirs.patch | (download)

CMakeLists.txt | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 remove nondfsg dirs


Fix build with OCaml 4.06.patch | (download)

examples/ocaml/x20.ml | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix build with ocaml 4.06

Fedora patch to fix build with OCaml 4.0.6.

i386 mieee fp.patch | (download)

cmake/modules/csiro.cmake | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 fix ftbfs on i386, workaround for #901836
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

The -mieee-fp flag, that is used to test the “NaN awareness” of the compiler,
is broken on i386. As a consequence, plplot FTBFS, because it does not compile
csiro, see e.g.:
https://buildd.debian.org/status/fetch.php?pkg=plplot&arch=i386&ver=5.13.0%2Bdfsg-7%2Bb1&stamp=1529312616&raw=0

This patch simply removes the -mieee-fp flag, which is not needed on i386 to
pass the “NaN awareness” test.
Bug-Debian: https://bugs.debian.org/901836
Build with Itcl4.patch | (download)

cmake/modules/tcl-related.cmake | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 enable itcl 4 for the build

This includes switching ON variable USE_INCRTCL_VERSION_4 and adding
the itcl suffix to the include search paths because for tcl-itcl4 the
headers are placed in /usr/include/itcl.

Don t misdetect compiler on Alpha as not supporting NaN.patch | (download)

cmake/modules/csiro.cmake | 6 1 + 5 - 0 !
1 file changed, 1 insertion(+), 5 deletions(-)

 don't misdetect compiler on alpha as not supporting nan

Closes: #901920

plplot FTBFS on Alpha [1] with missing libcsirocsa.so files at the
install stage.  One can trace this back to the cmake configure at
the start which misdetects the compiler as not supporting NaNs
(from the build log):

-- Check for NaN awareness in C compiler
-- Check for NaN awareness in C compiler - not found
-- WARNING: Setting PL_HAVE_QHULL and WITH_CSA to OFF.

In cmake/modules/csiro.cmake is:

  if(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
    if(CMAKE_C_COMPILER MATCHES "gcc")
      set(NAN_CFLAGS "${NAN_CFLAGS} -mieee")
    else(CMAKE_C_COMPILER MATCHES "gcc")
      set(NAN_CFLAGS "${NAN_CFLAGS} -ieee")
    endif(CMAKE_C_COMPILER MATCHES "gcc")

In the build CMAKE_C_COMPILER gets set to /usr/bin/cc which is gcc
on Debian Linux but does not match "gcc" in the test and thus the
test proceeds with the compiler option "-ieee" intended for the
Compaq C compiler, not for gcc.

A simple fix for Debian Linux would be to eliminate the test for
gcc (as the Compaq C Compiler for Alpha Linux has not been runnable
under Linux for quite a few years so there is no point in testing
for it) and just use the -mieee command line argument, i.e.,

  if(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")
     set(NAN_CFLAGS "${NAN_CFLAGS} -mieee")
  endif(CMAKE_SYSTEM_PROCESSOR MATCHES "alpha.*")

I suspect this fix might not be acceptable to upstream as it
potentially breaks the build on Tru64 Unix with the Compaq C
compiler.

Cheers,
Michael.

Remove dependency of examples from python shared libs.patch | (download)

examples/CMakeLists.txt | 4 0 + 4 - 0 !
examples/python/CMakeLists.txt | 2 0 + 2 - 0 !
2 files changed, 6 deletions(-)

 remove dependency of examples from python shared libs

They are there if the packages are installed, and their names change
during package creation.