FreeBSD Bugzilla – Attachment 232769 Details for
Bug 262877
textproc/libxml2: Enable symbol versioning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
textproc_libxml2.patch (text/plain), 1.06 KB, created by
Yasuhiro Kimura
on 2022-03-28 05:15:39 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2022-03-28 05:15:39 UTC
Size:
1.06 KB
patch
obsolete
>From 8ff48a225e8240f62fabdc83f3612fa40008506b Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@FreeBSD.org> >Date: Mon, 28 Mar 2022 14:00:52 +0900 >Subject: [PATCH] textproc/libxml2: Enable symbol versioning > >Symbol versioning is supported with GNU Autotools but not with CMake. >So enable it by adding options to LDFLAGS. > >Suggested by: jbeich >--- > textproc/libxml2/Makefile | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile >index 4c35a6fa4eb7..48eac5148089 100644 >--- a/textproc/libxml2/Makefile >+++ b/textproc/libxml2/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= libxml2 > DISTVERSION= 2.9.13 >-PORTREVISION?= 0 >+PORTREVISION?= 1 > CATEGORIES?= textproc gnome > MASTER_SITES= GNOME/sources/${PORTNAME}/${DISTVERSION:R}/ > DIST_SUBDIR= gnome2 >@@ -17,6 +17,8 @@ USES+= cmake cpe iconv localbase:ldflags pkgconfig tar:xz > CPE_VENDOR= xmlsoft > USE_LDCONFIG= yes > >+LDFLAGS+= -Wl,--version-script=${WRKSRC}/libxml2.syms >+ > PLIST_SUB+= LIBVERSION=${DISTVERSION} > > # Don't build with Python support unless requested >-- >2.35.1 >
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 262877
:
232769
|
232791