diff options
Diffstat (limited to 'devel/tinysparql')
-rw-r--r-- | devel/tinysparql/Makefile | 10 | ||||
-rw-r--r-- | devel/tinysparql/distinfo | 6 | ||||
-rw-r--r-- | devel/tinysparql/files/patch-meson.build | 19 |
3 files changed, 27 insertions, 8 deletions
diff --git a/devel/tinysparql/Makefile b/devel/tinysparql/Makefile index 2f9a144574dd..e6329add1581 100644 --- a/devel/tinysparql/Makefile +++ b/devel/tinysparql/Makefile @@ -1,15 +1,15 @@ PORTNAME= tinysparql PORTVERSION= 3.8.2 -PORTREVISION= 2 +PORTREVISION= 4 CATEGORIES= devel -MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} +MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= RDF triple store library with SPARQL 1.1 interface WWW= https://gitlab.gnome.org/GNOME/tinysparql -LICENSES= LGPL21 GPL20 BSD3CLAUSES +LICENSE= LGPL21+ GPLv2+ BSD3CLAUSE LICENSE_COMB= multi BINARY_ALIAS= python3=${PYTHON_VERSION} @@ -21,12 +21,12 @@ LIB_DEPENDS= libavahi-glib.so:net/avahi-app \ libicutu.so:devel/icu \ libjson-glib-1.0.so:devel/json-glib \ -USES= gettext gnome meson pkgconfig sqlite vala:build python:build +USES= gettext gnome meson localbase:ldflags pkgconfig sqlite vala:build python:build \ + tar:xz USE_GNOME= glib20 libxml2 introspection:build pygobject3 CONFIGURE_ARGS= -Dsystemd_user_services=false \ -Dbash_completion=true \ -Dbash_completion_dir=${PREFIX}/etc/bash_completion.d \ -Ddocs=false -LDFLAGS= -L${LOCALBASE}/lib .include <bsd.port.mk> diff --git a/devel/tinysparql/distinfo b/devel/tinysparql/distinfo index f5d92e1edf16..66e6b0d7d1c8 100644 --- a/devel/tinysparql/distinfo +++ b/devel/tinysparql/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1741105070 -SHA256 (gnome/tinysparql-3.8.2.tar.gz) = c64fdbf21629ceb46815e06afa3882ae4dbdefe0c9c6b581ffaeb4462474f791 -SIZE (gnome/tinysparql-3.8.2.tar.gz) = 2832924 +TIMESTAMP = 1744989275 +SHA256 (gnome/tinysparql-3.8.2.tar.xz) = bb8643386c8edc591a03205d4a0eda661dcdd2094473bffb9bbdb94e93589cb2 +SIZE (gnome/tinysparql-3.8.2.tar.xz) = 2114784 diff --git a/devel/tinysparql/files/patch-meson.build b/devel/tinysparql/files/patch-meson.build new file mode 100644 index 000000000000..6b78301553ec --- /dev/null +++ b/devel/tinysparql/files/patch-meson.build @@ -0,0 +1,19 @@ +--- meson.build.orig 2024-12-13 13:08:09 UTC ++++ meson.build +@@ -194,14 +194,14 @@ result = cc.run(''' + + int main (int argc, char *argv[]) { + char *modifiers[] = { "%Y", "%C%y", "%4Y", "%2C%y", NULL }; +- time_t timestamp = -58979923200; /* 0101-01-01T01:01:01Z */ ++ time_t timestamp = 0; /* 1970-01-01T00:00:00Z */ + char buf[100]; + struct tm tm; + int i; + gmtime_r (×tamp, &tm); + for (i = 0; modifiers[i]; i++) { + strftime (buf, sizeof buf, modifiers[i], &tm); +- if (strcmp (buf, "0101") == 0) { ++ if (strcmp (buf, "1970") == 0) { + printf ("%s", modifiers[i]); + return 0; + } |