- Add 0001-dbop_mysql-remove-extraneous-DEFAULT-keyword-in-clas.patch

OBS-URL: https://build.opensuse.org/package/show/server:mail/gromox?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2023-04-17 11:59:06 +00:00 committed by Git OBS Bridge
parent 26a96a76e1
commit 79f1c0fc3a
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From 6a53ab4e03588a26dcaf77c1948ac843c9366898 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 16 Apr 2023 14:31:08 +0200
Subject: [PATCH] dbop_mysql: remove extraneous DEFAULT keyword in "classes"
table CREATE statement
Fixes: gromox-2.7-154-g7d7944f9d
References: GXF-991
---
lib/dbop_mysql.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git lib/dbop_mysql.cpp lib/dbop_mysql.cpp
index 2a172a38d..ea091ed5c 100644
--- lib/dbop_mysql.cpp
+++ lib/dbop_mysql.cpp
@@ -428,7 +428,7 @@ static constexpr char tbl_classes_top[] =
"CREATE TABLE `classes` ("
" `id` int(10) unsigned NOT NULL AUTO_INCREMENT,"
" `classname` varchar(128) NOT NULL,"
-" `listname` varchar(320) CHARACTER SET ascii DEFAULT NOT NULL,"
+" `listname` varchar(320) CHARACTER SET ascii NOT NULL,"
" `filters` TEXT,"
" `domain_id` int(10) unsigned NOT NULL,"
" PRIMARY KEY (`id`),"
--
2.40.0

View File

@ -11,6 +11,7 @@ Sat Apr 15 10:07:22 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
OL/g-web) is no longer tied to visibility in the GAL.
* Support for non-default stores in the IMAP and POP3 protocols;
use "actualusername!sharedmbox" as the username for login.
- Add 0001-dbop_mysql-remove-extraneous-DEFAULT-keyword-in-clas.patch
-------------------------------------------------------------------
Fri Mar 24 01:13:00 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -28,6 +28,7 @@ URL: https://grommunio.com/
Source: https://github.com/grommunio/gromox/releases/download/%name-%version/%name-%version.tar.zst
Source2: https://github.com/grommunio/gromox/releases/download/%name-%version/%name-%version.tar.asc
Source8: %name.keyring
Patch1: 0001-dbop_mysql-remove-extraneous-DEFAULT-keyword-in-clas.patch
BuildRequires: automake >= 1.11
BuildRequires: fdupes
BuildRequires: gcc-c++
@ -119,7 +120,7 @@ ready-to-run installation of Gromox.
%build
autoreconf -fi
%configure CFLAGS="%optflags -Og" CXXFLAGS="%optflags -Og"
%configure
%make_build V=1
%install