aboutsummaryrefslogtreecommitdiff
path: root/ports/libcanberra/macos_fix.patch
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2021-09-28 03:19:43 +0300
committerGitHub <noreply@github.com>2021-09-27 17:19:43 -0700
commit8c7e42e5aff3ba57d6995ceaeee25263374a40e3 (patch)
tree28bb5c0119b7a2af40ee42b36036fc19fb33a678 /ports/libcanberra/macos_fix.patch
parent6bbee1c30022d33ccf9d9003cdeb55aecb6016fa (diff)
downloadvcpkg-8c7e42e5aff3ba57d6995ceaeee25263374a40e3.tar.gz
vcpkg-8c7e42e5aff3ba57d6995ceaeee25263374a40e3.zip
[libcanberra] new port (#19816)
* [libcanberra] new port * [libcanberra] add libvorbis depnendency * [libcanberra] update versions * [libcanberra] fix macOS build * [libcanberra] only support mac and linux * [libcanberra] update versions * [libcanberra] patch pkgconfig on macOS * [libcanberra] update versions * [libcanberra] unix-only port, remove vcpkg_copy_pdbs() diff --git a/ports/libcanberra/portfile.cmake b/ports/libcanberra/portfile.cmake index 1dec6214c..b4d75f77e 100644 --- a/ports/libcanberra/portfile.cmake +++ b/ports/libcanberra/portfile.cmake @@ -62,7 +62,6 @@ if(VCPKG_TARGET_IS_OSX) endif() vcpkg_fixup_pkgconfig() -vcpkg_copy_pdbs() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/tools") # empty folder * [libcanberra] update versions * [libcanberra] fix .pc.in token expansion * [libcanberra] update versions
Diffstat (limited to 'ports/libcanberra/macos_fix.patch')
-rw-r--r--ports/libcanberra/macos_fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/libcanberra/macos_fix.patch b/ports/libcanberra/macos_fix.patch
new file mode 100644
index 000000000..e7f9016e7
--- /dev/null
+++ b/ports/libcanberra/macos_fix.patch
@@ -0,0 +1,14 @@
+diff --git a/configure.ac b/configure.ac
+index f68602d..1451747 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -115,8 +115,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
+ AC_SUBST([WARNINGFLAGS], $with_cflags)
+
+ CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\
+- -Wl,--as-needed \
+- -Wl,--gc-sections])
++])
+ AC_SUBST([GCLDFLAGS], $with_ldflags)
+
+ #### libtool stuff ####