summaryrefslogtreecommitdiff
path: root/misc/cdcollect/files/patch-src_DBsql.cs
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-02-14 13:02:24 +0000
committerRene Ladan <rene@FreeBSD.org>2021-02-14 13:02:24 +0000
commit23d611bac7febbc5e442b4e6ba23eada5b1dbc55 (patch)
tree3d1e4a4c0ccdce85f0d7706631f250907b6b12dc /misc/cdcollect/files/patch-src_DBsql.cs
parentFix index after r565221 (diff)
Remove expired ports:
2021-02-12 misc/cdcollect: Unmaintained and dead upstream (12+ years) depends on deprecated libraries as www/gtkhtml3. 2021-02-12 security/krb5-116: EOL one year after the release of krb5 1.18
Notes
Notes: svn path=/head/; revision=565223
Diffstat (limited to 'misc/cdcollect/files/patch-src_DBsql.cs')
-rw-r--r--misc/cdcollect/files/patch-src_DBsql.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/misc/cdcollect/files/patch-src_DBsql.cs b/misc/cdcollect/files/patch-src_DBsql.cs
deleted file mode 100644
index 2083e9194b9b..000000000000
--- a/misc/cdcollect/files/patch-src_DBsql.cs
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/DBsql.cs.orig 2006-11-24 17:12:13 UTC
-+++ src/DBsql.cs
-@@ -958,10 +958,10 @@ public class CDDatabaseSql
- private int sql_command_id (string comm)
- {
- IDbCommand command = sqlite_connection.CreateCommand ();
-- command.CommandText = comm;
-- command.ExecuteScalar ();
-+ command.CommandText = comm + "; SELECT last_insert_rowid() AS [ID]";
-+ string s = command.ExecuteScalar ().ToString ();
- command.Dispose ();
-- return (((SqliteConnection)sqlite_connection).LastInsertRowId);
-+ return Int32.Parse (s);
- }
-
- private void sql_command (string comm)