Fix build with mono 3.

This commit is contained in:
Thomas Klausner 2013-05-29 11:14:24 +00:00
parent 74a4933822
commit f4d8fe8f45
2 changed files with 18 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.5 2011/08/22 11:45:30 thomasklausner Exp $
$NetBSD: distinfo,v 1.6 2013/05/29 11:14:24 thomasklausner Exp $
SHA1 (pdfmod-0.9.1.tar.bz2) = 52cdd996df800efe7fc40bf2f258d7e66abe1a47
RMD160 (pdfmod-0.9.1.tar.bz2) = 82f1a3a14f426b3174bfaa46ce384cc5de51be28
Size (pdfmod-0.9.1.tar.bz2) = 667450 bytes
SHA1 (patch-src_Makefile.in) = 3f6183e913f867012c8b356c610904f753c30679
SHA1 (patch-src_PdfMod_Gui_DocumentIconView.cs) = c2c0e2534627f30660e3f43623c99585d2d80ec4

View file

@ -0,0 +1,16 @@
$NetBSD: patch-src_Makefile.in,v 1.1 2013/05/29 11:14:24 thomasklausner Exp $
Fix
error CS1705: Assembly `Hyena.Gui, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' references `Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version number than imported assembly `Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
--- src/Makefile.in.orig 2013-05-29 10:52:27.000000000 +0000
+++ src/Makefile.in
@@ -223,7 +223,7 @@ EXTRA_DIST = $(build_sources) $(build_re
$(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) \
$(DATA_FILES) $(build_culture_res_files)
ASSEMBLY_COMPILER_COMMAND = $(MCS)
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
+ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG" -sdk:4
ASSEMBLY = ../bin/PdfMod.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = exe