termux-packages/packages/graphviz/lib-vpsc-blocks.cpp.patch
Henrik Grimler a626f4fb63 graphviz: update to 2.42.3 (#5091)
* graphviz: update to 2.42.3

Add -landroid-glob where needed only and remove -D_typ_ssize_t=1 from CPPFLAGS, doesn't seem to be needed anymore.

* graphviz: update patches, fix so that out-of-src build works
2020-03-28 17:49:29 +01:00

14 lines
458 B
Diff

--- ../blocks.cpp.orig 2020-03-24 12:30:32.334785560 +0100
+++ ./lib/vpsc/blocks.cpp 2020-03-24 12:34:15.597529253 +0100
@@ -155,8 +155,8 @@
//erase(doomed);
}
void Blocks::cleanup() {
- vector<Block*> bcopy(begin(),end());
- for(vector<Block*>::iterator i=bcopy.begin();i!=bcopy.end();i++) {
+ vector<Block*> b_copy(begin(),end());
+ for(vector<Block*>::iterator i=b_copy.begin();i!=b_copy.end();i++) {
Block *b=*i;
if(b->deleted) {
erase(b);