forked from ports/contrib
libvisio: pulled patch from libreoffice
This commit is contained in:
parent
cbe5e44c0c
commit
f278caaa42
@ -1,5 +1,6 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF38xAoCr3M4kLPeMqcY3qks5C4mlYHI4ZMKg4Hz8HSjBl7PaxGUhWtzQPAsW9WKEp0qU+ljmP2KnVTlfhEIOyVwE=
|
RWSagIOpLGJF38HfaFmOJ6GJcnXJ7EPU/FNxFq/vkb2e3ZItBV8JxLg0VdDCMR2k8fgwCjv2FhkjXHR8c5CBk7l3RIoORL+K0gE=
|
||||||
SHA256 (Pkgfile) = d73dcad5613deeed2ecf53f1aa4b42449f7bc97bc6f679657580e6d509aaacee
|
SHA256 (Pkgfile) = 96a9181edb74c738e876238557dc807919f443a565d1d6e31ab84f5b0d6ca909
|
||||||
SHA256 (.footprint) = e13f1879f10c08a937d39005070957ecad750fb8ea4ac435d1cc3f4c1062f2b1
|
SHA256 (.footprint) = e13f1879f10c08a937d39005070957ecad750fb8ea4ac435d1cc3f4c1062f2b1
|
||||||
SHA256 (libvisio-0.1.7.tar.xz) = 8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c
|
SHA256 (libvisio-0.1.7.tar.xz) = 8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c
|
||||||
|
SHA256 (ubsan.patch) = 8205a3c2157a1eaeb6bb17d813333142c84229e17efd006222a7be74a2d26aae
|
||||||
|
@ -5,11 +5,15 @@
|
|||||||
|
|
||||||
name=libvisio
|
name=libvisio
|
||||||
version=0.1.7
|
version=0.1.7
|
||||||
release=2
|
release=3
|
||||||
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
|
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz
|
||||||
|
ubsan.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
patch -Np0 -i $SRC/ubsan.patch
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--without-docs
|
--without-docs
|
||||||
make
|
make
|
||||||
|
11
libvisio/ubsan.patch
Normal file
11
libvisio/ubsan.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/lib/VSDContentCollector.cpp
|
||||||
|
+++ src/lib/VSDContentCollector.cpp
|
||||||
|
@@ -3220,7 +3220,7 @@
|
||||||
|
}
|
||||||
|
if (U_SUCCESS(status) && conv)
|
||||||
|
{
|
||||||
|
- const auto *src = (const char *)&characters[0];
|
||||||
|
+ const auto *src = (const char *)characters.data();
|
||||||
|
const char *srcLimit = (const char *)src + characters.size();
|
||||||
|
while (src < srcLimit)
|
||||||
|
{
|
Loading…
x
Reference in New Issue
Block a user