public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-gap/edim/, dev-gap/edim/files/
@ 2024-01-23  1:31 Michael Orlitzky
  0 siblings, 0 replies; only message in thread
From: Michael Orlitzky @ 2024-01-23  1:31 UTC (permalink / raw
  To: gentoo-commits

commit:     68585b45441f0dab9c77d0210e5baf523de74436
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 01:22:54 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 01:29:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68585b45

dev-gap/edim: patch to support user *FLAGS

Upstream suggested we fix this in EDIM, so:

  https://github.com/frankluebeck/EDIM/pull/23

Closes: https://bugs.gentoo.org/922705
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../{edim-1.3.7.ebuild => edim-1.3.7-r1.ebuild}    |  4 +++
 dev-gap/edim/files/edim-1.3.7-user-flags.patch     | 29 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-gap/edim/edim-1.3.7.ebuild b/dev-gap/edim/edim-1.3.7-r1.ebuild
similarity index 87%
rename from dev-gap/edim/edim-1.3.7.ebuild
rename to dev-gap/edim/edim-1.3.7-r1.ebuild
index 292e252f717b..e3376c37f636 100644
--- a/dev-gap/edim/edim-1.3.7.ebuild
+++ b/dev-gap/edim/edim-1.3.7-r1.ebuild
@@ -15,4 +15,8 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64"
 
+PATCHES=(
+	"${FILESDIR}/${PN}-1.3.7-user-flags.patch"
+)
+
 gap-pkg_enable_tests

diff --git a/dev-gap/edim/files/edim-1.3.7-user-flags.patch b/dev-gap/edim/files/edim-1.3.7-user-flags.patch
new file mode 100644
index 000000000000..b26b5c289c74
--- /dev/null
+++ b/dev-gap/edim/files/edim-1.3.7-user-flags.patch
@@ -0,0 +1,29 @@
+From 305d6d280b2ed859ffbcf6d1de27b6e1826a4956 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 22 Jan 2024 20:03:53 -0500
+Subject: [PATCH] Makefile.in: pass user CPPFLAGS, CFLAGS, and LDFLAGS to gac
+
+As in the upstream Makefile.gappkg, and consistent with the idea that
+gac should be treated like a compiler, we now pass CPPFLAGS, CFLAGS,
+and LDFLAGS to gac explicitly, to later be passed on to the C compiler
+and linker.
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index a6936e7..30971c3 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -8,7 +8,7 @@ include $(GAPPATH)/sysinfo.gap
+ 
+ bin/$(GAParch)/ediv.so: src/ediv.c Makefile
+ 	@mkdir -p bin/$(GAParch)
+-	$(GAC) -d -o bin/$(GAParch)/ediv.so src/ediv.c
++	$(GAC) -d -p "$(CPPFLAGS)" -p "$(CFLAGS)" -P "$(LDFLAGS)" -o bin/$(GAParch)/ediv.so src/ediv.c
+ 
+ doc:
+ 	$(GAP)  makedocrel.g
+-- 
+2.43.0
+


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-23  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23  1:31 [gentoo-commits] repo/gentoo:master commit in: dev-gap/edim/, dev-gap/edim/files/ Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox