Ticket #41247: libplist-mavericks.diff
File libplist-mavericks.diff, 970 bytes (added by raimue (Rainer Müller), 11 years ago) |
---|
-
Portfile
23 23 port:libxml2 \ 24 24 port:swig-python 25 25 26 patchfiles patch-iterator.diff 27 26 28 configure.args-append -DENABLE_CYTHON=OFF 27 29 28 30 use_parallel_build no -
files/patch-iterator.diff
1 Upstream: https://github.com/libimobiledevice/libplist/commit/c56c8103f51c20c6fcf99e8bc9d83c380f503a1b 2 3 --- src/Dictionary.cpp 4 +++ src/Dictionary.cpp 5 @@ -151,7 +151,7 @@ Node* Dictionary::operator[](const std::string& key) 6 _map[key] = clone; 7 return _map.find(key); 8 } 9 - return iterator(NULL); 10 + return iterator(this->_map.end()); 11 } 12 13 void Dictionary::Remove(Node* node)