summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-07-02 01:04:47 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-08-24 17:38:45 +0300
commit5cfbd515dd9e198daa14d656d2231a6afe0a2d93 (patch)
tree9da11e2e89d08a1f681c732d9034d8e46a32dc3f /dev-lua/luaexpat/files
parentsys-auth/yubico-piv-tool: Bump to version 2.1.1 (diff)
downloadgentoo-5cfbd515dd9e198daa14d656d2231a6afe0a2d93.tar.gz
gentoo-5cfbd515dd9e198daa14d656d2231a6afe0a2d93.tar.bz2
gentoo-5cfbd515dd9e198daa14d656d2231a6afe0a2d93.zip
dev-lua/luaexpat: update to 1.3.3, fixes to ebuild
New maintainer. dev-lua/luaexpat already migrated from deprecated lua 5.0 functions, dev-lang/lua:0[deprecated] has no use. Closes: https://bugs.gentoo.org/730342 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lua/luaexpat/files')
-rw-r--r--dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch b/dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch
new file mode 100644
index 000000000000..95de7be60690
--- /dev/null
+++ b/dev-lua/luaexpat/files/luaexpat-1.3.3_makefile.patch
@@ -0,0 +1,13 @@
+diff --git a/makefile b/makefile
+index 1a5a145..df09239 100644
+--- a/makefile
++++ b/makefile
+@@ -45,7 +45,7 @@ OBJS= src/lxplib.o
+ lib: src/$(LIBNAME)
+
+ src/$(LIBNAME) : $(OBJS)
+- $(CC) $(CFLAGS) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
++ $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -std=gnu99 -ansi -I$(LUA_INC) -I$(EXPAT_INC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
+
+ install:
+ mkdir -p $(LUA_LIBDIR)