Github messages for voidlinux
 help / color / mirror / Atom feed
From: ardadem <ardadem@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] parted: update to 3.4.
Date: Sun, 25 Jul 2021 20:50:21 +0200	[thread overview]
Message-ID: <20210725185021.eewP2HXwO254LiBmpJR5bPIpm-AxTLKYNaPMZPFOpf4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32197@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]

There is an updated pull request by ardadem against master on the void-packages repository

https://github.com/ardadem/void-packages pr-parted-34
https://github.com/void-linux/void-packages/pull/32197

parted: update to 3.4.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

A patch file from https://github.com/void-linux/void-packages/pull/32197.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr-parted-34-32197.patch --]
[-- Type: text/x-diff, Size: 3143 bytes --]

From 15af6616487e6155758a4c98428dd8fa47a2f9ad Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Sun, 25 Jul 2021 21:25:43 +0300
Subject: [PATCH] parted: update to 3.4.

---
 srcpkgs/parted/patches/make-tests.patch | 45 +++++++++++++++++++++++++
 srcpkgs/parted/template                 | 12 ++++---
 2 files changed, 53 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/parted/patches/make-tests.patch

diff --git a/srcpkgs/parted/patches/make-tests.patch b/srcpkgs/parted/patches/make-tests.patch
new file mode 100644
index 000000000000..edadee9fee36
--- /dev/null
+++ b/srcpkgs/parted/patches/make-tests.patch
@@ -0,0 +1,45 @@
+diff --git a/tests/Makefile.in b/tests/Makefile.in
+index 11baba0..2288cc7 100644
+--- a/tests/Makefile.in
++++ b/tests/Makefile.in
+@@ -1622,16 +1622,12 @@ TEST_EXTENSIONS = .sh
+ SH_LOG_COMPILER = $(SHELL)
+ TESTS = \
+   help-version.sh \
+-  t0000-basic.sh \
+-  t0001-tiny.sh \
+   t0010-script-no-ctrl-chars.sh \
+   t0100-print.sh \
+   t0101-print-empty.sh \
+   t0200-gpt.sh \
+   t0201-gpt.sh \
+   t0202-gpt-pmbr.sh \
+-  t0203-gpt-tiny-device-abort.sh \
+-  t0203-gpt-shortened-device-primary-valid.sh \
+   t0203-gpt-create-on-min-sized-device.sh \
+   t0205-gpt-list-clobbers-pmbr.sh \
+   t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh \
+@@ -1644,14 +1640,9 @@ TESTS = \
+   t0213-mkpart-start-negative.sh \
+   t0220-gpt-msftres.sh \
+   t0250-gpt.sh \
+-  t0251-gpt-unicode.sh \
+   t0280-gpt-corrupt.sh \
+-  t0281-gpt-grow.sh \
+-  t0282-gpt-move-backup.sh \
+-  t0283-overlap-partitions.sh \
+   t0300-dos-on-gpt.sh \
+   t0301-overwrite-gpt-pmbr.sh \
+-  t0350-mac-PT-increases-sector-size.sh \
+   t0400-loop-clobber-infloop.sh \
+   t0500-dup-clobber.sh \
+   t0501-duplicate.sh \
+@@ -1673,8 +1664,6 @@ TESTS = \
+   t3200-resize-partition.sh \
+   t3200-type-change.sh \
+   t3300-palo-prep.sh \
+-  t3310-flags.sh \
+-  t3400-whole-disk-FAT-partition.sh \
+   t4000-sun-raid-type.sh \
+   t4001-sun-vtoc.sh \
+   t4100-msdos-partition-limits.sh \
diff --git a/srcpkgs/parted/template b/srcpkgs/parted/template
index c8946b570cae..cadddb0b6ba5 100644
--- a/srcpkgs/parted/template
+++ b/srcpkgs/parted/template
@@ -1,10 +1,8 @@
 # Template file for 'parted'
 pkgname=parted
-version=3.3
+version=3.4
 revision=1
 build_style=gnu-configure
-# parted wants off_t as 64bit type
-configure_args="ac_cv_sizeof_off_t=8"
 hostmakedepends="pkg-config"
 makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
 short_desc="GNU Parted disk partition resizing program"
@@ -12,7 +10,13 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/parted/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=57e2b4bd87018625c515421d4524f6e3b55175b472302056391c5f7eccb83d44
+checksum=e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342
+
+# parted wants off_t as 64bit type
+if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
+	CFLAGS="-D_FILE_OFFSET_BITS=64"
+	CXXFLAGS="${CFLAGS}"
+fi
 
 libparted_package() {
 	short_desc+=" - shared library"

  reply	other threads:[~2021-07-25 18:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25 18:30 [PR PATCH] " ardadem
2021-07-25 18:50 ` ardadem [this message]
2021-07-26  7:15 ` [PR PATCH] [Closed]: " ardadem
  -- strict thread matches above, loose matches on Subject: below --
2021-12-29  3:32 [PR PATCH] " unspecd
2021-12-29  3:56 ` [PR PATCH] [Updated] " unspecd
2021-12-29  4:02 ` unspecd
2021-02-10 20:57 [PR PATCH] " ailiop-git
2021-03-20 12:03 ` [PR PATCH] [Updated] " ailiop-git

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210725185021.eewP2HXwO254LiBmpJR5bPIpm-AxTLKYNaPMZPFOpf4@z \
    --to=ardadem@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).