diff options
author | bouyer <bouyer> | 2016-05-25 14:38:48 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2016-05-25 14:38:48 +0000 |
commit | cbcce99d649eb982bbf69dadfa873df6f6af9b91 (patch) | |
tree | 2e371569e7d1e2b83744daa3d50c7d3a4a7ca87f /geography/opencpn/patches/patch-src_glu_CMakeLists.txt | |
parent | 70cc4e05c176ba202241b98dc797bb5ae92c3496 (diff) | |
download | pkgsrc-cbcce99d649eb982bbf69dadfa873df6f6af9b91.tar.gz |
The SIGSEGV worked around by patch-src_glu_libtess_sweep.c are in fact
due to a wrong value GLU_TESS_MAX_COORD on NetBSD. See
http://mail-index.netbsd.org/tech-x11/2016/05/25/msg001733.html
Work around this by reordering -I flags so that the local GL/glu.h is used
before the one from the buildlink directory.
While there change build type from debug to release.
Bump PKGREVISION.
Diffstat (limited to 'geography/opencpn/patches/patch-src_glu_CMakeLists.txt')
-rw-r--r-- | geography/opencpn/patches/patch-src_glu_CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/geography/opencpn/patches/patch-src_glu_CMakeLists.txt b/geography/opencpn/patches/patch-src_glu_CMakeLists.txt new file mode 100644 index 00000000000..c9b13d49486 --- /dev/null +++ b/geography/opencpn/patches/patch-src_glu_CMakeLists.txt @@ -0,0 +1,16 @@ +$NetBSD: patch-src_glu_CMakeLists.txt,v 1.1 2016/05/25 14:38:48 bouyer Exp $ +Make sure to use our glu.h before the base libraries ones. + +--- src/glu/CMakeLists.txt.orig 2016-05-25 16:23:41.000000000 +0200 ++++ src/glu/CMakeLists.txt 2016-05-25 16:24:01.000000000 +0200 +@@ -17,8 +17,8 @@ + ADD_DEFINITIONS( " -g -fno-strict-aliasing -O2") + ENDIF(NOT WIN32 AND NOT APPLE) + +-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) +-INCLUDE_DIRECTORIES(include) ++INCLUDE_DIRECTORIES(BEFORE ${CMAKE_SOURCE_DIR}/include) ++INCLUDE_DIRECTORIES(BEFORE include) + + IF(WIN32) + IF(MSVC) |