openbsd-ports/devel/libuta/patches/patch-uta_blitters_cc
2010-05-22 16:11:34 +00:00

66 lines
2.3 KiB
Plaintext

$OpenBSD: patch-uta_blitters_cc,v 1.4 2010/05/22 16:11:34 espie Exp $
--- uta/blitters.cc.orig Sat Oct 12 23:11:07 2002
+++ uta/blitters.cc Sat May 22 18:00:00 2010
@@ -20,6 +20,7 @@
#include "blitters.h"
#include <painter.h>
+#include <iosfwd>
namespace uta {
@@ -35,7 +36,7 @@ void gammablit_RGBA8888_RGBA8888(Surface* dst, const S
char g,
const Rect& srcRect, const Point& dstPoint)
{
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
}
/** Convert RGBA8888 to RGB565 and apply const gamma value.
@@ -45,7 +46,7 @@ void gammablit_RGBA8888_RGB565(Surface* dst, const Sur
char g,
const Rect& srcRect, const Point& dstPoint)
{
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
}
/** Apply const gamma value.
@@ -54,7 +55,7 @@ void gammablit_RGB565_RGB565(Surface* dst, const Surfa
char g,
const Rect& srcRect, const Point& dstPoint)
{
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
}
/** Apply per pixel gamma value.
@@ -64,7 +65,7 @@ void gammablit_RGBA8888_RGBA8888(Surface* dst, const S
GammaFunction* func,
const Rect& srcRect, const Point& dstPoint)
{
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
}
/** Convert RGBA8888 to RGB565 and apply per pixel gamma value.
@@ -74,7 +75,7 @@ void gammablit_RGBA8888_RGB565(Surface* dst, const Sur
GammaFunction* func,
const Rect& srcRect, const Point& dstPoint)
{
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
}
/** Apply per pixel gamma value.
@@ -83,7 +84,7 @@ void gammablit_RGB565_RGB565(Surface* dst, const Surfa
GammaFunction* func,
const Rect& srcRect, const Point& dstPoint)
{
- cerr << "processor seems not to be MMX capable, sorry. " << endl;
+ std::cerr << "processor seems not to be MMX capable, sorry. " << std::endl;
}
#else // ! X86_ASSEMBLER