summaryrefslogtreecommitdiff
path: root/ham/trustedQSL/patches
diff options
context:
space:
mode:
authormef <mef>2013-09-13 08:45:52 +0000
committermef <mef>2013-09-13 08:45:52 +0000
commitaec92783f540df14f30e3d9928e62963ec72cbcd (patch)
tree6635e9232fe354cc6c586e7ae527aeaa25c328b5 /ham/trustedQSL/patches
parent65fb8533f99f9c11e8f71eabdcd4f46cd56d57a0 (diff)
downloadpkgsrc-aec92783f540df14f30e3d9928e62963ec72cbcd.tar.gz
Import tqsl-2.0rc3 as ham/trustedQSL.
TrustedQSL is a LoTW (Logbook of The World) application to upload QSO's (contacts) information onto Logbook servers maintained by the ARRL (American Radio Relay League). Logbook of The World - LoTW - is an exciting way for Radio Amateurs to confirm two-way contacts they have made and use the confirmations as credit toward various awards. Because Logbook of The World uses double blind comparison, users cannot see what other users have uploaded unless there is a matched QSO.
Diffstat (limited to 'ham/trustedQSL/patches')
-rw-r--r--ham/trustedQSL/patches/patch-apps_CMakeLists.txt25
-rw-r--r--ham/trustedQSL/patches/patch-apps_tqsl_cpp18
-rw-r--r--ham/trustedQSL/patches/patch-src_tqslconvert_cpp15
3 files changed, 58 insertions, 0 deletions
diff --git a/ham/trustedQSL/patches/patch-apps_CMakeLists.txt b/ham/trustedQSL/patches/patch-apps_CMakeLists.txt
new file mode 100644
index 00000000000..abc39e25840
--- /dev/null
+++ b/ham/trustedQSL/patches/patch-apps_CMakeLists.txt
@@ -0,0 +1,25 @@
+$NetBSD: patch-apps_CMakeLists.txt,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+(1) Avoid ${WRKSRC} included in RPATH.
+(2) WARN: PLIST:105: Man pages should be installed into man/, not share/man/.
+
+--- apps/CMakeLists.txt.orig 2013-09-03 04:17:12.000000000 +0900
++++ apps/CMakeLists.txt 2013-09-09 11:05:07.000000000 +0900
+@@ -93,8 +93,8 @@ set(TQSL_RCFILE ${OSX_ICONFILE})
+ endif()
+
+ if(NOT WIN32) #rpath setup
+-SET(CMAKE_SKIP_BUILD_RPATH FALSE)
+-SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
++SET(CMAKE_SKIP_BUILD_RPATH TRUE)
++SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+ SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+ endif()
+@@ -121,5 +121,5 @@ if(NOT APPLE AND NOT WIN32)
+ add_definitions("-DCONFDIR=\"${CMAKE_INSTALL_PREFIX}/share/TrustedQSL/\"")
+ install(TARGETS tqsl DESTINATION bin)
+ install(DIRECTORY help DESTINATION share/TrustedQSL)
+-install(FILES tqsl.5 DESTINATION share/man/man5)
++install(FILES tqsl.5 DESTINATION man/man5)
+ endif()
diff --git a/ham/trustedQSL/patches/patch-apps_tqsl_cpp b/ham/trustedQSL/patches/patch-apps_tqsl_cpp
new file mode 100644
index 00000000000..ce6e4dd3da6
--- /dev/null
+++ b/ham/trustedQSL/patches/patch-apps_tqsl_cpp
@@ -0,0 +1,18 @@
+$NetBSD: patch-apps_tqsl_cpp,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+Avoid following error (interim, only valid with db5)
+/usr/pkgsrc/wip/trustedQSL/work/tqsl-2.0/apps/tqsl.cpp:1133:36: error: 'DB_VERSION_STRING' was not declared in this scope
+gmake[2]: *** [apps/CMakeFiles/tqsl.dir/tqsl.cpp.o] Error 1
+gmake[1]: *** [apps/CMakeFiles/tqsl.dir/all] Error 2
+
+--- apps/tqsl.cpp.orig 2013-08-18 22:07:48.000000000 +0900
++++ apps/tqsl.cpp 2013-09-01 00:39:30.000000000 +0900
+@@ -71,7 +71,7 @@
+ #endif
+ #include <zlib.h>
+ #include <openssl/opensslv.h> // only for version info!
+-#include <db.h> //only for version info!
++#include <db5/db.h> //only for version info!
+ #include "tqslwiz.h"
+ #include "qsodatadialog.h"
+ #include "tqslerrno.h"
diff --git a/ham/trustedQSL/patches/patch-src_tqslconvert_cpp b/ham/trustedQSL/patches/patch-src_tqslconvert_cpp
new file mode 100644
index 00000000000..a255cf79e69
--- /dev/null
+++ b/ham/trustedQSL/patches/patch-src_tqslconvert_cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_tqslconvert_cpp,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+Convert db.h name to pkgsrc current name
+
+--- src/tqslconvert.cpp.orig 2013-04-20 21:51:36.000000000 +0900
++++ src/tqslconvert.cpp 2013-04-25 10:54:50.000000000 +0900
+@@ -22,7 +22,7 @@
+ #include <vector>
+ #include <ctype.h>
+ #include <set>
+-#include <db.h>
++#include <db5/db.h>
+
+ #include <locale.h>
+ //#include <iostream>