Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libtls: fix build
@ 2023-02-10 10:53 hazen2215
  2023-02-10 22:44 ` paper42
  2023-02-11 13:46 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 2 replies; 3+ messages in thread
From: hazen2215 @ 2023-02-10 10:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hazen2215/void-packages libtls
https://github.com/void-linux/void-packages/pull/42180

libtls: fix build
<!-- 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/42180.patch is attached

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

From 9dd0504845e4478531cfaf0d3fe208aba70d7899 Mon Sep 17 00:00:00 2001
From: hazen2215 <haz@disroot.org>
Date: Fri, 10 Feb 2023 19:49:52 +0900
Subject: [PATCH] libtls: fix build

---
 srcpkgs/libtls/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/libtls/template b/srcpkgs/libtls/template
index 40412b1e7852..10a7ec6e8ae8 100644
--- a/srcpkgs/libtls/template
+++ b/srcpkgs/libtls/template
@@ -2,6 +2,8 @@
 pkgname=libtls
 version=3.6.1
 revision=1
+create_wrksrc=yes
+build_wrksrc="libressl-${version}"
 build_style=gnu-configure
 configure_args="--enable-libtls-only --enable-nc $(vopt_enable asm)"
 hostmakedepends="automake libtool"
@@ -15,6 +17,7 @@ distfiles="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${version}.tar.g
 checksum=acfac61316e93b919c28d62d53037ca734de85c46b4d703f19fd8395cf006774
 _lssl_asm_ver="1.2.0"
 replaces="libtls20>0"
+patch_args="-Np1 --directory=${build_wrksrc}"
 
 build_options="asm"
 desc_option_asm="Use platform assembly for faster crypto"
@@ -35,7 +38,7 @@ esac
 
 post_extract() {
 	[ -z "$build_option_asm" ] && return 0
-	mv ../libressl-portable-asm-${_lssl_asm_ver} .
+	mv libressl-portable-asm-${_lssl_asm_ver} ${build_wrksrc}
 }
 
 pre_configure() {

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

* Re: libtls: fix build
  2023-02-10 10:53 [PR PATCH] libtls: fix build hazen2215
@ 2023-02-10 22:44 ` paper42
  2023-02-11 13:46 ` [PR PATCH] [Merged]: " leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2023-02-10 22:44 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/42180#issuecomment-1426438593

Comment:
@leahneukirchen 

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

* Re: [PR PATCH] [Merged]: libtls: fix build
  2023-02-10 10:53 [PR PATCH] libtls: fix build hazen2215
  2023-02-10 22:44 ` paper42
@ 2023-02-11 13:46 ` leahneukirchen
  1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2023-02-11 13:46 UTC (permalink / raw)
  To: ml

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

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

libtls: fix build
https://github.com/void-linux/void-packages/pull/42180

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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-10 10:53 [PR PATCH] libtls: fix build hazen2215
2023-02-10 22:44 ` paper42
2023-02-11 13:46 ` [PR PATCH] [Merged]: " leahneukirchen

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