diff --git a/ports/libexpat/libexpat.patch b/ports/libexpat/libexpat.patch deleted file mode 100644 index 52e2948e..00000000 --- a/ports/libexpat/libexpat.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -Paur --no-dereference -- libexpat.upstream/conftools/config.sub libexpat/conftools/config.sub ---- libexpat.upstream/conftools/config.sub -+++ libexpat/conftools/config.sub -@@ -1326,7 +1326,7 @@ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ -- | -aos* | -aros* \ -+ | -aos* | -aros* | -sortix* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ -diff -Paur --no-dereference -- libexpat.upstream/Makefile.in libexpat/Makefile.in ---- libexpat.upstream/Makefile.in -+++ libexpat/Makefile.in -@@ -45,7 +45,7 @@ - APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h - LIBRARY = libexpat.la - --DESTDIR = $(INSTALL_ROOT) -+DESTDIR ?= $(INSTALL_ROOT) - - default: buildlib xmlwf/xmlwf@EXEEXT@ - -diff -Paur --no-dereference -- libexpat.upstream/xmlwf/readfilemap.c libexpat/xmlwf/readfilemap.c ---- libexpat.upstream/xmlwf/readfilemap.c -+++ libexpat/xmlwf/readfilemap.c -@@ -8,17 +8,7 @@ - #include - #include - --#ifdef __WATCOMC__ --#ifndef __LINUX__ --#include --#else - #include --#endif --#endif -- --#ifdef __BEOS__ --#include --#endif - - #ifndef S_ISREG - #ifndef S_IFREG diff --git a/ports/libexpat/libexpat.port b/ports/libexpat/libexpat.port index 27db2cf8..7077a969 100644 --- a/ports/libexpat/libexpat.port +++ b/ports/libexpat/libexpat.port @@ -1,14 +1,15 @@ NAME=libexpat BUILD_LIBRARIES= VERSION_MAJOR=2 -VERSION_MINOR=1 -VERSION_PATCH=0 +VERSION_MINOR=4 +VERSION_PATCH=8 VERSION=$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH DISTNAME=expat-$VERSION -COMPRESSION=tar.gz +COMPRESSION=tar.xz ARCHIVE=$DISTNAME.$COMPRESSION -SHA256SUM=823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86 +SHA256SUM=f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25 UPSTREAM_SITE=https://github.com/libexpat/libexpat/releases/download/R_${VERSION_MAJOR}_${VERSION_MINOR}_${VERSION_PATCH} UPSTREAM_ARCHIVE=$ARCHIVE +LICENSE=MIT BUILD_SYSTEM=configure POST_INSTALL=tix-eradicate-libtool-la diff --git a/ports/libexpat/libexpat.rmpatch b/ports/libexpat/libexpat.rmpatch new file mode 100644 index 00000000..9f3538c5 --- /dev/null +++ b/ports/libexpat/libexpat.rmpatch @@ -0,0 +1,2 @@ +rm -rf -- 'doc/xmlwf.1' +rm -rf -- 'expat_config.h'