Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] wtype: update to 0.4.
@ 2022-01-27 20:19 steinex
  2022-01-28  1:32 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: steinex @ 2022-01-27 20:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/steinex/void-packages wtype
https://github.com/void-linux/void-packages/pull/35264

wtype: update to 0.4.
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/35264.patch is attached

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

From f3859e5b28fcb7188847b9601a23814868581c49 Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Thu, 27 Jan 2022 21:10:13 +0100
Subject: [PATCH] wtype: update to 0.4.

---
 srcpkgs/wtype/patches/fix_reallocarray.patch | 34 --------------------
 srcpkgs/wtype/template                       |  6 ++--
 2 files changed, 3 insertions(+), 37 deletions(-)
 delete mode 100644 srcpkgs/wtype/patches/fix_reallocarray.patch

diff --git a/srcpkgs/wtype/patches/fix_reallocarray.patch b/srcpkgs/wtype/patches/fix_reallocarray.patch
deleted file mode 100644
index 8fd7391ef1f6..000000000000
--- a/srcpkgs/wtype/patches/fix_reallocarray.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From fb8cb526470308d36b28c33620fcb74916f952e8 Mon Sep 17 00:00:00 2001
-From: Josef Gajdusek <atx@atx.name>
-Date: Mon, 28 Dec 2020 20:45:36 +0100
-Subject: [PATCH] Do not use reallocarray
-
-Not available in musl.
-
-Closes #20
----
- main.c | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/main.c b/main.c
-index cbdbb0f..cec1cc2 100644
---- a/main.c
-+++ b/main.c
-@@ -1,6 +1,4 @@
- 
--#define _GNU_SOURCE
--
- #include <fcntl.h>
- #include <locale.h>
- #include <stdbool.h>
-@@ -140,8 +138,8 @@ unsigned int get_key_code(struct wtype *wtype, wchar_t ch)
- 			return i;
- 		}
- 	}
--	wtype->keymap = reallocarray(
--		wtype->keymap, ++wtype->keymap_len, sizeof(wtype->keymap[0])
-+	wtype->keymap = realloc(
-+		wtype->keymap, ++wtype->keymap_len * sizeof(wtype->keymap[0])
- 	);
- 	wtype->keymap[wtype->keymap_len - 1] = ch;
- 	return wtype->keymap_len - 1;
diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template
index 962c7cf82bec..5129500c4af7 100644
--- a/srcpkgs/wtype/template
+++ b/srcpkgs/wtype/template
@@ -1,6 +1,6 @@
 # Template file for 'wtype'
 pkgname=wtype
-version=0.3
+version=0.4
 revision=1
 build_style=meson
 hostmakedepends="pkg-config wayland-devel"
@@ -9,8 +9,8 @@ short_desc="Wayland version of xdotool"
 maintainer="Stacy Harper <contact@stacyharper.net>"
 license="MIT"
 homepage="https://github.com/atx/wtype"
-distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz"
-checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2
+distfiles="https://github.com/atx/wtype/archive/v${version}.tar.gz"
+checksum=da91786d828b6a6e29b884bc510473939eda052658ebef87d7bdeafa6a8746f9
 
 post_install() {
 	vlicense LICENSE

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

end of thread, other threads:[~2022-01-28  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 20:19 [PR PATCH] wtype: update to 0.4 steinex
2022-01-28  1:32 ` [PR PATCH] [Merged]: " ericonr

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