summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-07-08 17:16:38 -0500
committerWilliam Hubbs <williamh@gentoo.org>2016-07-12 13:49:17 -0500
commit98ff4ba917deae6d6eb06aacd92c2ddb9db6d032 (patch)
tree4fcfb7e668be8f6736ba76002c10e703af19ccdd /dev-lua/luasystem/files
parentdev-lua/lua_cliargs: 3.0_p1 version bump (diff)
downloadgentoo-98ff4ba917deae6d6eb06aacd92c2ddb9db6d032.tar.gz
gentoo-98ff4ba917deae6d6eb06aacd92c2ddb9db6d032.tar.bz2
gentoo-98ff4ba917deae6d6eb06aacd92c2ddb9db6d032.zip
dev-lua/luasystem: new package
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-lua/luasystem/files')
-rw-r--r--dev-lua/luasystem/files/luasystem-0.2.0_p0-fix-makefile.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-lua/luasystem/files/luasystem-0.2.0_p0-fix-makefile.patch b/dev-lua/luasystem/files/luasystem-0.2.0_p0-fix-makefile.patch
new file mode 100644
index 000000000000..803d2835c37f
--- /dev/null
+++ b/dev-lua/luasystem/files/luasystem-0.2.0_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)