pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/dino
Module Name: pkgsrc
Committed By: nia
Date: Sat May 1 08:54:00 UTC 2021
Modified Files:
pkgsrc/chat/dino: distinfo
Added Files:
pkgsrc/chat/dino/patches: patch-qlite_src_column.vala
Log Message:
dino: Fix build with latest vala.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/dino/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/dino/patches/patch-qlite_src_column.vala
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/dino/distinfo
diff -u pkgsrc/chat/dino/distinfo:1.2 pkgsrc/chat/dino/distinfo:1.3
--- pkgsrc/chat/dino/distinfo:1.2 Fri Nov 13 09:41:46 2020
+++ pkgsrc/chat/dino/distinfo Sat May 1 08:53:59 2021
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2020/11/13 09:41:46 nia Exp $
+$NetBSD: distinfo,v 1.3 2021/05/01 08:53:59 nia Exp $
SHA1 (dino-0.2.0.tar.gz) = bc1f48d0d6f75011386ca4941f6bffc40960b45f
RMD160 (dino-0.2.0.tar.gz) = babe1f651a394f756aee57df77a6e7bd5744c139
SHA512 (dino-0.2.0.tar.gz) = 296576f91d45a4dd8c548a7ca5b47bcaf847f6ff0f8e5dbafaa4eb49a2d4f1ed7e2bbfac94f1b32e22f5ec61b23748ac76b12bb4ceb710889aff166953ca7a2e
Size (dino-0.2.0.tar.gz) = 514257 bytes
SHA1 (patch-main_CMakeLists.txt) = 8e6ddf182ba3b60d14d41b6dd902d473ae3b9ffe
+SHA1 (patch-qlite_src_column.vala) = 08061045f082c6ce2a21845c9bfd2f89bee3b02b
Added files:
Index: pkgsrc/chat/dino/patches/patch-qlite_src_column.vala
diff -u /dev/null pkgsrc/chat/dino/patches/patch-qlite_src_column.vala:1.1
--- /dev/null Sat May 1 08:54:00 2021
+++ pkgsrc/chat/dino/patches/patch-qlite_src_column.vala Sat May 1 08:53:59 2021
@@ -0,0 +1,34 @@
+$NetBSD: patch-qlite_src_column.vala,v 1.1 2021/05/01 08:53:59 nia Exp $
+
+[PATCH] QLite: Adjust Real for latest vala version
+https://github.com/dino/dino/commit/9acb54df9254609f2fe4de83c9047d408412de28.patch
+
+--- qlite/src/column.vala.orig 2020-11-12 18:00:00.000000000 +0000
++++ qlite/src/column.vala
+@@ -96,12 +96,14 @@ public abstract class Column<T> {
+ }
+ }
+
+- public class Real : Column<double> {
+- public Real(string name) {
++ public class NullableReal : Column<double?> {
++ public NullableReal(string name) {
+ base(name, FLOAT);
+ }
+
+- public override double get(Row row, string? table_name = DEFALT_TABLE_NAME) {
++ public override bool not_null { get { return false; } set {} }
++
++ public override double? get(Row row, string? table_name = DEFALT_TABLE_NAME) {
+ return row.get_real(name, table_name == DEFALT_TABLE_NAME ? table.name : table_name);
+ }
+
+@@ -109,7 +111,7 @@ public abstract class Column<T> {
+ return !row.has_real(name, table_name == DEFALT_TABLE_NAME ? table.name : table_name);
+ }
+
+- internal override void bind(Statement stmt, int index, double value) {
++ internal override void bind(Statement stmt, int index, double? value) {
+ stmt.bind_double(index, value);
+ }
+ }
Home |
Main Index |
Thread Index |
Old Index