summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Payno <vpayno+gentoo@gmail.com>2020-01-24 15:40:17 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-04-06 18:31:48 -0700
commit626634ad6c07f06f6b1abe3e37a6d09b468146c1 (patch)
tree9e309d2f830d459dc2dad621fc393a123ad3e118 /dev-lua/luasystem/files
parentdev-lua/luassert: version bump to 1.8.0 (diff)
downloadgentoo-626634ad6c07f06f6b1abe3e37a6d09b468146c1.tar.gz
gentoo-626634ad6c07f06f6b1abe3e37a6d09b468146c1.tar.bz2
gentoo-626634ad6c07f06f6b1abe3e37a6d09b468146c1.zip
dev-lua/luasystem: version bump to 0.2.1_p0
Signed-off-by: Victor Payno <vpayno+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14438 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lua/luasystem/files')
-rw-r--r--dev-lua/luasystem/files/luasystem-0.2.1_p0-fix-makefile.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-lua/luasystem/files/luasystem-0.2.1_p0-fix-makefile.patch b/dev-lua/luasystem/files/luasystem-0.2.1_p0-fix-makefile.patch
new file mode 100644
index 000000000000..373ef95c42fa
--- /dev/null
+++ b/dev-lua/luasystem/files/luasystem-0.2.1_p0-fix-makefile.patch
@@ -0,0 +1,33 @@
+diff --git a/src/Makefile b/src/Makefile
+index 10fc31a..af5e4e4 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -144,8 +144,8 @@ O_linux=o
+ CC_linux=gcc
+ DEF_linux=
+ CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
+- -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
+-LDFLAGS_linux=-lrt -O -shared -fpic -o
++ -Wimplicit -fpic -fvisibility=hidden
++LDFLAGS_linux=-lrt -shared -fpic -o
+ LD_linux=gcc
+
+ #------
+@@ -208,7 +208,7 @@ SOLIB=core.$(SO)
+ #
+ CC=$(CC_$(PLAT))
+ DEF=$(DEF_$(PLAT))
+-CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT))
++CFLAGS=$(CFLAGS_$(PLAT)) $(MYCFLAGS)
+ LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT))
+ LD=$(LD_$(PLAT))
+ LUAINC= $(LUAINC_$(PLAT))
+@@ -248,7 +248,7 @@ none:
+ all: $(SOLIB)
+
+ $(SOLIB): $(OBJS)
+- $(LD) $(OBJS) $(LDFLAGS)$@
++ $(LD) $(OBJS) $(LDFLAGS) $@
+
+ install: all
+ $(INSTALL_DIR) $(INSTALL_TOP_LDIR)