Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] lshw: update to B.02.20.
Date: Mon, 03 Feb 2025 19:38:16 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-54204@inbox.vuxu.org> (raw)

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

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages lshw
https://github.com/void-linux/void-packages/pull/54204

lshw: update to B.02.20.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

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

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

From a966b3b488bc0036b9f5d2c90c73c08015c5d87b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 30 Jan 2025 19:51:55 +0530
Subject: [PATCH] lshw: update to B.02.20.

---
 srcpkgs/lshw/patches/fix-lshw_sgml.patch  |  8 --------
 srcpkgs/lshw/patches/musl-long_bits.patch | 20 --------------------
 srcpkgs/lshw/template                     | 10 +++++-----
 3 files changed, 5 insertions(+), 33 deletions(-)
 delete mode 100644 srcpkgs/lshw/patches/fix-lshw_sgml.patch
 delete mode 100644 srcpkgs/lshw/patches/musl-long_bits.patch

diff --git a/srcpkgs/lshw/patches/fix-lshw_sgml.patch b/srcpkgs/lshw/patches/fix-lshw_sgml.patch
deleted file mode 100644
index e3ad560b0bbe75..00000000000000
--- a/srcpkgs/lshw/patches/fix-lshw_sgml.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/src/lshw.sgml	2016-04-22 21:49:30.000000000 +0200
-+++ b/src/lshw.sgml	2016-05-07 05:54:39.106562357 +0200
-@@ -1,4 +1,4 @@
--<!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-+<!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
- <refentry id="lshw">
- 
- <refmeta>
diff --git a/srcpkgs/lshw/patches/musl-long_bits.patch b/srcpkgs/lshw/patches/musl-long_bits.patch
deleted file mode 100644
index 6980bb47748a43..00000000000000
--- a/srcpkgs/lshw/patches/musl-long_bits.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-sysconf(LONG_BIT) isn't correct usage of sysconf(3).
-
-musl doesn't define _SC_LONG_BIT, so just use LONG_BIT directly. There's really
-no reason to use sysconf(3) here, word size isn't a runtime property.
-
-diff --git src/core/abi.cc src/core/abi.cc
-index adff7b5..76c664c 100644
---- a/src/core/abi.cc
-+++ b/src/core/abi.cc
-@@ -20,9 +20,7 @@ __ID("@(#) $Id: mem.cc 1352 2006-05-27 23:54:13Z ezix $");
- bool scan_abi(hwNode & system)
- {
-   // are we compiled as 32- or 64-bit process ?
--  long sc = sysconf(LONG_BIT);
--  if(sc==-1) sc = sysconf(_SC_LONG_BIT);
--  if(sc!=-1) system.setWidth(sc);
-+  system.setWidth(LONG_BIT);
- 
-   pushd(PROC_SYS);
- 
diff --git a/srcpkgs/lshw/template b/srcpkgs/lshw/template
index d08c1b43869eb6..bd38b58f4a6912 100644
--- a/srcpkgs/lshw/template
+++ b/srcpkgs/lshw/template
@@ -1,21 +1,21 @@
 # Template file for 'lshw'
 pkgname=lshw
-version=B.02.19.2
-revision=2
+version=B.02.20
+revision=1
 build_style=gnu-makefile
 make_build_args="VERSION=${version}"
 make_build_target="all gui"
 make_install_args="SBINDIR=/usr/bin"
 make_install_target="install install-gui"
 make_use_env=yes
-hostmakedepends="docbook2x pkg-config"
-makedepends="gtk+-devel"
+hostmakedepends="docbook2x pkg-config gettext"
+makedepends="gtk+3-devel"
 short_desc="Hardware lister application"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://ezix.org/project/wiki/HardwareLiSter"
 distfiles="https://ezix.org/software/files/lshw-${version}.tar.gz"
-checksum=9bb347ac87142339a366a1759ac845e3dbb337ec000aa1b99b50ac6758a80f80
+checksum=06d9cf122422220e5dc94e8ea5b01816a69bb6b59368f63d7f21fff31fc6922a
 disable_parallel_build=yes  # fails to link ./core/liblshw.a
 
 post_patch() {

             reply	other threads:[~2025-02-03 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-03 18:38 icp1994 [this message]
2025-02-18  3:45 ` [PR PATCH] [Closed]: " classabbyamp
  -- strict thread matches above, loose matches on Subject: below --
2024-05-24 13:38 [PR PATCH] " Bnyro

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-54204@inbox.vuxu.org \
    --to=icp1994@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).