patches/yelp-01-va-args.diff
author dcarbery
Tue, 18 Sep 2007 15:28:19 +0000
changeset 10506 651b997d069b
permissions -rw-r--r--
2007-09-18 Damien Carbery <[email protected]> * base-specs/yelp.spec: Add patch 01-va-args to fix build issue. Probably not the best fix but will do for now. * patches/yelp-01-va-args.diff: Added to fix compilation issue.

--- yelp-2.20.0/src/yelp-debug.h.orig	2007-09-18 09:26:54.063308393 +0100
+++ yelp-2.20.0/src/yelp-debug.h	2007-09-18 09:28:57.538615474 +0100
@@ -59,9 +59,9 @@
 # endif
 #else
 # if __STDC_VERSION__ < 199901L
-#  define debug_print(format, args...)
+#  define debug_print(...)
 # else
-#  define debug_print(format, ...)
+#  define debug_print(...)
 # endif
 #endif