~jbicha/firefox/update-dependencies

« back to all changes in this revision

Viewing changes to debian/patches/fix-missing-include.patch

  • Committer: Chris Coulson
  • Date: 2013-12-12 18:08:55 UTC
  • Revision ID: chris.coulson@canonical.com-20131212180855-hwy4z4x4bbg4tc2m
* New upstream release from the beta channel (FIREFOX_27b1_BUILD1)
* Refresh patches
  - update debian/patches/allow-lockPref-everywhere.patch
  - update debian/patches/ubuntu-ua-string-changes.patch
  - update d/p/test-integration/automation-output-junit-xml.patch
  - update d/p/test-integration/xpcshell-disable-tests-which-need-appdir-write-access.patch
  - update debian/patches/unity-menubar.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# HG changeset patch
2
 
# User Steve Singer <steve@ssinger.info>
3
 
# Date 1382542740 -3600
4
 
# Node ID 0787526e0ed6c7d1c5cdb27daedfa2084589d114
5
 
# Parent  23eb32b0f555df349cc64f0b58e0e64a0a6d4c13
6
 
Bug 929439 - Include string.h for memcpy. r=bgirard
7
 
 
8
 
diff --git a/gfx/layers/BufferUnrotate.cpp b/gfx/layers/BufferUnrotate.cpp
9
 
--- a/gfx/layers/BufferUnrotate.cpp
10
 
+++ b/gfx/layers/BufferUnrotate.cpp
11
 
@@ -3,16 +3,17 @@
12
 
  * License, v. 2.0. If a copy of the MPL was not distributed with this
13
 
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
14
 
 
15
 
 #include <algorithm> // min & max
16
 
 #include <cstdlib>
17
 
 #include <stdint.h>
18
 
 #include <stdio.h>
19
 
 #include <stdlib.h>
20
 
+#include <string.h>
21
 
 
22
 
 void BufferUnrotate(uint8_t* aBuffer, int aByteWidth, int aHeight,
23
 
                     int aByteStride, int aXBoundary, int aYBoundary)
24
 
 {
25
 
   if (aXBoundary != 0) {
26
 
     uint8_t* line = new uint8_t[aByteWidth];
27
 
     uint32_t smallStart = 0;
28
 
     uint32_t smallLen = aXBoundary;