Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libtool: fix include paths when cross compiling
@ 2022-11-19  8:10 oreo639
  2022-11-19 22:17 ` dkwo
                   ` (43 more replies)
  0 siblings, 44 replies; 45+ messages in thread
From: oreo639 @ 2022-11-19  8:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oreo639/void-packages libtool
https://github.com/void-linux/void-packages/pull/40606

libtool: fix include paths when cross compiling
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

@dkwo Can you test this.

<!--
#### 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, (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/40606.patch is attached

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

From d4ae539ad82d6c9f25073c95e7ae82b00b823ed7 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Sat, 19 Nov 2022 00:10:05 -0800
Subject: [PATCH] libtool: fix include paths when cross compiling

---
 srcpkgs/libtool/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template
index fc5c53a9c3e9..f9a5e070fd8f 100644
--- a/srcpkgs/libtool/template
+++ b/srcpkgs/libtool/template
@@ -1,7 +1,7 @@
 # Template file for 'libtool'
 pkgname=libtool
 version=2.4.7
-revision=1
+revision=2
 build_style=gnu-configure
 hostmakedepends="texinfo perl automake help2man xz"
 depends="tar sed"
@@ -42,7 +42,9 @@ post_install() {
 		 ${PKGDESTDIR}/usr/bin/libtool
 
 		# clear out sysroot include path
-		vsed -i -e "s,\-I${XBPS_CROSS_BASE}/usr/include,,g" \
+		vsed -i \
+		 -e "s,\-I${XBPS_CROSS_BASE}/usr/include,,g" \
+		 -e "s,/lib/gcc/${XBPS_CROSS_TRIPLET}/.*/../../../../${XBPS_CROSS_TRIPLET},,g" \
 		 ${PKGDESTDIR}/usr/bin/libtool
 
 		# canonicalize host_alias, replace build(_alias,_os)

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

end of thread, other threads:[~2023-02-26 10:15 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-19  8:10 [PR PATCH] libtool: fix include paths when cross compiling oreo639
2022-11-19 22:17 ` dkwo
2022-11-19 22:18 ` dkwo
2022-11-19 22:18 ` dkwo
2022-11-19 22:29 ` oreo639
2022-11-19 22:30 ` oreo639
2022-11-20 14:37 ` dkwo
2022-11-20 18:41 ` paper42
2022-11-20 20:25 ` oreo639
2022-11-20 20:37 ` [PR PATCH] [Updated] " oreo639
2022-11-20 21:05 ` oreo639
2022-11-20 21:08 ` oreo639
2022-11-21 15:38 ` dkwo
2022-11-21 17:21 ` oreo639
2022-11-21 17:21 ` oreo639
2022-11-21 18:30 ` dkwo
2022-11-21 18:31 ` oreo639
2022-11-21 18:33 ` dkwo
2023-02-06 20:17 ` dkwo
2023-02-06 20:18 ` dkwo
2023-02-06 20:19 ` paper42
2023-02-15  4:21 ` [PR PATCH] [Updated] " oreo639
2023-02-15  4:29 ` oreo639
2023-02-15  4:34 ` oreo639
2023-02-15  5:26 ` oreo639
2023-02-15  6:08 ` oreo639
2023-02-15  6:20 ` oreo639
2023-02-15  6:20 ` oreo639
2023-02-15  6:23 ` [PR PATCH] [Updated] " oreo639
2023-02-15  6:24 ` oreo639
2023-02-15  6:26 ` [PR PATCH] [Updated] " oreo639
2023-02-15  6:27 ` oreo639
2023-02-15  6:56 ` oreo639
2023-02-15  7:04 ` oreo639
2023-02-15  7:13 ` oreo639
2023-02-15  7:18 ` oreo639
2023-02-15  7:30 ` oreo639
2023-02-15  7:30 ` oreo639
2023-02-15  8:48 ` oreo639
2023-02-15 10:57 ` oreo639
2023-02-15 20:06 ` dkwo
2023-02-15 20:09 ` [PR PATCH] [Updated] " oreo639
2023-02-25  1:35 ` oreo639
2023-02-25  1:35 ` oreo639
2023-02-26 10:15 ` [PR PATCH] [Merged]: " paper42

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