diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-08-28 13:42:11 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-08-28 13:42:11 +0000 |
commit | 452a0aec33fdf5180d87e428df6a54e3d95c61be (patch) | |
tree | d21af56768e795bf1097428c8af654156cc60ead /net-print/dymo-cups-drivers/files | |
parent | Marked ~x64-macos (diff) | |
download | gentoo-2-452a0aec33fdf5180d87e428df6a54e3d95c61be.tar.gz gentoo-2-452a0aec33fdf5180d87e428df6a54e3d95c61be.tar.bz2 gentoo-2-452a0aec33fdf5180d87e428df6a54e3d95c61be.zip |
Add patch to build with GCC 4.6; add missing cppunit dependency for tests, but also restrict tests until they are sorted out.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'net-print/dymo-cups-drivers/files')
-rw-r--r-- | net-print/dymo-cups-drivers/files/dymo-cups-drivers-1.2.0+gcc-4.6.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-print/dymo-cups-drivers/files/dymo-cups-drivers-1.2.0+gcc-4.6.patch b/net-print/dymo-cups-drivers/files/dymo-cups-drivers-1.2.0+gcc-4.6.patch new file mode 100644 index 000000000000..3f60290af837 --- /dev/null +++ b/net-print/dymo-cups-drivers/files/dymo-cups-drivers-1.2.0+gcc-4.6.patch @@ -0,0 +1,48 @@ +Index: dymo-cups-drivers-1.2.0/src/common/Halftoning.h +=================================================================== +--- dymo-cups-drivers-1.2.0.orig/src/common/Halftoning.h ++++ dymo-cups-drivers-1.2.0/src/common/Halftoning.h +@@ -22,6 +22,7 @@ + #ifndef h4D098F6A_47C6_4e9d_BD74_2DC6034F8EEF + #define h4D098F6A_47C6_4e9d_BD74_2DC6034F8EEF + ++#include <cstdlib> + #include "CommonTypedefs.h" + + //namespace dymo +Index: dymo-cups-drivers-1.2.0/src/lw/LabelWriterDriver.h +=================================================================== +--- dymo-cups-drivers-1.2.0.orig/src/lw/LabelWriterDriver.h ++++ dymo-cups-drivers-1.2.0/src/lw/LabelWriterDriver.h +@@ -21,6 +21,7 @@ + #ifndef h53a93353_4968_443a_a5aa_1167526295fc + #define h53a93353_4968_443a_a5aa_1167526295fc + ++#include <cstdlib> + #include "PrinterDriver.h" + + namespace DymoPrinterDriver +Index: dymo-cups-drivers-1.2.0/src/lw/tests/MOCK_LWLMPrintEnvironment.h +=================================================================== +--- dymo-cups-drivers-1.2.0.orig/src/lw/tests/MOCK_LWLMPrintEnvironment.h ++++ dymo-cups-drivers-1.2.0/src/lw/tests/MOCK_LWLMPrintEnvironment.h +@@ -21,6 +21,7 @@ + #ifndef hc8e31bb3_01a5_4422_84b8_64c017e18521 + #define hc8e31bb3_01a5_4422_84b8_64c017e18521 + ++#include <cstdlib> + #include "../PrinterDriver.h" + #include "MOCK_PrintEnvironment.h" + +Index: dymo-cups-drivers-1.2.0/src/lw/tests/MOCK_LWLMPrintEnvironment.cpp +=================================================================== +--- dymo-cups-drivers-1.2.0.orig/src/lw/tests/MOCK_LWLMPrintEnvironment.cpp ++++ dymo-cups-drivers-1.2.0/src/lw/tests/MOCK_LWLMPrintEnvironment.cpp +@@ -20,6 +20,7 @@ + + #include "MOCK_LWLMPrintEnvironment.h" + #include "../LabelWriterDriver.h" ++#include <cassert> + + static const byte TOF_BIT = 0x02; + static const byte ROLL_CHANGED_BIT = 0x08; |