Hello community, here is the log from the commit of package pgloader for openSUSE:Factory checked in at 2020-10-13 15:45:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pgloader (Old) and /work/SRC/openSUSE:Factory/.pgloader.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pgloader" Tue Oct 13 15:45:45 2020 rev:6 rq:841426 version:3.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/pgloader/pgloader.changes 2020-07-20 21:03:51.393244105 +0200 +++ /work/SRC/openSUSE:Factory/.pgloader.new.3486/pgloader.changes 2020-10-13 15:46:16.949466200 +0200 @@ -1,0 +2,6 @@ +Tue Oct 13 06:57:29 UTC 2020 - Bruno Friedmann <br...@ioda-net.ch> + +- fix compilation errors with sbcl 2.0.9 by using upstream patch + for csv-cl component 82397a78.patch + +------------------------------------------------------------------- New: ---- 82397a78.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pgloader.spec ++++++ --- /var/tmp/diff_new_pack.JPeTqS/_old 2020-10-13 15:46:18.429466839 +0200 +++ /var/tmp/diff_new_pack.JPeTqS/_new 2020-10-13 15:46:18.433466841 +0200 @@ -25,6 +25,8 @@ URL: https://pgloader.io Source: https://github.com/dimitri/%{name}/releases/download/v%{version}/%{name}-bundle-%{version}.tgz Patch1: command-line-arguments.patch +#Fix build error with sbcl 2.0.9 +Patch2: https://github.com/AccelerationNet/cl-csv/commit/82397a78.patch BuildRequires: fdupes BuildRequires: freetds-devel BuildRequires: pkgconfig @@ -58,6 +60,9 @@ %setup -q -n %{name}-bundle-%{version} %patch1 -p1 +cd local-projects/cl-csv +%patch2 -p1 +cd ../.. %build export CCFLAGS="%{optflags}" ++++++ 82397a78.patch ++++++ >From 82397a78173e01defa53463468a7cf892d979377 Mon Sep 17 00:00:00 2001 From: Cyrus Harmon <ch-git...@bobobeach.com> Date: Mon, 28 Sep 2020 21:17:53 -0700 Subject: [PATCH] add (or ... null) to read-dispatch-table-entry field types --- parser.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser.lisp b/parser.lisp index 6763791..e89e0ce 100644 --- a/parser.lisp +++ b/parser.lisp @@ -31,12 +31,12 @@ See: csv-reader ")) (ignore-errors (format s "~S" (string (buffer o)))))) (defclass read-dispatch-table-entry () - ((delimiter :type (vector (or boolean character)) + ((delimiter :type (or (vector (or boolean character)) null) :accessor delimiter :initarg :delimiter :initform nil) (didx :type fixnum :initform -1 :accessor didx :initarg :didx) (dlen :type fixnum :initform 0 :accessor dlen :initarg :dlen) (dlen-1 :type fixnum :initform -1 :accessor dlen-1 :initarg :dlen-1) - (dispatch :type function :initform nil :accessor dispatch :initarg :dispatch) + (dispatch :type (or function null) :initform nil :accessor dispatch :initarg :dispatch) ) (:documentation "When a certain delimiter is matched it will call a certain function T matches anything