diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-tcltk/mysqltcl | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-tcltk/mysqltcl')
| -rw-r--r-- | dev-tcltk/mysqltcl/Manifest | 1 | ||||
| -rw-r--r-- | dev-tcltk/mysqltcl/files/mysqltcl-3.05-API.patch | 11 | ||||
| -rw-r--r-- | dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch | 16 | ||||
| -rw-r--r-- | dev-tcltk/mysqltcl/files/mysqltcl-3.052-c23.patch | 22 | ||||
| -rw-r--r-- | dev-tcltk/mysqltcl/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-tcltk/mysqltcl/mysqltcl-3.052-r3.ebuild | 39 |
6 files changed, 98 insertions, 0 deletions
diff --git a/dev-tcltk/mysqltcl/Manifest b/dev-tcltk/mysqltcl/Manifest new file mode 100644 index 000000000000..edd471ae1392 --- /dev/null +++ b/dev-tcltk/mysqltcl/Manifest @@ -0,0 +1 @@ +DIST mysqltcl-3.052.tar.gz 187781 BLAKE2B 0fe9b145556de22364187de980d737cae99a5a18763b1e3b28e4aa849f7b0b30be543cfa956c37b15e756f75ec5804e92b8b452410d542c3c3390e52d88d0419 SHA512 f5af18ad9bbaedb1fdcdbaa326b5c4cc3f754b14ee9bdf9cbfa0e1a44227ec918426022aaa0f26a71fa1a3bce6b6d8d75f8612de7f540f287fd418088c91fddf diff --git a/dev-tcltk/mysqltcl/files/mysqltcl-3.05-API.patch b/dev-tcltk/mysqltcl/files/mysqltcl-3.05-API.patch new file mode 100644 index 000000000000..579057268889 --- /dev/null +++ b/dev-tcltk/mysqltcl/files/mysqltcl-3.05-API.patch @@ -0,0 +1,11 @@ +--- a/generic/mysqltcl.c 2022-12-24 18:24:12.451620838 +0100 ++++ b/generic/mysqltcl.c 2022-12-24 18:24:24.075438534 +0100 +@@ -911,7 +911,7 @@ + #if (MYSQL_VERSION_ID>=32350) + if(mysql_options_reconnect) + { +- my_bool reconnect = 1; ++ bool reconnect = 1; + mysql_options(handle->connection, MYSQL_OPT_RECONNECT, &reconnect); + } + mysql_options(handle->connection,MYSQL_READ_DEFAULT_GROUP,groupname); diff --git a/dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch b/dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch new file mode 100644 index 000000000000..5aa440332153 --- /dev/null +++ b/dev-tcltk/mysqltcl/files/mysqltcl-3.05-ldflags.patch @@ -0,0 +1,16 @@ + Makefile.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 0552d56..e32a0b4 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -107,7 +107,7 @@ OBJEXT = @OBJEXT@ + RANLIB = @RANLIB@ + RANLIB_STUB = @RANLIB_STUB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ +-SHLIB_LD = @SHLIB_LD@ ++SHLIB_LD = @SHLIB_LD@ $(LDFLAGS) + SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ @MYSQL_LIBS@ + STLIB_LD = @STLIB_LD@ + #TCL_DEFS = @TCL_DEFS@ diff --git a/dev-tcltk/mysqltcl/files/mysqltcl-3.052-c23.patch b/dev-tcltk/mysqltcl/files/mysqltcl-3.052-c23.patch new file mode 100644 index 000000000000..df66202afa25 --- /dev/null +++ b/dev-tcltk/mysqltcl/files/mysqltcl-3.052-c23.patch @@ -0,0 +1,22 @@ +--- a/generic/mysqltcl.c 2025-04-06 09:16:50.402168333 +0200 ++++ b/generic/mysqltcl.c 2025-04-06 09:17:26.718696196 +0200 +@@ -2642,8 +2642,7 @@ + #ifdef _WINDOWS + __declspec( dllexport ) + #endif +-int Mysqltcl_Init(interp) +- Tcl_Interp *interp; ++int Mysqltcl_Init(Tcl_Interp *interp) + { + char nbuf[MYSQL_SMALL_SIZE]; + MysqltclState *statePtr; +@@ -2763,8 +2762,7 @@ + #ifdef _WINDOWS + __declspec( dllexport ) + #endif +-int Mysqltcl_SafeInit(interp) +- Tcl_Interp *interp; ++int Mysqltcl_SafeInit(Tcl_Interp *interp) + { + return Mysqltcl_Init(interp); + } diff --git a/dev-tcltk/mysqltcl/metadata.xml b/dev-tcltk/mysqltcl/metadata.xml new file mode 100644 index 000000000000..1756b374c112 --- /dev/null +++ b/dev-tcltk/mysqltcl/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tcltk@gentoo.org</email> + <name>Gentoo Tcltk Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-tcltk/mysqltcl/mysqltcl-3.052-r3.ebuild b/dev-tcltk/mysqltcl/mysqltcl-3.052-r3.ebuild new file mode 100644 index 000000000000..3056060ee30b --- /dev/null +++ b/dev-tcltk/mysqltcl/mysqltcl-3.052-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit edos2unix + +DESCRIPTION="TCL MySQL Interface" +HOMEPAGE="http://www.xdobry.de/mysqltcl/" +SRC_URI="http://www.xdobry.de/mysqltcl/${P}.tar.gz" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" + +DEPEND=" + <dev-lang/tcl-9:0= + dev-db/mysql-connector-c:0=" +RDEPEND="${DEPEND}" + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 # used to test for Large File Support +) + +PATCHES=( + "${FILESDIR}"/${PN}-3.05-ldflags.patch + "${FILESDIR}"/${PN}-3.05-API.patch + "${FILESDIR}"/${P}-c23.patch +) +HTML_DOCS=( doc/mysqltcl.html ) + +src_prepare() { + edos2unix generic/mysqltcl.c + default_src_prepare + sed -i 's/-pipe//g;s/-O2//g;s/-fomit-frame-pointer//g' configure || die +} + +src_configure() { + econf --with-mysql-lib=$(mysql_config --variable=pkglibdir) +} |
