summaryrefslogtreecommitdiff
path: root/dev-libs/libstroke
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libstroke')
-rw-r--r--dev-libs/libstroke/Manifest3
-rw-r--r--dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch7
-rw-r--r--dev-libs/libstroke/libstroke-0.5.1-r2.ebuild (renamed from dev-libs/libstroke/libstroke-0.5.1-r1.ebuild)18
3 files changed, 17 insertions, 11 deletions
diff --git a/dev-libs/libstroke/Manifest b/dev-libs/libstroke/Manifest
index ef37035f7b85..872ee2735552 100644
--- a/dev-libs/libstroke/Manifest
+++ b/dev-libs/libstroke/Manifest
@@ -1,6 +1,7 @@
AUX libstroke-0.5.1-autotools.patch 734 BLAKE2B 3590484c7a4b96b7faa09eb7e2267365eec162433a6a879529b3daf173fe52991be34a1afa69b2dea14853c3e5db4e06915123cccc0e5e1d24c16064ddff92ad SHA512 e0245ac98dc4d6db25f401ae1512d68aa98b732fa8f8d8486f1e50e784d63cc90bdaf6a28ba5e3d96f8822d549f473a6e8085701ee8016a428a9805ef165c2da
+AUX libstroke-0.5.1-clang16.patch 159 BLAKE2B c0cbf094523352e1498ecaa6ad9207d1c3638c974a0f0062d7861cbaa050d8fc91d7585c3dc79601020ed8c78ba6583acbae3e970a065fd638a61e8c40670764 SHA512 8ccf8aed0eead8d6be1a167f8dcc396cd479d60412ffe5e45f836eb8218e703c4f6de341e918df81a1f1c136b5d1fcf54eb6ad513033fc1a291cff4e9d881acd
AUX libstroke-0.5.1-m4_syntax.patch 1100 BLAKE2B c86fed17159d3179bbb538c1c467fa5a34133b6a43d30f2e2862158e0756ea8ca8654ca6f450219c9222cc3612fefddf6170922f410a9c1119f48439acf5daff SHA512 bfe54a1c60c381e01820f46998c1ade66bcc5b816d20d8736334cd097f94fd06921c7ef17ae42e1f4f47090a7a9a6db2121a9960c140ad7dcb4d5ac3acf6fded
AUX libstroke-0.5.1-no_gtk1.patch 1046 BLAKE2B feaaa0206f74bc1206ed464ec3f29c76e2f51c83f78c6821d2184b833e1718638b11757ab3f8cef9464884dc11a3158fccb9f1f9fd166f50ee83f556b447b25d SHA512 96004186c51e617fa53f1bbaef5f58c6572c5acf0a6acf2d9e7be618c443fccff5feb8dd7bf77a9a435b8c5b334e1babb3cbd739e71ec6d7fe7feda1c66607f8
DIST libstroke-0.5.1.tar.gz 174270 BLAKE2B ce642aff20f731ed8dc6aedfcdca0370e4e9789bdf1fd7d4157745ea7375d5e5f9c7a2f00739d886ff348c00ada36c3bef0ce68f18d9b0dd52eabcc086776334 SHA512 03431d4cd39174aadb6cfd00a1c487d34ae9cf4b1db9e9d01d563f2a661f01979f474b87099fd2bfb0e54653416a1b9dea988367674a3cc6134e16b62810a0c7
-EBUILD libstroke-0.5.1-r1.ebuild 748 BLAKE2B 250ac32b60bd308d2d77e94b2746a763b8911334031a99ab8323292219282bc31c2c76f1a2bcbeecb6ef93f92de705601b2ed097fc916b3ab9bdb5262c85ad8e SHA512 6774f5c0c6531bc90614edb23193dad9eeeeebe4713c5a236b143fc1091b88abb549c3b8db99e04ad01da0f5206b5b15957a7d408f5b5069b7c974078b7f9076
+EBUILD libstroke-0.5.1-r2.ebuild 712 BLAKE2B 6eb990cc4e64eb7e01364545d60e5620f7085468855090eebe049d868c309cbbe7291fa20807814945883b5d3b11279e7c4f6a17f18eb47f3fe45f7cfa1abaf5 SHA512 56dc29ee0a6980512354ddcc9d59b7ec26e01186fa541e76e4526035e63a60c0ec1e1f35bdb11b1c4dc0aca7ef17f5f338b4550bd4396d512c1decbf9d8d6068
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch b/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch
new file mode 100644
index 000000000000..de903c63142c
--- /dev/null
+++ b/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/871054
+--- a/libstroke/stroke.c
++++ b/libstroke/stroke.c
+@@ -13,2 +13,3 @@
+ #include <stdio.h>
++#include <string.h>
+ #include <math.h>
diff --git a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild b/dev-libs/libstroke/libstroke-0.5.1-r2.ebuild
index 5abb144b665b..884a05341d0b 100644
--- a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild
+++ b/dev-libs/libstroke/libstroke-0.5.1-r2.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
-DESCRIPTION="A Stroke and Gesture recognition Library"
-HOMEPAGE="http://www.etla.net/libstroke/"
-SRC_URI="http://www.etla.net/libstroke/${P}.tar.gz"
+DESCRIPTION="Stroke and Gesture recognition Library"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -22,19 +22,17 @@ PATCHES=(
"${FILESDIR}"/${P}-m4_syntax.patch
"${FILESDIR}"/${P}-no_gtk1.patch
"${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {
default
- mv configure.{in,ac} || die
- eautoreconf
-}
-src_configure() {
- econf --disable-static
+ eautoreconf
}
src_install() {
default
- find "${ED}" -name '*.la' -delete || die
+
+ find "${ED}" -type f -name '*.la' -delete || die
}