summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 19:23:39 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 19:28:14 +0100
commit2de042ee3e29232b6a4af4fb132fc1fb450d2d53 (patch)
tree37178ff17a689ea528ef64971447f38e4f72ce89 /xfce-base/xfce4-session
parentdev-python/zope-i18nmessageid: Switch to pypi sdist (diff)
downloadgentoo-2de042ee3e29232b6a4af4fb132fc1fb450d2d53.tar.gz
gentoo-2de042ee3e29232b6a4af4fb132fc1fb450d2d53.tar.bz2
gentoo-2de042ee3e29232b6a4af4fb132fc1fb450d2d53.zip
xfce-base/xfce4-session: Backport memory management fixes
Closes: https://bugs.gentoo.org/901779 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-base/xfce4-session')
-rw-r--r--xfce-base/xfce4-session/Manifest2
-rw-r--r--xfce-base/xfce4-session/xfce4-session-4.18.1-r1.ebuild (renamed from xfce-base/xfce4-session/xfce4-session-4.18.1.ebuild)13
2 files changed, 14 insertions, 1 deletions
diff --git a/xfce-base/xfce4-session/Manifest b/xfce-base/xfce4-session/Manifest
index ff7fea36668d..4157696b41d9 100644
--- a/xfce-base/xfce4-session/Manifest
+++ b/xfce-base/xfce4-session/Manifest
@@ -1,2 +1,4 @@
DIST xfce4-session-4.18.0.tar.bz2 853627 BLAKE2B e2a4d2dfcdab677b738d2fc3857bb7db07a0918af5bd4977e0f04210d52d4fc94551187b0ff2e3b5289823aeba0e12dc00344043da0fed2b3b2207afda423731 SHA512 00fcae02004675a26e6d73998403cf0e3a36dfd3596315ee98567d302a10c344cc1b64dac782e02416f11f6db3c730792e8de7d2d0ea1a6e0f2b2b7dbee74f4c
+DIST xfce4-session-4.18.1-mem1.patch 6533 BLAKE2B 2ba8b073e4ac8d38b452f65c6b7b481bf40313a9e6590f6c78ee663d176d7ebb627ce3b26a856a69b0a32e608cd2b31bb97c2f98a816cfa4b8fe0dbcd8298bce SHA512 17cdab96b509e6a7ecac16b9a7c4924b2fa8795e9e0db9cf619d264e15c66686be0456fdb6afd02bbdffb79ee47de74ee05a3ea37e63859c5e933addefe24ee6
+DIST xfce4-session-4.18.1-mem2.patch 2363 BLAKE2B 509f69e9f440aec41c4ef9366af5152469862b0e6ff3e20588f0ffec9a360bf22ff16cfb202ccbb9cff62db1a0c568a35e0e8cdaae7913d2af12b3a243818bb1 SHA512 0b8f693ceebd0c6f292ee244fc97e8e2a1a7c1008b651ac078336a2356d4c604546bb9a1220981fd00076aabbf16e9aeb73789d0b6f1306d2f104c421f99b82b
DIST xfce4-session-4.18.1.tar.bz2 872771 BLAKE2B e9c0b972e1dc2b324d15c17dd317f151d7d4d169533752222f8347be36c1d070f888993be8ef8f590fda5632f66c5a6c973ed91dd95afe06418656c8ec129d54 SHA512 6e6a55138380b6e7ce98508f4d3a52a596882b2f244a1ebd0d1a4b7dd1814c93e6e27453b500cb9178889790f067e28c7c4479b39963511d8e579831a44ef973
diff --git a/xfce-base/xfce4-session/xfce4-session-4.18.1.ebuild b/xfce-base/xfce4-session/xfce4-session-4.18.1-r1.ebuild
index afe462eab0fc..d45d7297b5c0 100644
--- a/xfce-base/xfce4-session/xfce4-session-4.18.1.ebuild
+++ b/xfce-base/xfce4-session/xfce4-session-4.18.1-r1.ebuild
@@ -10,7 +10,13 @@ HOMEPAGE="
https://docs.xfce.org/xfce/xfce4-session/start
https://gitlab.xfce.org/xfce/xfce4-session
"
-SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+SRC_URI="
+ https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2
+ https://gitlab.xfce.org/xfce/xfce4-session/-/commit/911f5b8101dec6a6d28f7601768588a2f0fd4aaf.patch
+ -> ${P}-mem1.patch
+ https://gitlab.xfce.org/xfce/xfce4-session/-/commit/cff23d0fadd502f7db9230f9ebbc02c00853f825.patch
+ -> ${P}-mem2.patch
+"
LICENSE="GPL-2+"
SLOT="0"
@@ -47,6 +53,11 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${DISTDIR}/${P}-mem1.patch"
+ "${DISTDIR}/${P}-mem2.patch"
+)
+
src_configure() {
local myconf=(
$(use_enable policykit polkit)