summaryrefslogtreecommitdiff
path: root/gzip
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2009-10-07 12:52:29 +0200
committerJuergen Daubert <jue@jue.li>2009-10-07 12:52:29 +0200
commitf091173123592a2fc0b6d7bc42bfe671313a0ccd (patch)
treea42fb7e6a5904fb4a158fbfcf38c15d131a5d73a /gzip
parent11c3d6d3e88f92150df2417e82703d4b0f78a4c9 (diff)
downloadcore-f091173123592a2fc0b6d7bc42bfe671313a0ccd.tar.gz
core-f091173123592a2fc0b6d7bc42bfe671313a0ccd.tar.xz
gzip: update to 1.3.13
Diffstat (limited to 'gzip')
-rw-r--r--gzip/.md5sum3
-rw-r--r--gzip/Pkgfile8
-rw-r--r--gzip/gzip-futimens.patch41
3 files changed, 4 insertions, 48 deletions
diff --git a/gzip/.md5sum b/gzip/.md5sum
index 45929dfa..a742b23b 100644
--- a/gzip/.md5sum
+++ b/gzip/.md5sum
@@ -1,2 +1 @@
-b5bac2d21840ae077e0217bc5e4845b1 gzip-1.3.12.tar.gz
-fdd026d969653f6c1574ffa0d0968231 gzip-futimens.patch
+11eab6efa7ba613863ea5147bdba84da gzip-1.3.13.tar.xz
diff --git a/gzip/Pkgfile b/gzip/Pkgfile
index 37f95030..6026bd60 100644
--- a/gzip/Pkgfile
+++ b/gzip/Pkgfile
@@ -3,14 +3,12 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=gzip
-version=1.3.12
-release=3
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
- $name-futimens.patch)
+version=1.3.13
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
- patch -p1 -i $SRC/$name-futimens.patch
./configure --prefix=/usr --mandir=/usr/man
make
make DESTDIR=$PKG install
diff --git a/gzip/gzip-futimens.patch b/gzip/gzip-futimens.patch
deleted file mode 100644
index f8ef8d95..00000000
--- a/gzip/gzip-futimens.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Nru gzip-1.3.12.orig/gzip.c gzip-1.3.12/gzip.c
---- gzip-1.3.12.orig/gzip.c 2007-08-16 11:50:42.747692170 +0200
-+++ gzip-1.3.12/gzip.c 2007-08-16 11:51:38.754599471 +0200
-@@ -1637,7 +1637,7 @@
- }
- }
-
-- if (futimens (ofd, ofname, timespec) != 0)
-+ if (gl_futimens (ofd, ofname, timespec) != 0)
- {
- int e = errno;
- WARN ((stderr, "%s: ", program_name));
-diff -Nru gzip-1.3.12.orig/lib/utimens.c gzip-1.3.12/lib/utimens.c
---- gzip-1.3.12.orig/lib/utimens.c 2007-08-16 11:50:42.757691618 +0200
-+++ gzip-1.3.12/lib/utimens.c 2007-08-16 11:50:56.646924655 +0200
-@@ -75,8 +75,8 @@
- Return 0 on success, -1 (setting errno) on failure. */
-
- int
--futimens (int fd ATTRIBUTE_UNUSED,
-- char const *file, struct timespec const timespec[2])
-+gl_futimens (int fd ATTRIBUTE_UNUSED,
-+ char const *file, struct timespec const timespec[2])
- {
- /* Some Linux-based NFS clients are buggy, and mishandle time stamps
- of files in NFS file systems in some cases. We have no
-@@ -185,5 +185,5 @@
- int
- utimens (char const *file, struct timespec const timespec[2])
- {
-- return futimens (-1, file, timespec);
-+ return gl_futimens (-1, file, timespec);
- }
-diff -Nru gzip-1.3.12.orig/lib/utimens.h gzip-1.3.12/lib/utimens.h
---- gzip-1.3.12.orig/lib/utimens.h 2007-08-16 11:50:42.767691065 +0200
-+++ gzip-1.3.12/lib/utimens.h 2007-08-16 11:56:49.997243976 +0200
-@@ -1,3 +1,3 @@
- #include <time.h>
--int futimens (int, char const *, struct timespec const [2]);
-+int gl_futimens (int, char const *, struct timespec const [2]);
- int utimens (char const *, struct timespec const [2]);

Generated by cgit