diff options
author | Matthew White <mehw.is.me@inventati.org> | 2024-10-13 09:59:53 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-14 02:02:38 +0100 |
commit | f043a66074d170b289ad0be21ce963236771e1cd (patch) | |
tree | ead11078d207a51fef953d953a2d9f17b7466ac4 /media-libs/libiptcdata | |
parent | dev-debug/gdb: Stabilize 15.2 x86, #941497 (diff) | |
download | gentoo-f043a66074d170b289ad0be21ce963236771e1cd.tar.gz gentoo-f043a66074d170b289ad0be21ce963236771e1cd.tar.bz2 gentoo-f043a66074d170b289ad0be21ce963236771e1cd.zip |
media-libs/libiptcdata: add 1.0.5-r2 to fix compiling on Gentoo
Fix missing headers and libraries.
Compiling from inside the 'python' sub-directory doesn't set ${S} as
the top source directory, missing required headers and libraries.
[sam: Drop revbump.]
Closes: https://bugs.gentoo.org/936589
Closes: https://bugs.gentoo.org/941462
Package-Manager: portage-3.0.65-r1
Signed-off-by: Matthew White <mehw.is.me@inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/38974
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libiptcdata')
-rw-r--r-- | media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild index 6f51a051ba3e..d043c92b131f 100644 --- a/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild +++ b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild @@ -41,6 +41,13 @@ src_prepare() { eautoreconf if use python; then cd python || die + # Bug #936589: compiling from inside the 'python' sub-directory + # might set that as the top source directory, and not ${S}, but + # "${S}/libiptcdata" is required to find headers and libraries. + # Symbolic linking "../libiptcdata" is a possible fix. Another + # way is adding in python/setup.py, under iptcdata's Extension, + # "include_dirs=['..']" and "library_dirs=['../libiptcdata']". + ln -s "../${PN}" . || die distutils-r1_src_prepare fi } |