Bug 262942 - databases/sqsh: fix build with FreeTDS 1.2
Summary: databases/sqsh: fix build with FreeTDS 1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/netzbasis/openbsd-...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-30 16:17 UTC by Robert Clausecker
Modified: 2022-04-01 06:39 UTC (History)
2 users (show)

See Also:


Attachments
databases/sqsh: fix build with FreeTDS 1.2 (4.34 KB, patch)
2022-03-30 16:17 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-03-30 16:17:07 UTC
Created attachment 232822 [details]
databases/sqsh: fix build with FreeTDS 1.2

Fix the build by importing a patch from OpenBSD.

Also take up maintainership of this unmaintained port.

Please MFH if possible.

Tested with Poudriere on armv7 i386 amd64 FreeBSD 13.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-03-30 18:43:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4adb2b300ce7447c7cad200741beb9b55884d1a5

commit 4adb2b300ce7447c7cad200741beb9b55884d1a5
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-03-30 18:33:11 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-03-30 18:42:39 +0000

    databases/sqsh: Fix build with FreeTDS 1.2.

    Assume maintainership.

    PR:             262942
    MFH:            2022Q1

 databases/sqsh/Makefile                       | 10 ++++++----
 databases/sqsh/distinfo                       |  4 +++-
 databases/sqsh/files/patch-src_cmd__connect.c | 18 ++++++++++--------
 databases/sqsh/pkg-descr                      |  2 +-
 4 files changed, 20 insertions(+), 14 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-30 18:46:00 UTC
A commit in branch 2022Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f509a7c673eca57ce93840023803708af7ce8ed

commit 3f509a7c673eca57ce93840023803708af7ce8ed
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-03-30 18:33:11 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-03-30 18:45:27 +0000

    databases/sqsh: Fix build with FreeTDS 1.2.

    Assume maintainership.

    PR:             262942
    MFH:            2022Q1
    (cherry picked from commit 4adb2b300ce7447c7cad200741beb9b55884d1a5)

 databases/sqsh/Makefile                       | 10 ++++++----
 databases/sqsh/distinfo                       |  4 +++-
 databases/sqsh/files/patch-src_cmd__connect.c | 18 ++++++++++--------
 databases/sqsh/pkg-descr                      |  2 +-
 4 files changed, 20 insertions(+), 14 deletions(-)
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2022-03-30 18:46:27 UTC
Thanks!
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2022-04-01 06:39:04 UTC
(In reply to Gleb Popov from comment #3)
Clearing MFH flag.

I assume since we are close to branching 2022Q1 we are not going to MFH this.