openbsd-ports/x11/qt/patches/patch-src_kernel_qregion_h
espie b453a56872 kill xor method, which was already marked as obsolete,
and which gcc3 complains loudly about.
2004-01-01 15:39:29 +00:00

14 lines
690 B
Plaintext

$OpenBSD: patch-src_kernel_qregion_h,v 1.1 2004/01/01 15:39:29 espie Exp $
--- src/kernel/qregion.h.orig 2004-01-01 16:23:03.000000000 +0100
+++ src/kernel/qregion.h 2004-01-01 16:23:11.000000000 +0100
@@ -70,9 +70,6 @@ public:
// case someone is using #define xor ^ to work around deficiencies in
// their compiler that cause problems with some other header files.
//
-#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(_CC_MWERKS_) && !defined(xor)
- QRegion xor( const QRegion & ) const;
-#endif
QRegion eor( const QRegion & ) const;
QRect boundingRect() const;