diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-09-28 19:10:44 +0200 |
---|---|---|
committer | Amy Winston <amynka@gentoo.org> | 2016-09-29 19:14:29 +0200 |
commit | f2f05e4239ad1c565e9f82b88532a342f2071ef9 (patch) | |
tree | cf2edff4c53914bb187bac94fc35cfd47ec9cd3e /dev-scheme/guile-www | |
parent | dev-scheme/guile-gnome-platform: remove unused patches (diff) | |
download | gentoo-f2f05e4239ad1c565e9f82b88532a342f2071ef9.tar.gz gentoo-f2f05e4239ad1c565e9f82b88532a342f2071ef9.tar.bz2 gentoo-f2f05e4239ad1c565e9f82b88532a342f2071ef9.zip |
dev-scheme/guile-www: remove unused patches
Diffstat (limited to 'dev-scheme/guile-www')
-rw-r--r-- | dev-scheme/guile-www/files/guile-www-2.30-alive.test.patch | 74 | ||||
-rw-r--r-- | dev-scheme/guile-www/files/guile-www-2.30-alive.test2.patch | 51 |
2 files changed, 0 insertions, 125 deletions
diff --git a/dev-scheme/guile-www/files/guile-www-2.30-alive.test.patch b/dev-scheme/guile-www/files/guile-www-2.30-alive.test.patch deleted file mode 100644 index fdd3b601533b..000000000000 --- a/dev-scheme/guile-www/files/guile-www-2.30-alive.test.patch +++ /dev/null @@ -1,74 +0,0 @@ -From f41bf9380f7b08f5e8c07c9c58d66cd5da7bc356 Mon Sep 17 00:00:00 2001 -From: Thien-Thi Nguyen <ttn@gnuvola.org> -Date: Thu, 28 Apr 2011 05:13:52 +0000 -Subject: [v] Make alive.test avoid (mis-)loading the .scm files, if possible. - -Reported by Bernardo Ezequiel Contreras: -<https://savannah.nongnu.org/bugs/?33175> - -* source/alive.test: If guile has ‘%load-extensions’, create a -preload file that removes ".scm" from it; use that file for -all invocations; and delete it when done. If in debug mode, -display ponderings, as well as ‘guile --version’ output. ---- -diff --git a/source/ChangeLog b/source/ChangeLog -index 2b5bd1b..2de79f4 100644 ---- a/source/ChangeLog -+++ b/source/ChangeLog -@@ -1,3 +1,15 @@ -+2011-04-28 Thien-Thi Nguyen <ttn@gnuvola.org> -+ -+ [v] Make alive.test avoid (mis-)loading the .scm files, if possible. -+ -+ Reported by Bernardo Ezequiel Contreras: -+ <https://savannah.nongnu.org/bugs/?33175> -+ -+ * alive.test: If guile has ‘%load-extensions’, create a -+ preload file that removes ".scm" from it; use that file for -+ all invocations; and delete it when done. If in debug mode, -+ display ponderings, as well as ‘guile --version’ output. -+ - 2011-01-24 Thien-Thi Nguyen <ttn@gnuvola.org> - - Release: 2.29 -diff --git a/source/alive.test b/source/alive.test -index 3521fcc..76e91c8 100755 ---- a/source/alive.test -+++ b/source/alive.test -@@ -35,6 +35,25 @@ decho () - if $debug ; then echo "$1" ; fi - } - -+decho 'guile:' -+if $debug ; then ${GUILE-guile} --version ; fi -+ -+if $guile -c '%load-extensions' >/dev/null 2>&1 ; then -+ preload=alive.preload -+ echo '(set! %load-extensions (delete ".scm" %load-extensions))' > $preload -+ if $debug ; then -+ decho 'preload:' -+ cat $preload -+ decho 'before:' -+ $guile -c '(begin (write %load-extensions) (newline))' -+ fi -+ guile="$guile -l $preload" -+ if $debug ; then -+ decho 'after:' -+ $guile -c '(begin (write %load-extensions) (newline))' -+ fi -+fi -+ - decho 'indivdually:' - { while read m ; - do -@@ -48,4 +67,8 @@ all="`cat $all`" - decho "$guile -c '(use-modules $all)'" - $guile -c "(use-modules $all)" - -+if [ "$preload" ] ; then rm $preload ; fi -+ -+exit 0 -+ - # alive.test ends here --- -cgit v0.9.0.2 diff --git a/dev-scheme/guile-www/files/guile-www-2.30-alive.test2.patch b/dev-scheme/guile-www/files/guile-www-2.30-alive.test2.patch deleted file mode 100644 index 9cf7efe984ab..000000000000 --- a/dev-scheme/guile-www/files/guile-www-2.30-alive.test2.patch +++ /dev/null @@ -1,51 +0,0 @@ -From cfabb94ca727d63f5712860c3fe4132926e498c9 Mon Sep 17 00:00:00 2001 -From: Thien-Thi Nguyen <ttn@gnuvola.org> -Date: Mon, 02 May 2011 08:32:02 +0000 -Subject: [v] Refine preload: Prioritize "" instead of deleting ".scm". - -The 2011-04-28 change goes too far; it impedes -loading system modules used by Guile-WWW modules. -Reported by (Savannah user) vonbecmann: -<https://savannah.nongnu.org/bugs/?33175>. - -* source/alive.test: Don't delete ".scm" from ‘%load-extensions’; -instead, ensure only that "" is at the beginning of the list. ---- -diff --git a/source/ChangeLog b/source/ChangeLog -index 2de79f4..ece831e 100644 ---- a/source/ChangeLog -+++ b/source/ChangeLog -@@ -1,3 +1,15 @@ -+2011-05-02 Thien-Thi Nguyen <ttn@gnuvola.org> -+ -+ [v] Refine preload: Prioritize "" instead of deleting ".scm". -+ -+ The 2011-04-28 change goes too far; it impedes -+ loading system modules used by Guile-WWW modules. -+ Reported by (Savannah user) vonbecmann: -+ <https://savannah.nongnu.org/bugs/?33175>. -+ -+ * alive.test: Don't delete ".scm" from ‘%load-extensions’; -+ instead, ensure only that "" is at the beginning of the list. -+ - 2011-04-28 Thien-Thi Nguyen <ttn@gnuvola.org> - - [v] Make alive.test avoid (mis-)loading the .scm files, if possible. -diff --git a/source/alive.test b/source/alive.test -index 76e91c8..6e430f4 100755 ---- a/source/alive.test -+++ b/source/alive.test -@@ -39,8 +39,10 @@ decho 'guile:' - if $debug ; then ${GUILE-guile} --version ; fi - - if $guile -c '%load-extensions' >/dev/null 2>&1 ; then -+ # Make sure "" is at head of list. - preload=alive.preload -- echo '(set! %load-extensions (delete ".scm" %load-extensions))' > $preload -+ echo '(set! %load-extensions (delete "" %load-extensions))' > $preload -+ echo '(set! %load-extensions (cons "" %load-extensions))' >> $preload - if $debug ; then - decho 'preload:' - cat $preload --- -cgit v0.9.0.2 |