SOURCES: crawl-fix_build.patch (NEW) - fix build (error: braces ar...

darekr darekr at pld-linux.org
Sun Jul 1 23:50:48 CEST 2007


Author: darekr                       Date: Sun Jul  1 21:50:48 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build (error: braces around scalar initializer for type 'const char*') 

---- Files affected:
SOURCES:
   crawl-fix_build.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/crawl-fix_build.patch
diff -u /dev/null SOURCES/crawl-fix_build.patch:1.1
--- /dev/null	Sun Jul  1 23:50:48 2007
+++ SOURCES/crawl-fix_build.patch	Sun Jul  1 23:50:43 2007
@@ -0,0 +1,33 @@
+--- dc400b26-src.orig/source/religion.cc	2007-07-01 23:43:26.121413286 +0200
++++ dc400b26-src/source/religion.cc	2007-07-01 23:45:11.070156078 +0200
+@@ -53,18 +53,18 @@
+ #include "stuff.h"
+ 
+ const char *sacrifice[] = {
+-    {" glows silver and disappears."},
+-    {" glows a brilliant golden colour and disappears."},
+-    {" rots away in an instant."},
+-    {" crumbles to dust."},
+-    {" is eaten by a bug."},    /* Xom - no sacrifices */
+-    {" explodes into nothingness."},
+-    {" is consumed in a burst of flame."},
+-    {" is consumed in a roaring column of flame."},
+-    {" glows faintly for a moment, then is gone."},
+-    {" is consumed in a roaring column of flame."},
+-    {" glows with a rainbow of weird colours and disappears."},
+-    {" evaporates."}
++    " glows silver and disappears.",
++    " glows a brilliant golden colour and disappears.",
++    " rots away in an instant.",
++    " crumbles to dust.",
++    " is eaten by a bug.",    /* Xom - no sacrifices */
++    " explodes into nothingness.",
++    " is consumed in a burst of flame.",
++    " is consumed in a roaring column of flame.",
++    " glows faintly for a moment, then is gone.",
++    " is consumed in a roaring column of flame.",
++    " glows with a rainbow of weird colours and disappears.",
++    " evaporates."
+ };
+ 
+ void altar_prayer(void);
================================================================


More information about the pld-cvs-commit mailing list