mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-tcltk/tktable: add 2.10.8
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST Tktable2.10.tar.gz 284135 BLAKE2B ff3a37aac53418e7993a310d38ae23b7ec2673e0b44c118ff558a6c3c3805b39bf77f099287e91298fb4a6afacebde68a09171c6b90ecd11f48ac2a33fa3b312 SHA512 d69b1c766abb2833f48c900ca4d4fd3927f138ddf728dd76f2087a784604daa4356ec60a146e71d2fb2508a644598711e0373cb81dbfb0272b7ad16a0754e899
|
||||
DIST tktable-2.10.8.tar.gz 308245 BLAKE2B 4ede838e8553244dabd71d9543094bf5dfc82bd74f31ac9b4d4eea7bb2ee7406d90b16198d700eddfccd236160be1b7ed9a1f72f4760a71cddde5e01927ebb42 SHA512 927dad616306f0af477d1ce801ded962d966f7b46904b0a6b6772d1c9140310ff4c93a90ad4cb228495febae8be5f3ded9a328f621ba34195a339fc29d000f04
|
||||
|
||||
20
dev-tcltk/tktable/files/tktable-2.10.8-clang6.patch
Normal file
20
dev-tcltk/tktable/files/tktable-2.10.8-clang6.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/generic/tkTableTag.c 2023-01-17 22:12:25.754449096 +0100
|
||||
+++ b/generic/tkTableTag.c 2023-01-17 22:12:49.819092428 +0100
|
||||
@@ -22,7 +22,7 @@
|
||||
static int TableOptionReliefSet _ANSI_ARGS_((ClientData clientData,
|
||||
Tcl_Interp *interp, Tk_Window tkwin,
|
||||
CONST84 char *value, char *widgRec, int offset));
|
||||
-static char * TableOptionReliefGet _ANSI_ARGS_((ClientData clientData,
|
||||
+static const char *TableOptionReliefGet _ANSI_ARGS_((ClientData clientData,
|
||||
Tk_Window tkwin, char *widgRec, int offset,
|
||||
Tcl_FreeProc **freeProcPtr));
|
||||
|
||||
@@ -1340,7 +1340,7 @@
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
-static char *
|
||||
+static const char *
|
||||
TableOptionReliefGet(clientData, tkwin, widgRec, offset, freeProcPtr)
|
||||
ClientData clientData; /* Type of struct being set. */
|
||||
Tk_Window tkwin; /* Window containing canvas widget. */
|
||||
@@ -7,5 +7,6 @@
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">tktable</remote-id>
|
||||
<remote-id type="github">wjoye/tktable</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
32
dev-tcltk/tktable/tktable-2.10.8.ebuild
Normal file
32
dev-tcltk/tktable/tktable-2.10.8.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="full-featured 2D table widget"
|
||||
HOMEPAGE="https://github.com/wjoye/tktable"
|
||||
SRC_URI="https://github.com/wjoye/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=dev-lang/tk-8.0:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
HTML_DOCS=( doc/tkTable.html )
|
||||
DOCS=( ChangeLog README.txt release.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.10-parallelMake.patch
|
||||
"${FILESDIR}"/${P}-clang6.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e '/^install:/{s: install-doc::}' \
|
||||
-e '/^PKG_EXTRA_FILES/{s:=.*:=:}' -i Makefile.in || die
|
||||
}
|
||||
Reference in New Issue
Block a user