diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-07 09:51:06 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-07 09:51:06 +0000 |
commit | aca4d252e69aff3475e9d0bf379d0892eedb39de (patch) | |
tree | 1082f34025b49f12d703d45a10896d151c98324d /kde-base | |
parent | Stable for HPPA (bug #268864). (diff) | |
download | gentoo-2-aca4d252e69aff3475e9d0bf379d0892eedb39de.tar.gz gentoo-2-aca4d252e69aff3475e9d0bf379d0892eedb39de.tar.bz2 gentoo-2-aca4d252e69aff3475e9d0bf379d0892eedb39de.zip |
Fix the sandbox issue in printer-applet. Thanks to ABCD for this one.
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kdelibs/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kdelibs/files/sanbox-error.patch | 12 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-4.2.3.ebuild | 3 |
3 files changed, 19 insertions, 2 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog index 9dc3d1427c47..59db980272f4 100644 --- a/kde-base/kdelibs/ChangeLog +++ b/kde-base/kdelibs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kdelibs # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.586 2009/05/06 23:10:58 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.587 2009/05/07 09:51:06 scarabeus Exp $ + + 07 May 2009; Tomas Chvatal <scarabeus@gentoo.org> kdelibs-4.2.3.ebuild, + +files/sanbox-error.patch: + Fix the sandbox issue in printer-applet. Thanks to ABCD for this one. *kdelibs-4.2.3 (06 May 2009) diff --git a/kde-base/kdelibs/files/sanbox-error.patch b/kde-base/kdelibs/files/sanbox-error.patch new file mode 100644 index 000000000000..4a3f6858e43f --- /dev/null +++ b/kde-base/kdelibs/files/sanbox-error.patch @@ -0,0 +1,12 @@ +Index: kdelibs/cmake/modules/create_exe_symlink.cmake +=================================================================== +--- kdelibs/cmake/modules/create_exe_symlink.cmake (revision 964573) ++++ kdelibs/cmake/modules/create_exe_symlink.cmake (working copy) +@@ -11,6 +11,6 @@ + GET_FILENAME_COMPONENT(abs_target ${TARGET} ABSOLUTE) + IF(UNIX) + EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ${abs_target} ${abs_link_name}) +- EXECUTE_PROCESS(COMMAND chmod a+x ${abs_target}) ++ EXECUTE_PROCESS(COMMAND chmod a+x $ENV{DESTDIR}/${abs_target}) + ENDIF(UNIX) + # FIXME: WIN32 support
\ No newline at end of file diff --git a/kde-base/kdelibs/kdelibs-4.2.3.ebuild b/kde-base/kdelibs/kdelibs-4.2.3.ebuild index 7c06c98bdeb1..d3cb0e985969 100644 --- a/kde-base/kdelibs/kdelibs-4.2.3.ebuild +++ b/kde-base/kdelibs/kdelibs-4.2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.2.3.ebuild,v 1.1 2009/05/06 23:10:58 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.2.3.ebuild,v 1.2 2009/05/07 09:51:06 scarabeus Exp $ EAPI="2" @@ -117,6 +117,7 @@ PATCHES=( "${FILESDIR}/dist/20_use_dejavu_as_default_font.patch" "${FILESDIR}/dist/23_solid_no_double_build.patch" "${FILESDIR}/${PN}-${SLOT}-fixx11h.h.patch" + "${FILESDIR}/sanbox-error.patch" ) src_prepare() { |