Ticket #41247: libplist-mavericks.diff

File libplist-mavericks.diff, 970 bytes (added by raimue (Rainer Müller), 11 years ago)

Proposed port update

  • Portfile

     
    2323                    port:libxml2 \
    2424                    port:swig-python
    2525
     26patchfiles          patch-iterator.diff
     27
    2628configure.args-append   -DENABLE_CYTHON=OFF
    2729
    2830use_parallel_build  no
  • files/patch-iterator.diff

     
     1Upstream: 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)