mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-28 04:56:14 +00:00
Force the replacement of new Ubuntu packages introduced in https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-15/+bug/2008755
This commit is contained in:
parent
9a3b107b0f
commit
17a5b23e97
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,6 +1,8 @@
|
||||
llvm-toolchain-15 (1:15.0.7-5) unstable; urgency=medium
|
||||
|
||||
* Remove old code to manage Debian stretch
|
||||
* Force the replacement of new Ubuntu packages introduced in
|
||||
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-15/+bug/2008755
|
||||
|
||||
--
|
||||
|
||||
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -535,6 +535,15 @@ preconfigure:
|
||||
fi; \
|
||||
fi
|
||||
|
||||
# workaround the breaks/replaces/conflicts
|
||||
# https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-15/+bug/2008755
|
||||
# Yeah, this is ugly but I don't know how to do better
|
||||
if test "$(DISTRO)" = "jammy" -o "$(DISTRO)" = "kinetic"; then
|
||||
if test "$(LLVM_VERSION)" = "15"; then \
|
||||
sed -i -e "s|(<< 1:15.0.6-5)|(<< 1:15.0.7-0ubuntu0.22.04.1)|g" debian/control; \
|
||||
fi; \
|
||||
fi
|
||||
|
||||
ifdef LLVM_SPIRV
|
||||
# llvm-spirv was found, so we can enable *.spv files. Debian
|
||||
# buster and Ubuntu 18.04 don't have llvm-spirv to create the
|
||||
|
Loading…
Reference in New Issue
Block a user