Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Autofs 12842
@ 2019-07-07 10:13 voidlinux-github
  2019-07-07 10:27 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-07-07 10:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Hoshpak/void-packages autofs-12842
https://github.com/void-linux/void-packages/pull/12882

Autofs 12842


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-autofs-12842-12882.patch --]
[-- Type: application/text/x-diff, Size: 2152 bytes --]

From 7c962f549a334ce558fd90e233e32f41cc6d0c9a Mon Sep 17 00:00:00 2001
From: Helmut Pozimski <helmut@pozimski.eu>
Date: Sun, 7 Jul 2019 12:11:12 +0200
Subject: [PATCH 1/2] rpcsvc-proto: fix cross

---
 srcpkgs/rpcsvc-proto/template | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rpcsvc-proto/template b/srcpkgs/rpcsvc-proto/template
index 7c4ff304770..116b12ad5ad 100644
--- a/srcpkgs/rpcsvc-proto/template
+++ b/srcpkgs/rpcsvc-proto/template
@@ -11,7 +11,14 @@ changelog="https://raw.githubusercontent.com/thkukuk/rpcsvc-proto/master/ChangeL
 distfiles="https://github.com/thkukuk/rpcsvc-proto/releases/download/v${version}/rpcsvc-proto-${version}.tar.gz"
 checksum=867e46767812784d8dda6d8d931d6fabb30168abb02d87a2a205be6d5a2934a7
 
-nocross="runs rpsvc binary compiled against the target system on the host machine"
+pre_build() {
+	if [ "$CROSS_BUILD" ]; then
+		make -C rpcgen CC=${CC_host} CFLAGS="${XBPS_CFLAGS}" LDFLAGS="${XBPS_LDFLAGS}"
+		cp rpcgen/rpcgen rpcgen/rpcgen-host
+		make -C rpcgen clean
+		sed -i -e 's!rpcgen/rpcgen!rpcgen/rpcgen-host!' rpcsvc/Makefile.in
+	fi
+}
 
 post_install() {
 	vlicense COPYING

From 01b50ec75bfda46ebfdda2af46cc08d90bc9d77b Mon Sep 17 00:00:00 2001
From: Helmut Pozimski <helmut@pozimski.eu>
Date: Sun, 7 Jul 2019 12:12:11 +0200
Subject: [PATCH 2/2] autofs: replace rpcgen in hostmakedepends

fixes #12842
---
 srcpkgs/autofs/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/autofs/template b/srcpkgs/autofs/template
index 06bfff44c0a..6b9a6477107 100644
--- a/srcpkgs/autofs/template
+++ b/srcpkgs/autofs/template
@@ -1,12 +1,12 @@
 # Template file for 'autofs'
 pkgname=autofs
 version=5.1.5
-revision=3
+revision=4
 build_style=gnu-configure
 make_build_args="DONTSTRIP=1"
 configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
 conf_files="/etc/autofs/*"
-hostmakedepends="pkg-config flex kmod rpcgen"
+hostmakedepends="pkg-config flex kmod rpcsvc-proto"
 makedepends="libtirpc-devel libxml2-devel"
 short_desc="Kernel-based automounter for Linux"
 maintainer="Helmut Pozimski <helmut@pozimski.eu>"

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

* Re: [PR PATCH] [Merged]: Autofs 12842
  2019-07-07 10:13 [PR PATCH] Autofs 12842 voidlinux-github
@ 2019-07-07 10:27 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-07-07 10:27 UTC (permalink / raw)
  To: ml

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

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

Autofs 12842
https://github.com/void-linux/void-packages/pull/12882
Description: 

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

end of thread, other threads:[~2019-07-07 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07 10:13 [PR PATCH] Autofs 12842 voidlinux-github
2019-07-07 10:27 ` [PR PATCH] [Merged]: " voidlinux-github

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