git: 6b994af3b2f8 - main - graphics/resvg-capi: Add SONAME
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 05:53:24 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6b994af3b2f8509b1a1bed5e2f913ff5ff0a43bf
commit 6b994af3b2f8509b1a1bed5e2f913ff5ff0a43bf
Author: Tatsuki Makino <tatsuki_makino@hotmail.com>
AuthorDate: 2023-01-11 05:53:04 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-11 05:53:21 +0000
graphics/resvg-capi: Add SONAME
---
graphics/resvg-capi/Makefile | 1 +
graphics/resvg-capi/files/patch-build.rs | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/graphics/resvg-capi/Makefile b/graphics/resvg-capi/Makefile
index c7947c9c8382..7a27c6ec8713 100644
--- a/graphics/resvg-capi/Makefile
+++ b/graphics/resvg-capi/Makefile
@@ -1,6 +1,7 @@
PORTNAME= resvg-c-api
DISTVERSIONPREFIX= v
DISTVERSION= 0.28.0
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
diff --git a/graphics/resvg-capi/files/patch-build.rs b/graphics/resvg-capi/files/patch-build.rs
new file mode 100644
index 000000000000..e90203c46688
--- /dev/null
+++ b/graphics/resvg-capi/files/patch-build.rs
@@ -0,0 +1,8 @@
+-- add SONAME
+
+--- build.rs.orig 1970-01-01 00:00:00 UTC
++++ build.rs
+@@ -0,0 +1,3 @@
++fn main() {
++ println!("cargo:rustc-cdylib-link-arg=-Wl,-soname,libresvg.so");
++}