Mercurial > mxe-octave
changeset 5260:6a63ec73029d
bzip2: update to v1.0.8
* src/bzip2-1-fixes.patch: update patch
* src/bzip2.mk: update downlaod/ver urls, checksum and version
author | John Donoghue |
---|---|
date | Mon, 06 Jan 2020 13:29:17 -0500 |
parents | 6d8f7b772e30 |
children | 838e72224da0 |
files | src/bzip2-1-fixes.patch src/bzip2.mk |
diffstat | 2 files changed, 9 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bzip2-1-fixes.patch Mon Jan 06 13:14:47 2020 -0500 +++ b/src/bzip2-1-fixes.patch Mon Jan 06 13:29:17 2020 -0500 @@ -1,21 +1,6 @@ -This file is part of MXE. -See index.html for further information. - -diff -uNr bzip2-1.0.6.orig/bzip2.c bzip2-1.0.6/bzip2.c ---- bzip2-1.0.6.orig/bzip2.c 2010-09-11 01:04:53.000000000 +0200 -+++ bzip2-1.0.6/bzip2.c 2013-01-30 16:24:00.170396872 +0100 -@@ -128,7 +128,7 @@ - #if BZ_LCCWIN32 - # include <io.h> - # include <fcntl.h> --# include <sys\stat.h> -+# include <sys/stat.h> - - # define NORETURN /**/ - # define PATH_SEP '\\' -diff -uNr bzip2-1.0.6.orig/bzlib.h bzip2-1.0.6/bzlib.h ---- bzip2-1.0.6.orig/bzlib.h 2010-09-11 01:08:42.000000000 +0200 -+++ bzip2-1.0.6/bzlib.h 2013-01-30 16:22:10.514401460 +0100 +diff -ur bzip2-1.0.8.orig/bzlib.h bzip2-1.0.8/bzlib.h +--- bzip2-1.0.8.orig/bzlib.h 2020-01-06 13:24:42.229947041 -0500 ++++ bzip2-1.0.8/bzlib.h 2020-01-06 13:27:27.946095881 -0500 @@ -75,7 +75,7 @@ #include <stdio.h> #endif
--- a/src/bzip2.mk Mon Jan 06 13:14:47 2020 -0500 +++ b/src/bzip2.mk Mon Jan 06 13:29:17 2020 -0500 @@ -3,16 +3,17 @@ PKG := bzip2 $(PKG)_IGNORE := -$(PKG)_VERSION := 1.0.6 -$(PKG)_CHECKSUM := 3f89f861209ce81a6bab1fd1998c0ef311712002 +$(PKG)_VERSION := 1.0.8 +$(PKG)_CHECKSUM := bf7badf7e248e0ecf465d33c2f5aeec774209227 $(PKG)_SUBDIR := bzip2-$($(PKG)_VERSION) $(PKG)_FILE := bzip2-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := https://src.fedoraproject.org/repo/pkgs/$(PKG)/$($(PKG)_FILE)/00b516f4704d4a7cb50a1d97e6e8e15b/$($(PKG)_FILE) +$(PKG)_URL := https://sourceware.org/pub/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE - echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; - echo $($(PKG)_VERSION) + $(WGET) -q -O- 'https://sourceware.org/pub/bzip2/' | \ + $(SED) -n 's,.*<a href="$(PKG)-\([0-9][^"]*\)\.tar.*,\1,p' | \ + $(SORT) -V | tail -1 endef ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),)