Github messages for voidlinux
 help / color / mirror / Atom feed
From: chexum <chexum@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libotr: make it compile/test with new tools
Date: Tue, 14 Jun 2022 21:52:57 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37563@inbox.vuxu.org> (raw)

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

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

https://github.com/chexum/void-packages libotr-regression
https://github.com/void-linux/void-packages/pull/37563

libotr: make it compile/test with new tools
An irssi update triggered a build of libotr on my system.  It seems the package does
no longer builds.  It was last updated several years ago, toolset was likely more
lax then.

The patch is only needed for the regression test (which is ran by default), so the
code changes don't warrant an actual respin of the binary, it's just needed so
that it can be built from scratch again.

In case other archs fail, I'll check what I can do.

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

<!-- 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
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] 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/37563.patch is attached

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

From 7c267c52bf0d9368c231d37747661c4e70298a05 Mon Sep 17 00:00:00 2001
From: J Farkas <chexum+git@gmail.com>
Date: Tue, 14 Jun 2022 19:47:48 +0000
Subject: [PATCH] libotr: make it compile/test with new tools

Package last updated several years ago, toolset was likely more
lax then.
---
 srcpkgs/libotr/patches/regr-socket.patch | 11 +++++++++++
 srcpkgs/libotr/template                  |  1 +
 2 files changed, 12 insertions(+)
 create mode 100644 srcpkgs/libotr/patches/regr-socket.patch

diff --git a/srcpkgs/libotr/patches/regr-socket.patch b/srcpkgs/libotr/patches/regr-socket.patch
new file mode 100644
index 000000000000..c76db347631b
--- /dev/null
+++ b/srcpkgs/libotr/patches/regr-socket.patch
@@ -0,0 +1,11 @@
+diff -urpN libotr-4.1.1/tests/regression/client/client.c libotr-4.1.1/tests/regression/client/client.c
+--- libotr-4.1.1/tests/regression/client/client.c	2015-12-25 17:39:45.000000000 +0000
++++ libotr-4.1.1/tests/regression/client/client.c	2022-06-14 19:36:19.015005905 +0000
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <syscall.h>
+ #include <sys/epoll.h>
++#include <sys/socket.h>
+ #include <sys/types.h>
+ #include <sys/un.h>
+ #include <unistd.h>
diff --git a/srcpkgs/libotr/template b/srcpkgs/libotr/template
index e4a0f9266716..070d661d4785 100644
--- a/srcpkgs/libotr/template
+++ b/srcpkgs/libotr/template
@@ -4,6 +4,7 @@ version=4.1.1
 revision=1
 build_style=gnu-configure
 makedepends="libgcrypt-devel"
+checkdepends="perl"
 short_desc="Off-the-Record Messaging Library and Toolkit"
 maintainer="Orphaned <orphan@voidlinux.org>"
 homepage="http://www.cypherpunks.ca/otr/"

             reply	other threads:[~2022-06-14 19:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-14 19:52 chexum [this message]
2022-06-14 20:07 ` chexum
2022-06-14 20:08 ` [PR PATCH] [Updated] " chexum
2022-07-03 15:04 ` chexum
2022-09-04 20:22 ` [PR REVIEW] " mtboehlke
2022-09-04 20:22 ` mtboehlke
2022-09-04 20:24 ` mtboehlke
2022-10-05  6:34 ` [PR PATCH] [Updated] " sgn
2022-10-05  6:35 ` sgn
2022-10-09 18:55 ` chexum
2022-10-09 18:55 ` [PR PATCH] [Closed]: " chexum

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-37563@inbox.vuxu.org \
    --to=chexum@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).