[Pkg-cli-libs-commits] [SCM] newtonsoft-json branch, test-upgrade, updated. debian/4.5r6-1-15-g1570aa4

Chow Loong Jin hyperair at debian.org
Wed Jul 10 14:07:13 UTC 2013


The following commit has been merged in the test-upgrade branch:
commit 5436298a0ef99b7e59a77bcb5a5be905e67d8ee6
Author: Chow Loong Jin <hyperair at debian.org>
Date:   Wed Jul 10 20:37:36 2013 +0800

    Patch to drop TargetFrameworkProfile line from csproj

diff --git a/debian/patches/Drop-TargetFrameworkProfile-line-from-csproj.patch b/debian/patches/Drop-TargetFrameworkProfile-line-from-csproj.patch
new file mode 100644
index 0000000..cc34bcb
--- /dev/null
+++ b/debian/patches/Drop-TargetFrameworkProfile-line-from-csproj.patch
@@ -0,0 +1,34 @@
+From: Chow Loong Jin <hyperair at debian.org>
+Date: Wed, 10 Jul 2013 20:30:14 +0800
+Subject: Drop TargetFrameworkProfile line from csproj
+
+It seems to make the ExtensionAttribute class unavailable, causing FTBFSes.
+---
+ Source/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Source/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj b/Source/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj
+index e6ce314..456c8ef 100644
+--- a/Source/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj
++++ b/Source/Src/Newtonsoft.Json/Newtonsoft.Json.Net40.csproj
+@@ -1,4 +1,4 @@
+-<?xml version="1.0" encoding="utf-8"?>
++<?xml version="1.0" encoding="utf-8"?>
+ <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+   <PropertyGroup>
+     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+@@ -42,7 +42,6 @@
+     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+     <UseApplicationTrust>false</UseApplicationTrust>
+     <BootstrapperEnabled>true</BootstrapperEnabled>
+-    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+     <DebugSymbols>true</DebugSymbols>
+@@ -292,4 +291,4 @@
+   </ItemGroup>
+   <ItemGroup />
+   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+-</Project>
+\ No newline at end of file
++</Project>
diff --git a/debian/patches/series b/debian/patches/series
index 2028b0c..e1556a3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 Use-single-argument-BigInteger.Parse-calls.patch
+Drop-TargetFrameworkProfile-line-from-csproj.patch

-- 
newtonsoft-json



More information about the Pkg-cli-libs-commits mailing list