Add patch to disable "unused local typedefs" with gcc 4.7

- That warning was actually introduced in gcc 4.7
  see: http://gcc.gnu.org/gcc-4.7/changes.html