expat: update to 2.2.5
This commit is contained in:
parent
072e520973
commit
d4d15ed160
@ -6,11 +6,11 @@
|
||||
###########################################################
|
||||
# Check the following 4 variables before running the script
|
||||
topdir=expat
|
||||
version=2.1.0
|
||||
version=2.2.5
|
||||
pkgver=1
|
||||
source[0]=http://downloads.sourceforge.net/project/expat/expat/${version}/$topdir-$version.tar.gz
|
||||
source[0]=https://downloads.sourceforge.net/project/expat/expat/${version}/$topdir-$version.tar.bz2
|
||||
# If there are no patches, simply comment this
|
||||
#patch[0]=
|
||||
patch[0]=expat-2.2.5-no-stdint_h.patch
|
||||
|
||||
# Source function library
|
||||
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
|
||||
@ -23,6 +23,8 @@ reg prep
|
||||
prep()
|
||||
{
|
||||
generic_prep
|
||||
setdir source
|
||||
${__gsed} -i 's/fgrep -q/fgrep -s/' configure
|
||||
}
|
||||
|
||||
reg build
|
||||
@ -41,7 +43,9 @@ reg install
|
||||
install()
|
||||
{
|
||||
generic_install DESTDIR
|
||||
doc COPYING Changes README
|
||||
doc COPYING Changes README.md AUTHORS
|
||||
compat expat 2.1.0 1 1
|
||||
${__rm} -rf ${stagedir}${prefix}/share/doc/expat
|
||||
}
|
||||
|
||||
reg pack
|
||||
|
@ -1,5 +1,8 @@
|
||||
CHANGELOG
|
||||
---------
|
||||
* Sun Apr 08 2018 Tom G. Christensen <swpkg@jupiterrise.com> - 2.2.5-1
|
||||
- Update to 2.2.5
|
||||
|
||||
* Sun Nov 17 2013 Tom G. Christensen <swpkg@jupiterrise.com> - 2.1.0-1
|
||||
- Import from tgcware v2
|
||||
-
|
||||
|
11
expat/src/expat-2.2.5-no-stdint_h.patch
Normal file
11
expat/src/expat-2.2.5-no-stdint_h.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- expat-2.2.5/lib/siphash.h.stdint_h 2017-09-03 16:47:40.000000000 +0200
|
||||
+++ expat-2.2.5/lib/siphash.h 2018-04-08 12:52:11.539331000 +0200
|
||||
@@ -93,7 +93,7 @@
|
||||
typedef unsigned __int32 uint32_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#else
|
||||
- #include <stdint.h> /* uint64_t uint32_t uint8_t */
|
||||
+ #include <sys/types.h> /* uint64_t uint32_t uint8_t */
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user