From 6b994af3b2f8509b1a1bed5e2f913ff5ff0a43bf Mon Sep 17 00:00:00 2001 From: Tatsuki Makino Date: Tue, 10 Jan 2023 21:53:04 -0800 Subject: [PATCH] graphics/resvg-capi: Add SONAME --- graphics/resvg-capi/Makefile | 1 + graphics/resvg-capi/files/patch-build.rs | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 graphics/resvg-capi/files/patch-build.rs 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"); ++}