From: "Amy Winston" <amynka@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile/, dev-scheme/guile/files/
Date: Sun, 7 Aug 2016 19:10:47 +0000 (UTC) [thread overview]
Message-ID: <1470596590.ad481adb43d97f0e37294a9706184fe94550824f.amynka@gentoo> (raw)
commit: ad481adb43d97f0e37294a9706184fe94550824f
Author: Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 7 19:01:05 2016 +0000
Commit: Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Sun Aug 7 19:03:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad481adb
dev-scheme/guile: fixes for bug #590528,#590660
- Added patch for built_includes by upstream Andy Wingo
- Symlink path changed
Package-Manager: portage-2.2.28
.../guile/files/guile-2.0.12-build-includes.patch | 41 ++++++++++++++++++++++
dev-scheme/guile/guile-2.0.12.ebuild | 3 +-
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/dev-scheme/guile/files/guile-2.0.12-build-includes.patch b/dev-scheme/guile/files/guile-2.0.12-build-includes.patch
new file mode 100644
index 0000000..60b44bc
--- /dev/null
+++ b/dev-scheme/guile/files/guile-2.0.12-build-includes.patch
@@ -0,0 +1,41 @@
+From edd6d6e2805894e21afe51276d1af65d5395180d Mon Sep 17 00:00:00 2001
+From: Andy Wingo <wingo@pobox.com>
+Date: Sun, 07 Aug 2016 10:23:50 +0000
+Subject: Snarfing .x depends on built headers
+
+* libguile/Makefile.am (BUILT_INCLUDES): New variable.
+ (BUILT_SOURCES): Put .i and other generated .h to BUILT_INCLUDES.
+ (.c.x, .c.doc): Depend on BUILT_INCLUDES. Fixes
+ https://bugs.gentoo.org/show_bug.cgi?id=590528.
+---
+diff --git a/libguile/Makefile.am b/libguile/Makefile.am
+index cd85604..4c54744 100644
+--- a/libguile/Makefile.am
++++ b/libguile/Makefile.am
+@@ -430,9 +430,9 @@ DOT_I_FILES = vm-i-system.i vm-i-scheme.i vm-i-loader.i
+ .c.i:
+ $(AM_V_GEN)$(GREP) '^VM_DEFINE' $< > $@
+
+-BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h \
+- scmconfig.h \
+- $(DOT_I_FILES) $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
++BUILT_INCLUDES = $(DOT_I_FILES) scmconfig.h
++BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h $(BUILT_INCLUDES) \
++ $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
+
+ # Force the generation of `guile-procedures.texi' because the top-level
+ # Makefile expects it to be built.
+@@ -730,9 +730,9 @@ snarfcppopts = $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)
+
+ SUFFIXES = .x .doc
+
+-.c.x:
++.c.x: $(BUILT_INCLUDES)
+ $(AM_V_SNARF)$(GUILE_SNARF) -o $@ $< $(snarfcppopts)
+-.c.doc:
++.c.doc: $(BUILT_INCLUDES)
+ $(AM_V_SNARF)./guile-snarf-docs -o $@ $< -- $(snarfcppopts)
+
+ $(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in version.h
+--
+cgit v0.9.0.2
diff --git a/dev-scheme/guile/guile-2.0.12.ebuild b/dev-scheme/guile/guile-2.0.12.ebuild
index f20a701..976c483 100644
--- a/dev-scheme/guile/guile-2.0.12.ebuild
+++ b/dev-scheme/guile/guile-2.0.12.ebuild
@@ -30,6 +30,7 @@ DEPEND="${RDEPEND}
SLOT="12"
MAJOR="2.0"
+PATCHES=( "${FILESDIR}/${P}-build-includes.patch" ) #bug 590528 patched by upstream
DOCS=( GUILE-VERSION HACKING README )
src_configure() {
@@ -67,7 +68,7 @@ src_install() {
keepdir /usr/share/guile/site
# Dark magic necessary for some deps
- dosym /usr/$(get_libdir)/libguile-2.0.so /usr/$(get_libdir)/libguile.so
+ dosym libguile-2.0.so /usr/$(get_libdir)/libguile.so
}
pkg_postinst() {
next reply other threads:[~2016-08-07 19:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-07 19:10 Amy Winston [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-26 2:56 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile/, dev-scheme/guile/files/ Sam James
2024-06-08 8:55 Sam James
2023-07-03 17:51 Ulrich Müller
2023-01-04 4:32 Sam James
2022-03-15 19:25 Maciej Barć
2021-01-01 5:52 Sam James
2017-12-04 12:44 Amy Liffey
2017-11-27 12:47 Amy Liffey
2017-06-21 12:33 Fabian Groffen
2017-04-22 14:40 Amy Liffey
2016-09-21 18:11 Amy Winston
2016-08-12 19:11 Amy Winston
2016-06-27 16:09 Austin English
2015-10-12 23:24 Ryan Hill
2015-10-12 23:24 Ryan Hill
2015-10-12 23:24 Ryan Hill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470596590.ad481adb43d97f0e37294a9706184fe94550824f.amynka@gentoo \
--to=amynka@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox