Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] watchdog: fix build on musl
@ 2023-07-02 11:14 hazen2215
  2023-07-02 13:03 ` [PR PATCH] [Merged]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: hazen2215 @ 2023-07-02 11:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hazen2215/void-packages watchdog
https://github.com/void-linux/void-packages/pull/44784

watchdog: fix build on musl
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)


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

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

From 91bb4edf169010bd96d4888b5850a7bda37b0c3a Mon Sep 17 00:00:00 2001
From: hazen2215 <haz@disroot.org>
Date: Sun, 2 Jul 2023 20:05:41 +0900
Subject: [PATCH] watchdog: fix build on musl

---
 srcpkgs/watchdog/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/watchdog/template b/srcpkgs/watchdog/template
index 743b8d4f1291..3d410fc469e6 100644
--- a/srcpkgs/watchdog/template
+++ b/srcpkgs/watchdog/template
@@ -7,14 +7,10 @@ short_desc="Software watchdog daemon"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://sourceforge.net/projects/watchdog/"
-distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
+distfiles="${SOURCEFORGE_SITE}/watchdog/watchdog-${version}.tar.gz"
 checksum=b8e7c070e1b72aee2663bdc13b5cc39f76c9232669cfbb1ac0adc7275a3b019d
 conf_files="/etc/watchdog.conf"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	broken="nfsmount.h:9:10: fatal error: rpc/rpc.h: No such file or directory"
-fi
-
 post_install() {
 	vsv watchdog
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: watchdog: fix build on musl
  2023-07-02 11:14 [PR PATCH] watchdog: fix build on musl hazen2215
@ 2023-07-02 13:03 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-07-02 13:03 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

watchdog: fix build on musl
https://github.com/void-linux/void-packages/pull/44784

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-02 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-02 11:14 [PR PATCH] watchdog: fix build on musl hazen2215
2023-07-02 13:03 ` [PR PATCH] [Merged]: " Duncaen

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).