summaryrefslogtreecommitdiff
path: root/x11-wm/libwraster/files/patch-wrlib__wraster.h
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-10-06 05:12:56 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-10-06 05:12:56 +0000
commit66732e092d235504aa4697303d87d4f1e368469b (patch)
tree8a78006d313fbe1787a14b733eddb0d0adaad07a /x11-wm/libwraster/files/patch-wrlib__wraster.h
parentMark as ignore on sparc64: not yet ported to this architecture. (diff)
Update to 0.95.7. Changes include:
- Window snapping (maximize a window to a side or corder of the screen) by dragging is now supported. - It is now possible to customize behavior when a maximized window is dragged. - A knob is added to globally ignore decoration hints from GNOME appications. - A ICCCM protocol for window manager replacement has been supported.
Notes
Notes: svn path=/head/; revision=398682
Diffstat (limited to 'x11-wm/libwraster/files/patch-wrlib__wraster.h')
-rw-r--r--x11-wm/libwraster/files/patch-wrlib__wraster.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/x11-wm/libwraster/files/patch-wrlib__wraster.h b/x11-wm/libwraster/files/patch-wrlib__wraster.h
index 8161430594bc..164b7430dcd9 100644
--- a/x11-wm/libwraster/files/patch-wrlib__wraster.h
+++ b/x11-wm/libwraster/files/patch-wrlib__wraster.h
@@ -1,17 +1,20 @@
---- wrlib/wraster.h.orig 2014-08-30 21:29:09.000000000 +0900
-+++ wrlib/wraster.h 2014-09-15 02:31:40.000000000 +0900
-@@ -61,7 +61,13 @@
+--- wrlib/wraster.h.orig 2015-08-11 18:41:14 UTC
++++ wrlib/wraster.h
+@@ -61,10 +61,14 @@
* mechanism and define an internal macro appropriately. Please note that the macro are not considered being
* part of the public API.
*/
--#if __GNUC__ >= 3
+-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
+#ifndef __has_feature
-+#define __has_feature(x) 0
++#define __has_feature(x) 0
+#endif
+#ifndef __has_extension
-+#define __has_extension __has_feature
++#define __has_extension __has_feature
+#endif
-+#if __has_extension(attribute_deprecated_with_message)
++#if __has_extension(attribute_depreated_with_message)
#define __wrlib_deprecated(msg) __attribute__ ((deprecated(msg)))
+-#elif __GNUC__ >= 3
+-#define __wrlib_deprecated(msg) __attribute__ ((deprecated))
#else
#define __wrlib_deprecated(msg)
+ #endif