FreeBSD Bugzilla – Attachment 233916 Details for
Bug 263978
textproc/luaexpat: update to 1.4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update textproc/luaexpat to 1.4.1
0001-textproc-luaexpat-update-to-1.4.1.patch (text/plain), 4.02 KB, created by
Thomas Morper
on 2022-05-15 02:09:45 UTC
(
hide
)
Description:
update textproc/luaexpat to 1.4.1
Filename:
MIME Type:
Creator:
Thomas Morper
Created:
2022-05-15 02:09:45 UTC
Size:
4.02 KB
patch
obsolete
>From 475446dc342127482fc97f0a73730986e031462e Mon Sep 17 00:00:00 2001 >From: Thomas Morper <thomas@beingboiled.info> >Date: Sun, 15 May 2022 03:43:19 +0200 >Subject: [PATCH] textproc/luaexpat: update to 1.4.1 > >--- > textproc/luaexpat/Makefile | 13 +++++++------ > textproc/luaexpat/distinfo | 5 +++-- > textproc/luaexpat/files/patch-Makefile | 8 ++++++-- > textproc/luaexpat/pkg-descr | 2 +- > textproc/luaexpat/pkg-plist | 2 ++ > 5 files changed, 19 insertions(+), 11 deletions(-) > >diff --git a/textproc/luaexpat/Makefile b/textproc/luaexpat/Makefile >index 60d656237f77..00291f637f6c 100644 >--- a/textproc/luaexpat/Makefile >+++ b/textproc/luaexpat/Makefile >@@ -1,10 +1,8 @@ > # Created by: Andrew Lewis <freeghb@gmail.com> > > PORTNAME= luaexpat >-PORTVERSION= 1.3.0 >-PORTREVISION= 5 >+PORTVERSION= 1.4.1 > CATEGORIES= textproc >-MASTER_SITES= https://matthewwild.co.uk/projects/luaexpat/ > PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} > > MAINTAINER= sunpoet@FreeBSD.org >@@ -16,10 +14,13 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 > > USES= gmake lua:module > >-ALL_TARGET= lib >+USE_GITHUB= yes >+GH_ACCOUNT= lunarmodules >+ > CFLAGS+= -fPIC > LDFLAGS+= -L${LOCALBASE}/lib >-MAKE_ARGS= COMMON_CFLAGS="-Wall" >-MAKE_ENV= EXPAT_INC=-I${LOCALBASE}/include LUA_CDIR=${LUA_MODLIBDIR} LUA_INC=-I${LUA_INCDIR} LUA_LDIR=${LUA_MODSHAREDIR} >+MAKE_ARGS+= COMMON_CFLAGS="-Wall" >+MAKE_ENV= LUA_V=${LUA_VER} LUA_CDIR=${LUA_MODLIBDIR} LUA_LDIR=${LUA_MODSHAREDIR} LUA_INC="-I${LUA_INCDIR}" EXPAT_INC="-I${LOCALBASE}/include" >+ALL_TARGET= lib > > .include <bsd.port.mk> >diff --git a/textproc/luaexpat/distinfo b/textproc/luaexpat/distinfo >index 1ee03c75366b..db5175b84273 100644 >--- a/textproc/luaexpat/distinfo >+++ b/textproc/luaexpat/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (luaexpat-1.3.0.tar.gz) = d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3 >-SIZE (luaexpat-1.3.0.tar.gz) = 29567 >+TIMESTAMP = 1650062905 >+SHA256 (lunarmodules-luaexpat-1.4.1_GH0.tar.gz) = d528060d45865b44bef7215ef8a440165b668f363a4af53358389f0315a8593c >+SIZE (lunarmodules-luaexpat-1.4.1_GH0.tar.gz) = 52159 >diff --git a/textproc/luaexpat/files/patch-Makefile b/textproc/luaexpat/files/patch-Makefile >index c6f135d16d82..31c565b875cd 100644 >--- a/textproc/luaexpat/files/patch-Makefile >+++ b/textproc/luaexpat/files/patch-Makefile >@@ -1,15 +1,19 @@ >---- Makefile.orig 2014-04-02 23:30:37 UTC >+--- Makefile.orig 2022-04-01 08:20:20 UTC > +++ Makefile >-@@ -27,8 +27,10 @@ src/$(LIBNAME): >+@@ -27,10 +27,12 @@ src/$(LIBNAME): > $(CC) $(CF) -o $@ src/$(T)lib.c $(LF) > > install: > - $(INSTALL_PROGRAM) -D src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) > - $(INSTALL_PROGRAM) -D src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua >+- $(INSTALL_PROGRAM) -D src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua >+- $(INSTALL_PROGRAM) -D src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua > + mkdir -p $(DESTDIR)$(LUA_CDIR) > + mkdir -p $(DESTDIR)$(LUA_LDIR)/$T > + $(INSTALL_PROGRAM) src/$(LIBNAME) $(DESTDIR)$(LUA_CDIR)/$(LIBNAME) > + $(INSTALL_PROGRAM) src/$T/lom.lua $(DESTDIR)$(LUA_LDIR)/$T/lom.lua >++ $(INSTALL_PROGRAM) src/$T/totable.lua $(DESTDIR)$(LUA_LDIR)/$T/totable.lua >++ $(INSTALL_PROGRAM) src/$T/threat.lua $(DESTDIR)$(LUA_LDIR)/$T/threat.lua > > clean: > $(RM) src/$(LIBNAME) $(OBJS) >diff --git a/textproc/luaexpat/pkg-descr b/textproc/luaexpat/pkg-descr >index 322a7b4993a7..e8492c110466 100644 >--- a/textproc/luaexpat/pkg-descr >+++ b/textproc/luaexpat/pkg-descr >@@ -12,4 +12,4 @@ document chunk. LuaExpat reports parsing events (such as the start and end of > elements) directly to the application through callbacks. The parsing of huge > documents can benefit from this piecemeal operation. > >-WWW: https://www.keplerproject.org/luaexpat/ >+WWW: https://github.com/lunarmodules/luaexpat >diff --git a/textproc/luaexpat/pkg-plist b/textproc/luaexpat/pkg-plist >index 1957ead18ad6..0c507687f33a 100644 >--- a/textproc/luaexpat/pkg-plist >+++ b/textproc/luaexpat/pkg-plist >@@ -1,2 +1,4 @@ > %%LUA_MODLIBDIR%%/lxp.so > %%LUA_MODSHAREDIR%%/lxp/lom.lua >+%%LUA_MODSHAREDIR%%/lxp/threat.lua >+%%LUA_MODSHAREDIR%%/lxp/totable.lua >-- >2.36.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263978
: 233916