File xmms2-0.7-no-O0.patch of Package xmms2
diff -uNr old-xmms2-0.7DrNo//src/plugins/pulse/wscript xmms2-0.7DrNo/src/plugins/pulse/wscript
--- old-xmms2-0.7DrNo//src/plugins/pulse/wscript 2010-02-19 18:43:54.000000000 +0100
+++ xmms2-0.7DrNo/src/plugins/pulse/wscript 2010-03-01 23:32:24.033756750 +0100
@@ -7,4 +7,4 @@
configure, build = plugin("pulse", configure=plugin_configure,
source=["pulse.c", "backend.c"],
- output_prio=25, libs=["pulse"])
+ output_prio=45, libs=["pulse"])
diff -uNr old-xmms2-0.7DrNo//wscript xmms2-0.7DrNo/wscript
--- old-xmms2-0.7DrNo//wscript 2010-02-19 18:43:54.000000000 +0100
+++ xmms2-0.7DrNo/wscript 2010-03-01 23:33:49.967756992 +0100
@@ -275,27 +275,27 @@
conf.check_message("uncommitted changes", "", bool(changed))
conf.env["VERSION"] = BASEVERSION + " (git commit: %s%s)" % (nam, dirty)
- conf.env["CCFLAGS"] = Utils.to_list(conf.env["CCFLAGS"]) + ['-g', '-O0']
- for warning in ('all',
- 'no-format-extra-args',
- 'no-format-zero-length',
- 'format-nonliteral',
- 'format-security',
- 'format=2',
- "missing-prototypes",
- "strict-prototypes",
- "empty-body",
- "ignored-qualifiers",
- "type-limits",
- "write-strings",
- ):
- warnflag = "-W%s" % warning
- if conf.check_cc(cflags=warnflag):
- conf.env["CCFLAGS"].append(warnflag)
+# conf.env["CCFLAGS"] = Utils.to_list(conf.env["CCFLAGS"]) + ['-g', '-O0']
+# for warning in ('all',
+# 'no-format-extra-args',
+# 'no-format-zero-length',
+# 'format-nonliteral',
+# 'format-security',
+# 'format=2',
+# "missing-prototypes",
+# "strict-prototypes",
+# "empty-body",
+# "ignored-qualifiers",
+# "type-limits",
+# "write-strings",
+# ):
+# warnflag = "-W%s" % warning
+# if conf.check_cc(cflags=warnflag):
+# conf.env["CCFLAGS"].append(warnflag)
# autogenerate uselib definitions to disable warnings
- conf.env["CCFLAGS_NO%s" % warning.replace("-","").upper()] = ["-Wno-%s" % warning]
+# conf.env["CCFLAGS_NO%s" % warning.replace("-","").upper()] = ["-Wno-%s" % warning]
- conf.env["CXXFLAGS"] = Utils.to_list(conf.env["CXXFLAGS"]) + ['-g', '-O0']
+# conf.env["CXXFLAGS"] = Utils.to_list(conf.env["CXXFLAGS"]) + ['-g', '-O0']
conf.env['XMMS_PKGCONF_FILES'] = []
conf.env['XMMS_OUTPUT_PLUGINS'] = [(-1, "NONE")]