summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-07-29 03:40:20 +0200
committerUlrich Müller <ulm@gentoo.org>2021-08-13 08:01:48 +0200
commit8a1f855b5c9aac03194c859f57900a212373d520 (patch)
tree76b58cbeb1cc915abd9e972d758577365701e2f4 /dev-scheme/racket/files
parentdev-python/podcastparser: bump to 0.6.7 (diff)
downloadgentoo-8a1f855b5c9aac03194c859f57900a212373d520.tar.gz
gentoo-8a1f855b5c9aac03194c859f57900a212373d520.tar.bz2
gentoo-8a1f855b5c9aac03194c859f57900a212373d520.zip
dev-scheme/racket: add 8.1 and 8.2
Closes: https://github.com/gentoo/gentoo/pull/20668 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-scheme/racket/files')
-rw-r--r--dev-scheme/racket/files/Makefile-nostrip.patch13
-rw-r--r--dev-scheme/racket/files/Makefile-starter.patch32
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-scheme/racket/files/Makefile-nostrip.patch b/dev-scheme/racket/files/Makefile-nostrip.patch
new file mode 100644
index 000000000000..be958546cb89
--- /dev/null
+++ b/dev-scheme/racket/files/Makefile-nostrip.patch
@@ -0,0 +1,13 @@
+diff --git a/racket/src/bc/Makefile.in b/racket/src/bc/Makefile.in
+index 3393e0c55e..6f0014881a 100644
+--- a/bc/Makefile.in
++++ b/bc/Makefile.in
+@@ -524,7 +524,7 @@ unix-install-3m:
+ $(RESTORE_SIGNATURE) "$(DESTDIR)$(bindir)/racket@MMM_INSTALLED@"
+
+ unix-install-libs-3m:
+- cd ..; $(ICP_LIB) bc/libracket3m.@LIBSFX@ "$(DESTDIR)$(libdir)/libracket3m.@LIBSFX@"
++ cd ..; libtool --mode=install install bc/libracket3m.@LIBSFX@ "$(DESTDIR)$(libdir)/libracket3m.@LIBSFX@"
+ cd ..; $(ICP_STATIC_LIB) bc/rktio/librktio.@LIBSFX@ "$(DESTDIR)$(libdir)/librktio.@LIBSFX@"
+ cd ..; $(STRIP_LIB_DEBUG) "$(DESTDIR)$(libdir)/libracket3m.@LIBSFX@"
+
diff --git a/dev-scheme/racket/files/Makefile-starter.patch b/dev-scheme/racket/files/Makefile-starter.patch
new file mode 100644
index 000000000000..1a6d527dd085
--- /dev/null
+++ b/dev-scheme/racket/files/Makefile-starter.patch
@@ -0,0 +1,32 @@
+index 771f13149e..f219acf1a7 100644
+--- a/bc/dynsrc/Makefile.in
++++ b/bc/dynsrc/Makefile.in
+@@ -22,6 +22,7 @@ PLAIN_CC = @PLAIN_CC@
+ CFLAGS = @CFLAGS@ @COMPFLAGS@
+ CPPFLAGS = @PREFLAGS@
+ ALL_CFLAGS = $(CFLAGS) $(CPPFLAGS) -I$(builddir)/.. -I$(srcdir)/../include -I$(srcdir)/../src -I$(srcdir)/../../version -I$(srcdir)/../../start @MZOPTIONS@
++LDFLAGS = @LDFLAGS@
+
+ dynlib@NOT_MINGW@:
+ $(MAKE) ../mzdyn.o
+@@ -61,7 +62,7 @@ dynexmpl.o: $(srcdir)/dynexmpl.c $(HEADERS)
+ $(PLAIN_CC) $(ALL_CFLAGS) -c $(srcdir)/dynexmpl.c -o dynexmpl.o
+
+ ../starter@NOT_MINGW@@EXE_SUFFIX@: $(srcdir)/../../start/ustart.c $(srcdir)/../../start/self_exe.inc
+- $(PLAIN_CC) $(ALL_CFLAGS) -o ../starter@EXE_SUFFIX@ $(srcdir)/../../start/ustart.c
++ $(PLAIN_CC) $(ALL_CFLAGS) $(LDFLAGS) -o ../starter@EXE_SUFFIX@ $(srcdir)/../../start/ustart.c
+
+ PARSE_CMDL = $(srcdir)/../../start/parse_cmdl.inc
+
+index 1413d1802e..f1135a6681 100644
+--- a/cs/c/Makefile.in
++++ b/cs/c/Makefile.in
+@@ -441,7 +441,7 @@ boot.o: $(srcdir)/boot.c $(srcdir)/../../rktio/rktio.inc $(srcdir)/boot.h
+ $(CC) $(CFLAGS) -c -o boot.o $(srcdir)/boot.c
+
+ starter@NOT_MINGW@: $(srcdir)/../../start/ustart.c $(srcdir)/../../start/self_exe.inc
+- $(CC) $(CFLAGS) -o starter $(srcdir)/../../start/ustart.c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o starter $(srcdir)/../../start/ustart.c
+
+
+ repack-install-libs: