Fix transmission-qt to avoid link with both libevent 1.x and 2.x libraries
or it will crashes. Remove a hardcore '-levent' (should be -levent-2.0) in the qtr.pro and let pkg-config takes care of it. Bump the PORTREVISION. PR: ports/155600 Reported by: Alexandr <prayer@list.ru>
This commit is contained in:
parent
5cf4d285db
commit
7e4ddfd44f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271166
2 changed files with 12 additions and 1 deletions
11
net-p2p/transmission-cli/files/patch-qt_qtr.pro
Normal file
11
net-p2p/transmission-cli/files/patch-qt_qtr.pro
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- qt/qtr.pro.orig 2011-03-17 15:03:37.000000000 -0500
|
||||
+++ qt/qtr.pro 2011-03-17 15:04:01.000000000 -0500
|
||||
@@ -21,7 +21,7 @@
|
||||
LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
|
||||
LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
|
||||
LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
|
||||
-unix: LIBS += -L$${EVENT_TOP}/lib -levent -lz
|
||||
+unix: LIBS += -L$${EVENT_TOP}/lib -lz
|
||||
win32:DEFINES += QT_DBUS
|
||||
win32:LIBS += -levent -lws2_32 -lintl
|
||||
win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
|
|
@ -5,7 +5,7 @@
|
|||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PKGNAMESUFFIX= -qt4
|
||||
|
||||
MAINTAINER= mezz@FreeBSD.org
|
||||
|
|
Loading…
Reference in a new issue