Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2024 17:57:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282716] net-im/gurk-rs: Update to 0.5.2
Message-ID:  <bug-282716-7788-LpBSj3OVpv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282716-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282716-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282716

--- Comment #11 from Herbert J. Skuhra <herbert@gojira.at> ---
gurk-rs 0.6.0 is out and I've decided to try again.

Building gurk-rs with databases/sqlcipher on FreeBSD fails because the port
(sqlcipher) is built without "-DSQLITE_ENABLE_COLUMN_METADATA=3D1" resultin=
g in
missing symbols (e.g.: sqlite3_column_table_name).

With the below patch I can build gurk-rs:

diff --git a/databases/sqlcipher/Makefile b/databases/sqlcipher/Makefile
index d83f369394dd..73ec34cf22f8 100644
--- a/databases/sqlcipher/Makefile
+++ b/databases/sqlcipher/Makefile
@@ -17,7 +17,7 @@ USE_GITHUB=3D   yes

 GNU_CONFIGURE=3D yes
 CONFIGURE_ARGS+=3D--enable-tempstore=3Dyes --disable-tcl --disable-readline
-CPPFLAGS+=3D     -DSQLITE_HAS_CODEC
+CPPFLAGS+=3D     -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA=3D1
 LDFLAGS+=3D      -L${LOCALBASE}/lib -L${OPENSSLLIB}
 CFLAGS+=3D       -I${LOCALBASE}/include -I${OPENSSLINC}

(Maybe more changes to databases/sqlcipher are useful - see e.g.
https://gitlab.archlinux.org/archlinux/packaging/packages/sqlcipher/-/blob/=
main/PKGBUILD?ref_type=3Dheads)

I'll update the patch of this PR soon.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282716-7788-LpBSj3OVpv>