diff options
-rw-r--r-- | dev-scheme/guile/files/guile-1.8.8-sandbox.patch | 15 | ||||
-rw-r--r-- | dev-scheme/guile/guile-1.8.8-r2.ebuild | 6 |
2 files changed, 19 insertions, 2 deletions
diff --git a/dev-scheme/guile/files/guile-1.8.8-sandbox.patch b/dev-scheme/guile/files/guile-1.8.8-sandbox.patch new file mode 100644 index 000000000000..70d752fdae97 --- /dev/null +++ b/dev-scheme/guile/files/guile-1.8.8-sandbox.patch @@ -0,0 +1,15 @@ +Prevent sandbox violation when installing + +https://bugs.gentoo.org/521546 + +--- a/guile-config/Makefile.am ++++ b/guile-config/Makefile.am +@@ -39,8 +39,3 @@ guile-config: guile-config.in ${top_builddir}/libguile/libpath.h + -e s:@-GUILE_VERSION-@:${GUILE_VERSION}: + chmod +x guile-config.tmp + mv guile-config.tmp guile-config +- +-## Get rid of any copies of the configuration script under the old +-## name, so people don't end up running ancient copies of it. +-install-exec-local: +- rm -f ${bindir}/build-guile diff --git a/dev-scheme/guile/guile-1.8.8-r2.ebuild b/dev-scheme/guile/guile-1.8.8-r2.ebuild index 2737d570aaf3..619d6784961f 100644 --- a/dev-scheme/guile/guile-1.8.8-r2.ebuild +++ b/dev-scheme/guile/guile-1.8.8-r2.ebuild @@ -34,7 +34,9 @@ src_prepare() { "${FILESDIR}/${P}-gcc46.patch" \ "${FILESDIR}/${P}-gcc5.patch" \ "${FILESDIR}/${P}-makeinfo-5.patch" \ - "${FILESDIR}/${P}-gtexinfo-5.patch" + "${FILESDIR}/${P}-gtexinfo-5.patch" \ + "${FILESDIR}/${P}-sandbox.patch" + sed \ -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" \ -e "/AM_PROG_CC_STDC/d" \ @@ -78,7 +80,7 @@ src_compile() { } src_install() { - einstall + emake DESTDIR="${D}" install dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README THANKS |