pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Disable relro for libvips



Module Name:	pkgsrc-wip
Committed By:	xorrvin <xorrvin%pm.me@localhost>
Pushed By:	xorrvin
Date:		Wed Jun 12 03:15:31 2024 +0200
Changeset:	a812fab9fc6c68fadc499e6ab8d85f2ca047d973

Modified Files:
	libvips/Makefile

Log Message:
Disable relro for libvips

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a812fab9fc6c68fadc499e6ab8d85f2ca047d973

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libvips/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/libvips/Makefile b/libvips/Makefile
index 5d2763698e..7cc945f989 100644
--- a/libvips/Makefile
+++ b/libvips/Makefile
@@ -21,6 +21,11 @@ PKGCONFIG_OVERRIDE_STAGE=   pre-install
 PKGCONFIG_OVERRIDE+=        output/meson-private/vips-cpp.pc
 PKGCONFIG_OVERRIDE+=        output/meson-private/vips.pc
 
+# disable relro otherwise it'll crash on NetBSD:
+# https://github.com/libvips/libvips/issues/3977 and
+# https://mail-index.netbsd.org/netbsd-bugs/2023/12/26/msg080904.html
+RELRO_SUPPORTED=no
+
 .include "../../devel/meson/build.mk"
 .include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../lang/python/tool.mk"


Home | Main Index | Thread Index | Old Index