summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-02-20 18:49:31 +0100
committerPacho Ramos <pacho@gentoo.org>2016-02-20 18:51:06 +0100
commit760e17fcbac1b8c04a96ab08306dbcc644131dfb (patch)
treee89f1b472226b0439a5a08e98af7fca11f0e892c /dev-tcltk
parentsys-fs/pytagsfs: distutils-r1 + EAPI 5 (diff)
downloadgentoo-760e17fcbac1b8c04a96ab08306dbcc644131dfb.tar.gz
gentoo-760e17fcbac1b8c04a96ab08306dbcc644131dfb.tar.bz2
gentoo-760e17fcbac1b8c04a96ab08306dbcc644131dfb.zip
Remove masked for removal packages
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tcl-sql/Manifest1
-rw-r--r--dev-tcltk/tcl-sql/files/fix-const.patch101
-rw-r--r--dev-tcltk/tcl-sql/files/ldflags.patch28
-rw-r--r--dev-tcltk/tcl-sql/metadata.xml11
-rw-r--r--dev-tcltk/tcl-sql/tcl-sql-20000114-r2.ebuild38
5 files changed, 0 insertions, 179 deletions
diff --git a/dev-tcltk/tcl-sql/Manifest b/dev-tcltk/tcl-sql/Manifest
deleted file mode 100644
index 7eab16f7e3c8..000000000000
--- a/dev-tcltk/tcl-sql/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tcl-sql-20000114.tgz 159365 SHA256 203acb2dac5589bd730482995887f328efc40d8881ea1365d96d4340fdcdb53b SHA512 ba16bd0e4a3483b7d2786783ed299732691efd27b43c87143d9037ea4da91ab49d3b66b0967e95baebedb9f778de620313fdf6f2ecdd69ebd6de054b4fbe806f WHIRLPOOL e50173b2b19a66eb31bb1b8b2578fa1a344e5b83ebea016dc9b172f0f48ab8f025e2e7024ddc29fa0134a446638e9bea6a803b7fbd73c19fc584e51b4c856b04
diff --git a/dev-tcltk/tcl-sql/files/fix-const.patch b/dev-tcltk/tcl-sql/files/fix-const.patch
deleted file mode 100644
index 64289472265a..000000000000
--- a/dev-tcltk/tcl-sql/files/fix-const.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-diff -urN tcl-sql.old/sql-mysql.cc tcl-sql/sql-mysql.cc
---- tcl-sql.old/sql-mysql.cc 2000-01-12 20:50:03.000000000 -0500
-+++ tcl-sql/sql-mysql.cc 2004-08-08 13:15:15.820828056 -0400
-@@ -1,3 +1,4 @@
-+#define USE_OLD_FUNCTIONS
- #include "tcl.h"
- #include "sql-mysql.h"
-
-@@ -20,7 +21,7 @@
- // -------------------------------------------------------------
- char *
- Sql_mysql::getErrorMsg() {
-- char *msg = mysql_error(&mysql);
-+ char *msg = (char *)mysql_error(&mysql);
- if (*msg == '\0') {
- return errormsg;
- } else {
-@@ -71,7 +72,7 @@
-
- // -------------------------------------------------------------
- int
--Sql_mysql::numRows(int resHandle=0) {
-+Sql_mysql::numRows(int resHandle) {
- if (!results[resHandle]) { return -1; }
- return(mysql_num_rows(results[resHandle]));
- }
-@@ -109,7 +110,7 @@
-
- // -------------------------------------------------------------
- void
--Sql_mysql::endquery(int resHandle=0) {
-+Sql_mysql::endquery(int resHandle) {
- if (!results[resHandle]) return;
- mysql_free_result(results[resHandle]);
- results[resHandle] = NULL;
-@@ -120,7 +121,7 @@
- // Note: A new Sql_row is allocated. Has to be freed by calling
- // party.
- Sql_row *
--Sql_mysql::fetchrow(int resHandle=0) {
-+Sql_mysql::fetchrow(int resHandle) {
-
- if (!results[resHandle]) {
- sprintf(errormsg, "Result handle [%d] not in use.\n", resHandle);
-diff -urN tcl-sql.old/sql.cc tcl-sql/sql.cc
---- tcl-sql.old/sql.cc 2000-01-12 20:53:23.000000000 -0500
-+++ tcl-sql/sql.cc 2004-08-08 13:12:57.058923072 -0400
-@@ -122,7 +122,7 @@
-
- // -------------------------------------------------------------
- //
--int SqlCmd(ClientData clientData, Tcl_Interp *interp, int argc, char **argv)
-+int SqlCmd(ClientData clientData, Tcl_Interp *interp, int argc, const char **argv)
- {
- if (argc == 1) {
- Tcl_SetResult(interp, "Usage: sql command ?handle?", TCL_STATIC);
-@@ -137,7 +137,7 @@
-
- // -----------------------------------
- if (strcmp(argv[1], "connect")==0) {
-- c = mgr->connect(argc-2, argv+2);
-+ c = mgr->connect(argc-2, (char **)(argv+2));
- if (c < 0) {
- char *basemsg = "Unable to Connect: ";
- char *errmsg = mgr->getErrorMsg();
-@@ -160,7 +160,7 @@
- if (argc <= 2) {
- Tcl_SetResult(interp, "Usage:\nsql command handle", TCL_STATIC);
- return TCL_ERROR;
-- } else if ((connid = stripPrefix(argv[2], HANDLE_PREFIX)) < 0) {
-+ } else if ((connid = stripPrefix((char *)argv[2], HANDLE_PREFIX)) < 0) {
- Tcl_AppendResult(interp, "sql: Invalid handle: ", argv[2], NULL);
- return TCL_ERROR;
- } else if (!mgr->inUse(connid)) {
-@@ -172,19 +172,19 @@
-
- // take care of the command:
- if (strcmp(argv[1], "exec") == 0) {
-- res = execCmd(interp, conn, argv[3]);
-+ res = execCmd(interp, conn, (char *)argv[3]);
- } else if (strcmp(argv[1], "query") == 0) {
-- res = queryCmd(interp, conn, argv[3]);
-+ res = queryCmd(interp, conn, (char *)argv[3]);
- } else if (strcmp(argv[1], "endquery") == 0) {
-- res = endqueryCmd(interp, conn, argv[3]);
-+ res = endqueryCmd(interp, conn, (char *)argv[3]);
- } else if (strcmp(argv[1], "fetchrow") == 0) {
-- res = fetchrowCmd(interp, conn, argv[3]);
-+ res = fetchrowCmd(interp, conn, (char *)argv[3]);
- } else if (strcmp(argv[1], "numrows") == 0) {
-- res = numrowsCmd(interp, conn, argv[3]);
-+ res = numrowsCmd(interp, conn, (char *)argv[3]);
- } else if (strcmp(argv[1], "disconnect") == 0) {
- res = disconnectCmd(interp, mgr, connid);
- } else if (strcmp(argv[1], "selectdb")==0) {
-- res = selectdbCmd(interp, conn, argv[3]);
-+ res = selectdbCmd(interp, conn, (char *)argv[3]);
- } else {
- Tcl_AppendResult(interp, "sql: unknown sql command: ", argv[1], NULL);
- return TCL_ERROR;
-
diff --git a/dev-tcltk/tcl-sql/files/ldflags.patch b/dev-tcltk/tcl-sql/files/ldflags.patch
deleted file mode 100644
index 2099ed115f95..000000000000
--- a/dev-tcltk/tcl-sql/files/ldflags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 81a80ea..7738920 100644
---- a/Makefile
-+++ b/Makefile
-@@ -22,8 +22,8 @@ OBJS = $(SRC:%.cc=$(OBJ_DIR)/%.o)
-
- # -- Configurable parameters: ----------------------------
- # Section II:
--CC = g++
--LD = g++
-+CXX ?= g++
-+LD ?= g++
- FLAGS = -Wall
- # include the path to your libmysqlclient as one of the -L's
- LD_FLAGS = -L/usr/lib/mysql -L/usr/local/mysql/lib \
-@@ -69,10 +69,10 @@ CURDATE = `date +%y%m%d`
- all: sql.so
-
- $(OBJ_DIR)/%.o: %.cc
-- $(CC) -c $(INCLUDE) $(EXTRA_FLAGS) $(FLAGS) -o $@ $<
-+ $(CXX) $(CXXFLAGS) -c $(INCLUDE) $(EXTRA_FLAGS) $(FLAGS) -o $@ $<
-
- sql.so: $(OBJS)
-- $(LD) $(OBJS) $(EXTRA_LINKS) $(LD_FLAGS) $(EXTRA_LD_FLAGS) -o sql.so
-+ $(CXX) $(LDFLAGS) $(EXTRA_LINKS) $(OBJS) -o sql.so $(LD_FLAGS) $(EXTRA_LD_FLAGS) -ltcl
-
- clean:
- @ rm -f *~ $(OBJ_DIR)/*.o sql.so
diff --git a/dev-tcltk/tcl-sql/metadata.xml b/dev-tcltk/tcl-sql/metadata.xml
deleted file mode 100644
index 958870d1d6a3..000000000000
--- a/dev-tcltk/tcl-sql/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>tcltk@gentoo.org</email>
- <description>TCL / TK herd</description>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">tcl-sql</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-tcltk/tcl-sql/tcl-sql-20000114-r2.ebuild b/dev-tcltk/tcl-sql/tcl-sql-20000114-r2.ebuild
deleted file mode 100644
index f1b7b96641fe..000000000000
--- a/dev-tcltk/tcl-sql/tcl-sql-20000114-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="A generic Tcl interface to SQL databases"
-HOMEPAGE="http://www.parand.com/tcl-sql/"
-SRC_URI="mirror://sourceforge/tcl-sql/${PN}-${PV}.tgz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-DEPEND="
- dev-lang/tcl:0=
- virtual/mysql"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/${PN}
-
-src_prepare() {
- find . -type f -exec chmod 644 '{}' \; || die
- epatch \
- "${FILESDIR}"/fix-const.patch \
- "${FILESDIR}"/ldflags.patch
- tc-export CXX
-}
-
-src_install() {
- exeinto /usr/$(get_libdir)/${P}
- doexe sql.so
- dodoc CHANGES.txt CODE_DESCRIPTION.txt docs/sample.full.txt docs/sample.simple.txt
- dohtml README.html docs/api.html
-}