Commits

M0E-lnx  committed c02af37

mono-addins add patch to build against newer mono !nobuild

  • Participants
  • Parent commits 62f7788

Comments (0)

Files changed (2)

File var/vabs/mono-addins/src/mono-addins.SlackBuild

 
 # Put any Patches into a patches folder in the src dir
 #-----------------------------------------------------
-for i in $CWD/patches/*;do
-	patch -p1 <$i
-done
+#for i in $CWD/patches/*;do
+#	patch -p1 <$i
+#done
 #-----------------------------------------------------
 
 
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
+# Patch the Mono.Addins.Gui Makefile to build against new mono
+(
+ cd Mono.Addins.Gui || exit 1
+ patch -p0 --verbose < $CWD/patches/mono-addins-gui-makefile.patch || exit 1
+ )
 make $NUMJOBS || exit 1
 
 make install DESTDIR=$PKG || exit

File var/vabs/mono-addins/src/patches/mono-addins-gui-makefile.patch

+--- Makefile.orig	2013-04-22 10:24:57.000000000 -0500
++++ Makefile	2013-04-22 10:25:15.000000000 -0500
+@@ -146,7 +146,7 @@
+ top_srcdir = ..
+ KEY_FILE = $(top_srcdir)/mono-addins.snk
+ ASSEMBLY_COMPILER_COMMAND = gmcs
+-ASSEMBLY_COMPILER_FLAGS = -unsafe -keyfile:$(KEY_FILE) -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
++ASSEMBLY_COMPILER_FLAGS = -unsafe -keyfile:$(KEY_FILE) -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG -sdk:4
+ ASSEMBLY = ../bin/Mono.Addins.Gui.dll
+ ASSEMBLY_NAME = Mono.Addins.Gui
+ COMPILE_TARGET = library