summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2017-08-24 13:01:32 +0000
committerbouyer <bouyer@pkgsrc.org>2017-08-24 13:01:32 +0000
commita070fb3ef264550e7f9265b2bcd2a7ac6e7490d9 (patch)
treefc134e4e3653bfd996ec930c47fff7d4748c1b6e
parent5c70870df9cd2a2a6cb92f23f6c49f3525e26ec1 (diff)
downloadpkgsrc-a070fb3ef264550e7f9265b2bcd2a7ac6e7490d9.tar.gz
We need -Wl,-Bsymbolic in the linker flags for NetBSD too, not only linux.
The reason is that a plugin may include its private version of some code that opencpn also has in its source. Without -Bsymbolic the plugin may use the objects from opencpn instead of its version, and which do not match the includes it was compiled with, and bad things happens. bump PKGREVISIONs
-rw-r--r--geography/opencpn-plugin-debugger/Makefile4
-rw-r--r--geography/opencpn-plugin-debugger/distinfo4
-rw-r--r--geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake24
-rw-r--r--geography/opencpn-plugin-draw/Makefile4
-rw-r--r--geography/opencpn-plugin-draw/distinfo4
-rw-r--r--geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake27
-rw-r--r--geography/opencpn-plugin-statusbar/Makefile4
-rw-r--r--geography/opencpn-plugin-statusbar/distinfo4
-rw-r--r--geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake25
-rw-r--r--geography/opencpn-plugin-watchdog/Makefile4
-rw-r--r--geography/opencpn-plugin-watchdog/distinfo4
-rw-r--r--geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake26
-rw-r--r--geography/opencpn-plugin-weather_routing/Makefile4
-rw-r--r--geography/opencpn-plugin-weather_routing/distinfo4
-rw-r--r--geography/opencpn-plugin-weather_routing/patches/patch-cmake_PluginConfigure.cmake22
15 files changed, 70 insertions, 94 deletions
diff --git a/geography/opencpn-plugin-debugger/Makefile b/geography/opencpn-plugin-debugger/Makefile
index dc63a1d08f4..33a41d2e3fc 100644
--- a/geography/opencpn-plugin-debugger/Makefile
+++ b/geography/opencpn-plugin-debugger/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2017/06/01 10:26:16 bouyer Exp $
+# $NetBSD: Makefile,v 1.7 2017/08/24 13:01:32 bouyer Exp $
#
VERSION= 20170414
-PKGREVISION= 1
+PKGREVISION= 2
DISTNAME= ocpndebugger_pi-${VERSION}
PKGNAME= opencpn-plugin-debugger-${VERSION}
CATEGORIES= geography
diff --git a/geography/opencpn-plugin-debugger/distinfo b/geography/opencpn-plugin-debugger/distinfo
index ea11c640012..a72ad82e6f1 100644
--- a/geography/opencpn-plugin-debugger/distinfo
+++ b/geography/opencpn-plugin-debugger/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2017/06/01 10:26:16 bouyer Exp $
+$NetBSD: distinfo,v 1.4 2017/08/24 13:01:32 bouyer Exp $
SHA1 (ocpndebugger_pi-20170414-f2cea39ffcbf61c84e2d6066b155d866eaebff0f.tar.gz) = 77cb82bb97b95330d11985c4472f83c15c310091
RMD160 (ocpndebugger_pi-20170414-f2cea39ffcbf61c84e2d6066b155d866eaebff0f.tar.gz) = 70b5760b67015a45c681ff5cb2c6312610cd008a
SHA512 (ocpndebugger_pi-20170414-f2cea39ffcbf61c84e2d6066b155d866eaebff0f.tar.gz) = 007f8c8c3c9334d9e71a2a471744fb7f5db5e67fe6f16440b4fb0134688c946f914505b2b11b5e4cbcb85defb00dd972f9ea7b5610042e8f946930d2a7f1326f
Size (ocpndebugger_pi-20170414-f2cea39ffcbf61c84e2d6066b155d866eaebff0f.tar.gz) = 124761 bytes
-SHA1 (patch-cmake_PluginConfigure.cmake) = e56d5782610fe1191a8183e66bcf0ccf9133354a
+SHA1 (patch-cmake_PluginConfigure.cmake) = c7d16c96d4fb0a95d421cda029795a0c20323f4c
SHA1 (patch-src_ocpndebugger_pi.cpp) = 9b37f7773e3f0cbde2fc10465e71972413ebc474
diff --git a/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake
index 7e905ff5ada..0fccb723b34 100644
--- a/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake
+++ b/geography/opencpn-plugin-debugger/patches/patch-cmake_PluginConfigure.cmake
@@ -1,23 +1,17 @@
-$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2016/10/24 17:58:29 bouyer Exp $
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.2 2017/08/24 13:01:32 bouyer Exp $
Do not overwrite CMAKE_SHARED_LINKER_FLAGS
--- cmake/PluginConfigure.cmake.orig 2016-07-16 16:24:09.000000000 +0200
-+++ cmake/PluginConfigure.cmake 2016-10-24 18:23:38.000000000 +0200
-@@ -34,11 +34,13 @@
- ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O2 -fexceptions" )
++++ cmake/PluginConfigure.cmake 2017-08-24 11:41:35.216982638 +0200
+@@ -35,9 +35,9 @@
ENDIF(PROFILING)
-- IF(NOT APPLE)
+ IF(NOT APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
-- ELSE(NOT APPLE)
-+ IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
-+ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
-+ ADD_DEFINITIONS( "-fPIC")
-+ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
-+ IF(APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
-- ENDIF(NOT APPLE)
-+ ENDIF(APPLE)
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
+ ELSE(NOT APPLE)
+- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl -undefined dynamic_lookup")
+ ENDIF(NOT APPLE)
ENDIF(NOT MSVC)
-
diff --git a/geography/opencpn-plugin-draw/Makefile b/geography/opencpn-plugin-draw/Makefile
index e5c0c805b6e..7299f867a4f 100644
--- a/geography/opencpn-plugin-draw/Makefile
+++ b/geography/opencpn-plugin-draw/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2017/07/07 13:03:33 bouyer Exp $
+# $NetBSD: Makefile,v 1.12 2017/08/24 13:01:32 bouyer Exp $
#
VERSION= 1.4
-#PKGREVISION= 2
+PKGREVISION= 1
DISTNAME= ocpn_draw_pi-${VERSION}
PKGNAME= opencpn-plugin-draw-${VERSION}
CATEGORIES= geography
diff --git a/geography/opencpn-plugin-draw/distinfo b/geography/opencpn-plugin-draw/distinfo
index c7b7437a7e6..7d513da58c2 100644
--- a/geography/opencpn-plugin-draw/distinfo
+++ b/geography/opencpn-plugin-draw/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2017/07/07 13:03:33 bouyer Exp $
+$NetBSD: distinfo,v 1.9 2017/08/24 13:01:32 bouyer Exp $
SHA1 (ocpn_draw_pi-1.4-ab50d2ee26b340d2caf4cb7280571ddfd1cb0136.tar.gz) = 4cf8719af80011042a9ba0b0e6586d62c57caadc
RMD160 (ocpn_draw_pi-1.4-ab50d2ee26b340d2caf4cb7280571ddfd1cb0136.tar.gz) = 6c0efe2f5e2fcbbd33443aa7ba349e43aea0149f
SHA512 (ocpn_draw_pi-1.4-ab50d2ee26b340d2caf4cb7280571ddfd1cb0136.tar.gz) = a1f236dace46b6eacb70d74d5e4aee33e938490a6916c7c0a9f01fcee1b152ee256318bb0f34ef85004faa4553e416b444a20782b6ca59aeb6aa06b7486a8990
Size (ocpn_draw_pi-1.4-ab50d2ee26b340d2caf4cb7280571ddfd1cb0136.tar.gz) = 1265760 bytes
-SHA1 (patch-cmake_PluginConfigure.cmake) = e5fc9c0516c93ebe36cc83dce7703769266dfd5d
+SHA1 (patch-cmake_PluginConfigure.cmake) = bfde643276a74618e015269878d3e9e979401070
SHA1 (patch-cmake_PluginInstall.cmake) = 43a906b0a75a1e358ccd96992e1c14d526d07b4b
diff --git a/geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake
index b5b1ca74e7b..acef9209194 100644
--- a/geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake
+++ b/geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake
@@ -1,22 +1,17 @@
-$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.3 2017/04/14 16:28:40 bouyer Exp $
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.4 2017/08/24 13:01:33 bouyer Exp $
Do not overwrite CMAKE_SHARED_LINKER_FLAGS
---- cmake/PluginConfigure.cmake.orig 2017-03-12 09:27:12.000000000 +0100
-+++ cmake/PluginConfigure.cmake 2017-04-14 13:29:02.000000000 +0200
-@@ -45,11 +45,13 @@
- # ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O2 -fexceptions" )
+--- cmake/PluginConfigure.cmake.orig 2017-07-07 00:58:37.000000000 +0200
++++ cmake/PluginConfigure.cmake 2017-08-24 11:45:09.253375656 +0200
+@@ -46,9 +46,9 @@
ENDIF(PROFILING)
-- IF(NOT APPLE)
-+ IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
- SET( CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
-- ELSE(NOT APPLE)
-+ ADD_DEFINITIONS( "-fPIC")
-+ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
-+ IF(APPLE)
- SET( CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
-- ENDIF(NOT APPLE)
-+ ENDIF(APPLE)
+ IF(NOT APPLE)
+- SET( CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
++ SET( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
+ ELSE(NOT APPLE)
+- SET( CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
++ SET( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl -undefined dynamic_lookup")
+ ENDIF(NOT APPLE)
- ENDIF(NOT MSVC)
diff --git a/geography/opencpn-plugin-statusbar/Makefile b/geography/opencpn-plugin-statusbar/Makefile
index dc92e01f712..9245cf9d7b6 100644
--- a/geography/opencpn-plugin-statusbar/Makefile
+++ b/geography/opencpn-plugin-statusbar/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2017/04/14 16:38:54 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2017/08/24 13:01:33 bouyer Exp $
#
VERSION= 20170414
DISTNAME= statusbar_pi-${VERSION}
PKGNAME= opencpn-plugin-statusbar-${VERSION}
-#PKGREVISION= 3
+PKGREVISION= 1
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT= statusbar_pi
diff --git a/geography/opencpn-plugin-statusbar/distinfo b/geography/opencpn-plugin-statusbar/distinfo
index 90074433325..9e0580b12f9 100644
--- a/geography/opencpn-plugin-statusbar/distinfo
+++ b/geography/opencpn-plugin-statusbar/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/04/14 16:38:54 bouyer Exp $
+$NetBSD: distinfo,v 1.2 2017/08/24 13:01:33 bouyer Exp $
SHA1 (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 6a73c9641f15586c279350906a133ca7c54e09d4
RMD160 (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 2fab65f1345b583dccd9b5a59184977533ef948c
SHA512 (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 31acc25e65e8d6db464bb6e664fc65b53b732d91853ef441c62e57e83a6476c602f160a0270874d77be5c7f0aeb295b5a5dccab5b6f3dc04ebfa8356ad538ee0
Size (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 214972 bytes
-SHA1 (patch-cmake_PluginConfigure.cmake) = 5c0484bc31d4aff8ae631bf679dd363e9590896c
+SHA1 (patch-cmake_PluginConfigure.cmake) = 5b51256240f1355ebd746ea0a4c0492a2ac935e6
diff --git a/geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake
index a85e3ac69cb..2484e980f5c 100644
--- a/geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake
+++ b/geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake
@@ -1,22 +1,17 @@
-$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2017/04/14 16:38:54 bouyer Exp $
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.2 2017/08/24 13:01:33 bouyer Exp $
Do not overwrite CMAKE_SHARED_LINKER_FLAGS
--- cmake/PluginConfigure.cmake.orig 2016-05-09 14:08:57.000000000 +0200
-+++ cmake/PluginConfigure.cmake 2017-04-14 17:00:15.000000000 +0200
-@@ -34,11 +34,13 @@
- ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O2 -fexceptions" )
++++ cmake/PluginConfigure.cmake 2017-08-24 11:50:45.935411441 +0200
+@@ -35,9 +35,9 @@
ENDIF(PROFILING)
-- IF(NOT APPLE)
-+ IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
-- ELSE(NOT APPLE)
-+ ADD_DEFINITIONS( "-fPIC")
-+ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
-+ if(APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
-- ENDIF(NOT APPLE)
-+ ENDIF(APPLE)
+ IF(NOT APPLE)
+- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
+ ELSE(NOT APPLE)
+- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl -undefined dynamic_lookup")
+ ENDIF(NOT APPLE)
ENDIF(NOT MSVC)
-
diff --git a/geography/opencpn-plugin-watchdog/Makefile b/geography/opencpn-plugin-watchdog/Makefile
index 796753acd15..4a4bd7cbbaf 100644
--- a/geography/opencpn-plugin-watchdog/Makefile
+++ b/geography/opencpn-plugin-watchdog/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.8 2017/07/07 13:04:36 bouyer Exp $
+# $NetBSD: Makefile,v 1.9 2017/08/24 13:01:33 bouyer Exp $
#
VERSION= 20170611
DISTNAME= watchdog_pi-${VERSION}
PKGNAME= opencpn-plugin-watchdog-${VERSION}
-#PKGREVISION= 3
+PKGREVISION= 1
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT= watchdog_pi
diff --git a/geography/opencpn-plugin-watchdog/distinfo b/geography/opencpn-plugin-watchdog/distinfo
index 3fd4c49eb9e..034fcbc0557 100644
--- a/geography/opencpn-plugin-watchdog/distinfo
+++ b/geography/opencpn-plugin-watchdog/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2017/07/07 13:04:36 bouyer Exp $
+$NetBSD: distinfo,v 1.6 2017/08/24 13:01:33 bouyer Exp $
SHA1 (watchdog_pi-20170611-870a9231cd451b24d876097166e95ab4a55122ce.tar.gz) = d3dc5d109ca144eea81e367f2ec279fc9e44daae
RMD160 (watchdog_pi-20170611-870a9231cd451b24d876097166e95ab4a55122ce.tar.gz) = c8bbccaa090bfff9670333f1e4459da015d3cfc0
SHA512 (watchdog_pi-20170611-870a9231cd451b24d876097166e95ab4a55122ce.tar.gz) = a5f742e51272d92e3499ec0d86a65cf2ee5be4a82560ac5db4cf8d871b7aa1b80ba585899b57957a1f67b16ec8b40ce3db13354f96301b36ed2521a157ec3e0a
Size (watchdog_pi-20170611-870a9231cd451b24d876097166e95ab4a55122ce.tar.gz) = 447611 bytes
-SHA1 (patch-cmake_PluginConfigure.cmake) = 72713695893417f0e56fa78c624295fc0ca39470
+SHA1 (patch-cmake_PluginConfigure.cmake) = bc2d6409f95cffee145173280c33f9e7fe439864
diff --git a/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
index 269cfa2424f..5cd4dcea2b7 100644
--- a/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
+++ b/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
@@ -1,23 +1,17 @@
-$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.2 2016/05/21 10:50:41 bouyer Exp $
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.3 2017/08/24 13:01:33 bouyer Exp $
Do not overwrite CMAKE_SHARED_LINKER_FLAGS
---- cmake/PluginConfigure.cmake.orig 2016-04-13 23:56:21.000000000 +0200
-+++ cmake/PluginConfigure.cmake 2016-05-21 12:26:00.398634165 +0200
-@@ -40,11 +40,13 @@
- ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O0 -fexceptions" )
+--- cmake/PluginConfigure.cmake.orig 2017-06-11 14:59:39.000000000 +0200
++++ cmake/PluginConfigure.cmake 2017-08-24 11:52:45.287937243 +0200
+@@ -41,9 +41,9 @@
ENDIF(PROFILING)
-- IF(NOT APPLE)
+ IF(NOT APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
-- ELSE(NOT APPLE)
-+ IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
-+ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
-+ ADD_DEFINITIONS( "-fPIC")
-+ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
-+ IF(APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
-- ENDIF(NOT APPLE)
-+ ENDIF(APPLE)
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
+ ELSE(NOT APPLE)
+- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl -undefined dynamic_lookup")
+ ENDIF(NOT APPLE)
ENDIF(NOT MSVC)
-
diff --git a/geography/opencpn-plugin-weather_routing/Makefile b/geography/opencpn-plugin-weather_routing/Makefile
index 40477d806da..4df7e4d36eb 100644
--- a/geography/opencpn-plugin-weather_routing/Makefile
+++ b/geography/opencpn-plugin-weather_routing/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.12 2017/04/14 16:42:25 bouyer Exp $
+# $NetBSD: Makefile,v 1.13 2017/08/24 13:01:33 bouyer Exp $
#
VERSION= 20170414
DISTNAME= weather_routing_pi-${VERSION}
PKGNAME= opencpn-plugin-weather_routing-${VERSION}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT= weather_routing_pi
diff --git a/geography/opencpn-plugin-weather_routing/distinfo b/geography/opencpn-plugin-weather_routing/distinfo
index 651bd882e20..67f3177d5af 100644
--- a/geography/opencpn-plugin-weather_routing/distinfo
+++ b/geography/opencpn-plugin-weather_routing/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.8 2017/04/14 16:35:21 bouyer Exp $
+$NetBSD: distinfo,v 1.9 2017/08/24 13:01:33 bouyer Exp $
SHA1 (weather_routing_pi-20170414-d65c968479af4fee78aa28b4b3f2c54660597eac.tar.gz) = e28c7831b923293a1e0d874150f038090979e181
RMD160 (weather_routing_pi-20170414-d65c968479af4fee78aa28b4b3f2c54660597eac.tar.gz) = 54d584a02d811c17626e4969817a44d03f3b93de
SHA512 (weather_routing_pi-20170414-d65c968479af4fee78aa28b4b3f2c54660597eac.tar.gz) = 20607b864eef999bfbf1b05f62661479eed484a4e1c407dac4605f703f59faf91f684acd34e078bbf3c89d6aca128000f3d6fd45e7f767f16fd888382e15f0bd
Size (weather_routing_pi-20170414-d65c968479af4fee78aa28b4b3f2c54660597eac.tar.gz) = 847684 bytes
-SHA1 (patch-cmake_PluginConfigure.cmake) = e2873cbba3d776227d72b8538634f687dc04c439
+SHA1 (patch-cmake_PluginConfigure.cmake) = 5f0b145d34c064870090eaa598b5474020eb887d
SHA1 (patch-src_Polar.cpp) = fa7af26e0dcba1dda3ae358c35353c6304d4f941
SHA1 (patch-src_RouteMap.cpp) = a733a901f04eeb1699805e590325c0485ce26d1b
SHA1 (patch-src_RouteMapOverlay.cpp) = 075ca5206f03e83277060bae1776ba77d26bd990
diff --git a/geography/opencpn-plugin-weather_routing/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-weather_routing/patches/patch-cmake_PluginConfigure.cmake
index 004b0c89aa6..adb6dcaa213 100644
--- a/geography/opencpn-plugin-weather_routing/patches/patch-cmake_PluginConfigure.cmake
+++ b/geography/opencpn-plugin-weather_routing/patches/patch-cmake_PluginConfigure.cmake
@@ -1,19 +1,17 @@
-$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2016/03/14 11:07:59 bouyer Exp $
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.2 2017/08/24 13:01:33 bouyer Exp $
Do not overwrite CMAKE_SHARED_LINKER_FLAGS
---- cmake/PluginConfigure.cmake.orig 2016-02-10 19:43:27.000000000 +0100
-+++ cmake/PluginConfigure.cmake 2016-02-10 19:43:46.000000000 +0100
-@@ -43,11 +43,9 @@
- ENDIF(DEBUG)
+--- cmake/PluginConfigure.cmake.orig 2017-04-01 02:46:48.000000000 +0200
++++ cmake/PluginConfigure.cmake 2017-08-24 11:54:54.830898473 +0200
+@@ -44,9 +44,9 @@
ENDIF(PROFILING)
-- IF(NOT APPLE)
+ IF(NOT APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
-- ELSE(NOT APPLE)
-+ IF(APPLE)
- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
-- ENDIF(NOT APPLE)
-+ ENDIF(APPLE)
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
+ ELSE(NOT APPLE)
+- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
++ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl -undefined dynamic_lookup")
+ ENDIF(NOT APPLE)
ENDIF(NOT MSVC)
-