Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/gauche-gl/, dev-scheme/gauche-gl/files/
Date: Mon, 04 Oct 2021 13:38:06
Message-Id: 1633354662.3a1fe8b0461de3ee551f5fedaa68063fa1a78f52.hattya@gentoo
1 commit: 3a1fe8b0461de3ee551f5fedaa68063fa1a78f52
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 4 13:35:03 2021 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 13:37:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1fe8b0
7
8 dev-scheme/gauche-gl: respect CFLAGS
9
10 Closes: https://bugs.gentoo.org/738818
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
13
14 dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch | 11 +++++++++++
15 dev-scheme/gauche-gl/gauche-gl-0.6.ebuild | 1 +
16 2 files changed, 12 insertions(+)
17
18 diff --git a/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch b/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch
19 new file mode 100644
20 index 00000000000..c5c12f97f06
21 --- /dev/null
22 +++ b/dev-scheme/gauche-gl/files/gauche-gl-0.6-cflags.patch
23 @@ -0,0 +1,11 @@
24 +--- a/src/Makefile.in
25 ++++ b/src/Makefile.in
26 +@@ -17,7 +17,7 @@
27 + # These are set by configure
28 + # NB: cc and various flags must match the ones used to compile Gauche,
29 + # so the make invocator shouldn't casually override them.
30 +-CFLAGS = @DEFS@ @X_CFLAGS@ @GLUT_INCDIR@ @GLEW_INCDIR@
31 ++CFLAGS = @DEFS@ @CFLAGS@ @X_CFLAGS@ @GLUT_INCDIR@ @GLEW_INCDIR@
32 + LDFLAGS = @LDFLAGS@
33 + OBJEXT = @OBJEXT@
34 + SOEXT = @SOEXT@
35
36 diff --git a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
37 index 4e7df252b47..411db2ea004 100644
38 --- a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
39 +++ b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
40 @@ -27,6 +27,7 @@ S="${WORKDIR}/${MY_P}"
41
42 PATCHES=(
43 "${FILESDIR}"/${P}-simple.viewer.patch
44 + "${FILESDIR}"/${P}-cflags.patch
45 "${FILESDIR}"/${P}-cg.patch
46 )