Hi,

trojita violates W^X at runtime. USE_WXNEEDED=Yes does not work in this
case so I patched CMakeLists.txt.

I am also willing to become the new maintainer for trojita. Probably
I will be able to update to trojita 0.7 next week.

Thanks,
Caspar Schutijser


Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/trojita/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile    9 Aug 2016 01:34:05 -0000       1.14
+++ Makefile    18 Aug 2016 19:32:27 -0000
@@ -3,11 +3,13 @@
 COMMENT =              fast Qt IMAP e-mail client
 
 DISTNAME =             trojita-0.6
-REVISION =             0
+REVISION =             1
 
 CATEGORIES =           mail x11
 
 SHARED_LIBS =          trojita_plugins 1.0 # 1.0
+
+MAINTAINER =           Caspar Schutijser <[email protected]>
 
 HOMEPAGE =             http://trojita.flaska.net/
 MASTER_SITES =         ${MASTER_SITE_SOURCEFORGE:=trojita/}
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-CMakeLists_txt        18 Aug 2016 19:32:27 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- CMakeLists.txt.orig        Thu Aug 18 21:19:42 2016
++++ CMakeLists.txt     Thu Aug 18 21:31:44 2016
+@@ -1,6 +1,8 @@
+ project(trojita)
+ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+ 
++set(CMAKE_EXE_LINKER_FLAGS "-Wl,-z,wxneeded ${CMAKE_EXE_LINKER_FLAGS}")
++
+ if(WIN32)
+     # Due to QtMain linking
+     cmake_minimum_required(VERSION 2.8.11)

Reply via email to