From 76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 4 Nov 2013 17:08:47 +0000 Subject: Slackware 14.1 Mon Nov 4 17:08:47 UTC 2013 Slackware 14.1 x86_64 stable is released! It's been another interesting release cycle here at Slackware bringing new features like support for UEFI machines, updated compilers and development tools, the switch from MySQL to MariaDB, and many more improvements throughout the system. Thanks to the team, the upstream developers, the dedicated Slackware community, and everyone else who pitched in to help make this release a reality. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. Have fun! :-) --- source/a/util-linux/partx.data.type.diff | 11 +++++++++++ source/a/util-linux/util-linux.SlackBuild | 8 ++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 source/a/util-linux/partx.data.type.diff (limited to 'source/a/util-linux') diff --git a/source/a/util-linux/partx.data.type.diff b/source/a/util-linux/partx.data.type.diff new file mode 100644 index 00000000..9811c0bd --- /dev/null +++ b/source/a/util-linux/partx.data.type.diff @@ -0,0 +1,11 @@ +--- ./partx/partx.h.orig 2012-05-25 04:44:58.994195443 -0500 ++++ ./partx/partx.h 2013-08-07 21:06:30.899997659 -0500 +@@ -23,7 +23,7 @@ + } + + static inline int partx_add_partition(int fd, int partno, +- unsigned long start, unsigned long size) ++ long long start, long long size) + { + struct blkpg_ioctl_arg a; + struct blkpg_partition p; diff --git a/source/a/util-linux/util-linux.SlackBuild b/source/a/util-linux/util-linux.SlackBuild index 1fa74c83..b348d83e 100755 --- a/source/a/util-linux/util-linux.SlackBuild +++ b/source/a/util-linux/util-linux.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # Slackware build script for util-linux VERSION=${VERSION:-$(echo util-linux*.tar.?z* | cut -d - -f 3 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} ADJTIMEXVERS=1.29 SETSERIALVERS=2.17 @@ -95,6 +95,10 @@ zcat $CWD/0002-fdisk-don-t-ignore-1MiB-granularity-on-512-byte-sect.patch.gz | p # 20120814 bkw: fix "column --separator " segfault zcat $CWD/column-fix_long_opts.diff.gz | patch -p1 --verbose || exit 1 +# Fix data type in partx to prevent silently truncating partition sizes and +# offsets to 4GB on 32-bit platforms: +zcat $CWD/partx.data.type.diff.gz | patch -p1 --verbose || exit 1 + # Regenerate, since patch 0001 hits mount/Makefile.am: ./autogen.sh -- cgit v1.2.3