summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-04-02 19:34:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-04-02 19:34:31 +0200
commitd065563ae2822bbd1d7d20f3481eac995aed63ea (patch)
treec744233746bc5f151623e1dfbd4378680c8b184d /package
parent0622694e7f85401bff7d72bc653770e6cd99f182 (diff)
bzip2: update to 1.0.8
Diffstat (limited to 'package')
-rw-r--r--package/bzip2/Makefile8
-rw-r--r--package/bzip2/patches/patch-Makefile6
-rw-r--r--package/bzip2/patches/patch-Makefile-libbz2_so24
3 files changed, 11 insertions, 27 deletions
diff --git a/package/bzip2/Makefile b/package/bzip2/Makefile
index f53535eba..ad3d19f03 100644
--- a/package/bzip2/Makefile
+++ b/package/bzip2/Makefile
@@ -4,16 +4,16 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bzip2
-PKG_VERSION:= 1.0.6
-PKG_RELEASE:= 3
-PKG_HASH:= a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd
+PKG_VERSION:= 1.0.8
+PKG_RELEASE:= 1
+PKG_HASH:= ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269
PKG_DESCR:= compression utility
PKG_SECTION:= app/archive
PKG_BUILDDEP:= bzip2-host
PKG_DEPENDS:= libbz2
HOST_BUILDDEP:= patch-host
PKG_URL:= http://www.bzip.org/
-PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
+PKG_SITES:= https://sourceware.org/pub/bzip2/
PKG_LIBNAME:= libbz2
PKG_OPTS:= dev
diff --git a/package/bzip2/patches/patch-Makefile b/package/bzip2/patches/patch-Makefile
index 0d15eab68..3fbb45234 100644
--- a/package/bzip2/patches/patch-Makefile
+++ b/package/bzip2/patches/patch-Makefile
@@ -1,5 +1,5 @@
---- bzip2-1.0.5.orig/Makefile 2008-02-14 13:39:18.000000000 +0100
-+++ bzip2-1.0.5/Makefile 2009-08-23 20:18:12.000000000 +0200
+--- bzip2-1.0.8.orig/Makefile 2019-07-13 19:50:05.000000000 +0200
++++ bzip2-1.0.8/Makefile 2020-04-02 00:14:59.333485383 +0200
@@ -15,16 +15,16 @@
SHELL=/bin/sh
@@ -19,7 +19,7 @@
# Where you want it installed when you do 'make install'
-PREFIX=/usr/local
-+PREFIX?=/usr
++PREFIX=/usr
OBJS= blocksort.o \
diff --git a/package/bzip2/patches/patch-Makefile-libbz2_so b/package/bzip2/patches/patch-Makefile-libbz2_so
index 148c7562a..9d901f6bc 100644
--- a/package/bzip2/patches/patch-Makefile-libbz2_so
+++ b/package/bzip2/patches/patch-Makefile-libbz2_so
@@ -1,6 +1,6 @@
---- bzip2-1.0.6.orig/Makefile-libbz2_so 2010-09-11 01:07:52.000000000 +0200
-+++ bzip2-1.0.6/Makefile-libbz2_so 2014-01-13 21:51:20.000000000 +0100
-@@ -21,10 +21,18 @@
+--- bzip2-1.0.8.orig/Makefile-libbz2_so 2019-07-13 19:50:05.000000000 +0200
++++ bzip2-1.0.8/Makefile-libbz2_so 2020-04-02 00:16:39.699887764 +0200
+@@ -21,10 +21,11 @@
# ------------------------------------------------------------------
@@ -11,23 +11,7 @@
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
+CFLAGS?=
-+CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES)
-+OS=$(shell uname)
-+LDOPT=-soname
-+ifneq ($(CROSS_COMPILE),1)
-+ifeq ($(OS),Darwin)
-+LDOPT=-install_name
-+endif
-+endif
++CFLAGS+=-fpic -fPIC -Wall -Winline -g $(BIGFILES)
OBJS= blocksort.o \
huffman.o \
-@@ -35,7 +43,7 @@ OBJS= blocksort.o \
- bzlib.o
-
- all: $(OBJS)
-- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
-+ $(CC) -shared -Wl,$(LDOPT) -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
- $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
- rm -f libbz2.so.1.0
- ln -s libbz2.so.1.0.6 libbz2.so.1.0