Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/qtoctave/files: qtoctave-0.8.2-rpath.patch
Date: Thu, 24 Jun 2010 13:50:05
Message-Id: 20100624135000.E625C2CF47@corvid.gentoo.org
1 jlec 10/06/24 13:50:00
2
3 Added: qtoctave-0.8.2-rpath.patch
4 Log:
5 Added fix for insecure runpaths, #291595, some QA
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-mathematics/qtoctave/files/qtoctave-0.8.2-rpath.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/qtoctave/files/qtoctave-0.8.2-rpath.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/qtoctave/files/qtoctave-0.8.2-rpath.patch?rev=1.1&content-type=text/plain
13
14 Index: qtoctave-0.8.2-rpath.patch
15 ===================================================================
16 diff --git a/qtoctave/src/CMakeLists.txt b/qtoctave/src/CMakeLists.txt
17 index 77f7438..6e32a70 100644
18 --- a/qtoctave/src/CMakeLists.txt
19 +++ b/qtoctave/src/CMakeLists.txt
20 @@ -28,12 +28,6 @@ add_executable(qtoctave
21 ${qtoctave_sources} ${qtoctave_moc_sources} ${qtoctave_ui_headers} ${qtoctave_moc_headers}
22 )
23
24 -SET_TARGET_PROPERTIES(qtoctave
25 - PROPERTIES INSTALL_RPATH ":usr/lib"
26 - BUILD_WITH_INSTALL_RPATH true
27 - INSTALL_RPATH_USE_LINK_PATH true
28 -)
29 -
30 TARGET_LINK_LIBRARIES(qtoctave ${Qt4_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY})
31
32 install (