1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/net-im/dino/files/patch-nwhitehorn-dino.diff
Ashish SHUKLA 63727112f3 Dino is a modern open-source chat client for the desktop. It focuses
on providing a clean and reliable Jabber/XMPP experience while having
your privacy in mind.

WWW: https://dino.im
2019-02-24 22:18:32 +00:00

51 lines
2.5 KiB
Diff

Source: http://people.freebsd.org/~nwhitehorn/dino.diff
https://github.com/dino/dino/issues/344
Index: plugins/gpgme-vala/CMakeLists.txt
===================================================================
--- plugins/gpgme-vala/CMakeLists.txt (revision 338)
+++ plugins/gpgme-vala/CMakeLists.txt (working copy)
@@ -47,6 +47,6 @@
add_definitions(${CFLAGS})
add_library(gpgme-vala ${GPGME_VALA_C} src/gpgme_fix.c)
add_dependencies(gpgme-vala gpgme-vapi)
-target_link_libraries(gpgme-vala ${GPGME_VALA_PACKAGES} gpgme)
+target_link_libraries(gpgme-vala ${GPGME_VALA_PACKAGES} ${GPGME_LIBRARY})
set_property(TARGET gpgme-vala PROPERTY POSITION_INDEPENDENT_CODE ON)
Index: plugins/omemo/CMakeLists.txt
===================================================================
--- plugins/omemo/CMakeLists.txt (revision 338)
+++ plugins/omemo/CMakeLists.txt (working copy)
@@ -58,7 +58,7 @@
add_definitions(${VALA_CFLAGS} -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" -DLOCALE_INSTALL_DIR=\"${LOCALE_INSTALL_DIR}\")
add_library(omemo SHARED ${OMEMO_VALA_C} ${OMEMO_GRESOURCES_TARGET})
add_dependencies(omemo ${GETTEXT_PACKAGE}-translations)
-target_link_libraries(omemo libdino signal-protocol-vala ${OMEMO_PACKAGES})
+target_link_libraries(omemo libdino signal-protocol-vala ${OMEMO_PACKAGES} ${GCrypt_LIBRARY})
set_target_properties(omemo PROPERTIES PREFIX "")
set_target_properties(omemo PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins/)
Index: plugins/signal-protocol/CMakeLists.txt
===================================================================
--- plugins/signal-protocol/CMakeLists.txt (revision 338)
+++ plugins/signal-protocol/CMakeLists.txt (working copy)
@@ -105,7 +105,7 @@
add_definitions(${CFLAGS})
add_library(signal-protocol-vala ${SIGNAL_PROTOCOL_VALA_C} ${CMAKE_CURRENT_SOURCE_DIR}/src/signal_helper.c)
add_dependencies(signal-protocol-vala signal-protocol-vapi)
-target_link_libraries(signal-protocol-vala ${SIGNAL_PROTOCOL_PACKAGES} gcrypt signal-protocol-c m)
+target_link_libraries(signal-protocol-vala ${SIGNAL_PROTOCOL_PACKAGES} ${GCrypt_LIBRARY} signal-protocol-c m)
set_property(TARGET signal-protocol-vala PROPERTY POSITION_INDEPENDENT_CODE ON)
if(BUILD_TESTS)
@@ -129,4 +129,4 @@
add_executable(signal-protocol-vala-test ${SIGNAL_TEST_VALA_C})
add_dependencies(signal-protocol-vala-test signal-protocol-vala)
target_link_libraries(signal-protocol-vala-test signal-protocol-vala ${SIGNAL_PROTOCOL_PACKAGES})
-endif(BUILD_TESTS)
\ No newline at end of file
+endif(BUILD_TESTS)