freebsd-ports/x11-wm/windowmaker/files/patch-WINGs__proplist.c
Hiroki Sato 4968fc407a - Fix build issue when devel/libinotify is installed[*].
- Fix build with clang.  Remove USE_GCC=any.
- Convert replacement commands in the post-patch target to patches.
- Separate x11-wm/windowmaker and x11-wm/libwraster from each other.

PR:		ports/176772 [*]
Reported by:	O. Hartmann [*]
2013-05-02 19:37:23 +00:00

20 lines
710 B
C

--- WINGs/proplist.c.orig 2013-05-03 02:48:24.000000000 +0900
+++ WINGs/proplist.c 2013-05-03 02:52:24.000000000 +0900
@@ -1162,7 +1162,7 @@
WMPropList *key, *value, *dvalue;
WMHashEnumerator e;
- wassertr(source->type == WPLDictionary && dest->type == WPLDictionary);
+ wassertrv(source->type == WPLDictionary && dest->type == WPLDictionary, NULL);
if (source == dest)
return dest;
@@ -1189,7 +1189,7 @@
WMPropList *key, *value, *dvalue;
WMHashEnumerator e;
- wassertr(source->type == WPLDictionary && dest->type == WPLDictionary);
+ wassertrv(source->type == WPLDictionary && dest->type == WPLDictionary, NULL);
if (source == dest) {
WMPropList *keys = WMGetPLDictionaryKeys(dest);