ports/devel/android-tools-adb-devel/files/patch-adb_fdevent__test.cpp
Jan Beich 3270d07cb7 devel/android-tools-{adb,fastboot}-devel: update to m.p.1212
platform/system/extras snapshot grew in size thanks to memory dumps:

  $ du -Ahc memory_replay/dumps/*
  2.0K    memory_replay/dumps/README
  9.2M    memory_replay/dumps/camera.zip
   12M    memory_replay/dumps/gmail.zip
  8.4M    memory_replay/dumps/maps.zip
  3.9M    memory_replay/dumps/surfaceflinger.zip
   33M    memory_replay/dumps/system_server.zip
  1.8M    memory_replay/dumps/systemui.zip
  6.5M    memory_replay/dumps/youtube.zip
   74M    total

  $ tar xOf memory_replay/dumps/youtube.zip | head
  202: malloc 0xb4827400 1024
  202: free 0xb4827400
  202: malloc 0xb4837058 20
  202: malloc 0xb4803068 4
  202: malloc 0xb48370a0 17
  202: malloc 0xb48370d0 18
  202: malloc 0xb4837100 20
  202: malloc 0xb4839040 48
  202: malloc 0xb483a020 30
  202: malloc 0xb483b080 98
  youtube.txt: Write error

Changes:	e4c1bb5306...94c617ccbb/adb
Changes:	e4c1bb5306...94c617ccbb/fastboot (no changes)
2015-09-18 15:43:51 +00:00

10 lines
238 B
C++

--- adb/fdevent_test.cpp.orig 2015-09-17 22:58:36 UTC
+++ adb/fdevent_test.cpp
@@ -19,6 +19,7 @@
#include <gtest/gtest.h>
#include <limits>
+#include <memory> // std::unique_ptr
#include <queue>
#include <string>
#include <vector>