FreeBSD Bugzilla – Attachment 252071 Details for
Bug 280295
databases/ocaml-sqlite3: Update to 5.1.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ocaml-sqlite-5.1.0.patch
ocaml-sqlite-5.1.0.patch (text/plain), 4.12 KB, created by
Benjamin Jacobs
on 2024-07-15 12:11:05 UTC
(
hide
)
Description:
ocaml-sqlite-5.1.0.patch
Filename:
MIME Type:
Creator:
Benjamin Jacobs
Created:
2024-07-15 12:11:05 UTC
Size:
4.12 KB
patch
obsolete
>From ecba82ced6715dbbdc807914d4956044154b8624 Mon Sep 17 00:00:00 2001 >From: Benjamin Jacobs <freebsd@dev.thsi.be> >Date: Mon, 3 Jun 2024 22:11:52 +0000 >Subject: [PATCH] databases/ocaml-sqlite3: Update to 5.1.0 > > >diff --git a/databases/ocaml-sqlite3/Makefile b/databases/ocaml-sqlite3/Makefile >index c9eb0e19baf7..d5548f70ed5f 100644 >--- a/databases/ocaml-sqlite3/Makefile >+++ b/databases/ocaml-sqlite3/Makefile >@@ -1,7 +1,5 @@ > PORTNAME= sqlite3 >-PORTVERSION= 4.0.5 >-DISTVERSIONPREFIX= v >-PORTREVISION= 2 >+PORTVERSION= 5.1.0 > CATEGORIES= databases > PKGNAMEPREFIX= ocaml- > >@@ -11,36 +9,27 @@ WWW= https://mmottl.github.io/sqlite3-ocaml/ > > LICENSE= OCSQLT3 > LICENSE_NAME= OCaml-SQLite3 unique permissive license >-LICENSE_FILE= ${WRKSRC}/COPYING.txt >+LICENSE_FILE= ${WRKSRC}/LICENSE.md > LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept > > BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild > >-USES= compiler:features gmake pkgconfig sqlite >-USE_OCAML= yes >-USE_OCAML_FINDLIB= yes >+USES= ocaml:dune pkgconfig sqlite >+USE_GITHUB= yes >+USE_OCAML= yes > USE_OCAML_LDCONFIG= yes >-USE_OCAMLFIND_PLIST= yes >-HAS_CONFIGURE= yes >-MAKE_JOBS_UNSAFE= yes >-CONFIGURE_ARGS= --destdir "${STAGEDIR}" \ >- --prefix "${PREFIX}" > > GH_ACCOUNT= mmottl > GH_PROJECT= ${PORTNAME}-ocaml >-USE_GITHUB= yes >- >-post-patch: >- @${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /var/null" :: findlib_name,' \ >- ${WRKSRC}/setup.ml > >-do-configure: >- (cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}) >+DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} >+PORTDOCS= CHANGES.md LICENSE.md README.md > >-do-build: >- (cd ${WRKSRC} && ocaml setup.ml -build) >+OPTIONS_DEFINE= DOCS > >-do-install: >- (cd ${WRKSRC} && ocaml setup.ml -install) >+post-install: >+ @${STRIP_CMD} \ >+ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/dllsqlite3_stubs.so \ >+ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/sqlite3.cmxs > > .include <bsd.port.mk> >diff --git a/databases/ocaml-sqlite3/distinfo b/databases/ocaml-sqlite3/distinfo >index 4841f1cbb8c6..d9a8ca89a108 100644 >--- a/databases/ocaml-sqlite3/distinfo >+++ b/databases/ocaml-sqlite3/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1470261597 >-SHA256 (mmottl-sqlite3-ocaml-v4.0.5_GH0.tar.gz) = bf0bdc597533d62b8de2798e9aa46c37570875cb4af4f9f42fba21dd59f3f0cb >-SIZE (mmottl-sqlite3-ocaml-v4.0.5_GH0.tar.gz) = 67839 >+TIMESTAMP = 1717452118 >+SHA256 (mmottl-sqlite3-ocaml-5.1.0_GH0.tar.gz) = 046ceaacb08f97a699eddd6d3201b4586ea3ec3ed59adc019e97ce1490090086 >+SIZE (mmottl-sqlite3-ocaml-5.1.0_GH0.tar.gz) = 33362 >diff --git a/databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c b/databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c >deleted file mode 100644 >index 94338598c7ca..000000000000 >--- a/databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c >+++ /dev/null >@@ -1,14 +0,0 @@ >-$NetBSD: patch-lib_sqlite3_stubs.c,v 1.1 2012/09/16 11:34:46 jaapb Exp $ >- >-Correct system-dependent defines >---- lib/sqlite3_stubs.c.orig 2012-07-20 15:39:49 UTC >-+++ lib/sqlite3_stubs.c >-@@ -40,7 +40,7 @@ >- >- #if __GNUC__ >= 3 >- # define inline inline __attribute__ ((always_inline)) >--# if !defined(__FreeBSD__) && !__APPLE__ >-+# if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !__APPLE__ >- # define __unused __attribute__ ((unused)) >- # endif >- #else >diff --git a/databases/ocaml-sqlite3/pkg-plist b/databases/ocaml-sqlite3/pkg-plist >new file mode 100644 >index 000000000000..cd7b949708b9 >--- /dev/null >+++ b/databases/ocaml-sqlite3/pkg-plist >@@ -0,0 +1,15 @@ >+%%OCAML_SITELIBDIR%%/sqlite3/META >+%%OCAML_SITELIBDIR%%/sqlite3/dllsqlite3_stubs.so >+%%OCAML_SITELIBDIR%%/sqlite3/dune-package >+%%OCAML_SITELIBDIR%%/sqlite3/libsqlite3_stubs.a >+%%OCAML_SITELIBDIR%%/sqlite3/opam >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.a >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.cma >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.cmi >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.cmt >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.cmti >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.cmx >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.cmxa >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.cmxs >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.ml >+%%OCAML_SITELIBDIR%%/sqlite3/sqlite3.mli
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280295
: 252071