[Pkg-cli-libs-commits] [SCM] nlog branch, master, updated. debian/1.0+dfsg-1-12-g5cb825d
Iain Lane
laney at ubuntu.com
Mon Aug 9 21:52:31 UTC 2010
The following commit has been merged in the master branch:
commit cedcdd1c6cc1ed454a5703978280fd4bf795048b
Author: Iain Lane <laney at ubuntu.com>
Date: Mon Aug 9 21:52:02 2010 +0100
Don't build with warnings as errors. Fixes FTBFS.
The problem flagged up (using obsolete method) isn't serious, so we
can allow the package to build with this warning.
Closes: #534042
diff --git a/debian/patches/disable_warnaserror.patch b/debian/patches/disable_warnaserror.patch
new file mode 100644
index 0000000..a0c152a
--- /dev/null
+++ b/debian/patches/disable_warnaserror.patch
@@ -0,0 +1,13 @@
+Index: nlog.git/NLog.build
+===================================================================
+--- nlog.git.orig/NLog.build 2010-08-09 21:50:58.540592057 +0100
++++ nlog.git/NLog.build 2010-08-09 21:51:13.198632821 +0100
+@@ -140,7 +140,7 @@
+ </target>
+
+ <target name="NLog" depends="configure, update-build-number">
+- <csc target="library" output="${nlog.dir}/NLog.dll" doc="${nlog.dir}/NLog.xml" define="${nlog.define}" debug="${nlog.debug}" optimize="${nlog.optimize}" warninglevel="${csc.warninglevel}" warnaserror="true">
++ <csc target="library" output="${nlog.dir}/NLog.dll" doc="${nlog.dir}/NLog.xml" define="${nlog.define}" debug="${nlog.debug}" optimize="${nlog.optimize}" warninglevel="${csc.warninglevel}" warnaserror="false">
+ <sources basedir="src">
+ <include name="NLog/**/*.cs" />
+ </sources>
diff --git a/debian/patches/series b/debian/patches/series
index e3dc338..974bdf9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ fix_EventLog.CreateEventSource_obsolete.patch
fix_PerformanceCounterCategory.Create_obsolete.patch
disable_publisher_policy.patch
disable_winforms.patch
+disable_warnaserror.patch
--
nlog
More information about the Pkg-cli-libs-commits
mailing list