about summary refs log tree commit diff
path: root/pkgs/development/libraries/gnome-sharp
diff options
context:
space:
mode:
authorJiri Danek <jdanek@redhat.com>2019-08-07 07:45:53 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2019-08-08 09:10:38 +0000
commitee684213889cae36a7867d9507ef432acf2ce69f (patch)
tree2298c2a80a9d095b30d4267591c2c04246b512cc /pkgs/development/libraries/gnome-sharp
parentbb6ef0646a8e4be582a8e45939734deefa1eebf3 (diff)
downloadnixlib-ee684213889cae36a7867d9507ef432acf2ce69f.tar
nixlib-ee684213889cae36a7867d9507ef432acf2ce69f.tar.gz
nixlib-ee684213889cae36a7867d9507ef432acf2ce69f.tar.bz2
nixlib-ee684213889cae36a7867d9507ef432acf2ce69f.tar.lz
nixlib-ee684213889cae36a7867d9507ef432acf2ce69f.tar.xz
nixlib-ee684213889cae36a7867d9507ef432acf2ce69f.tar.zst
nixlib-ee684213889cae36a7867d9507ef432acf2ce69f.zip
gnome-sharp: mono4 -> mono5
Diffstat (limited to 'pkgs/development/libraries/gnome-sharp')
-rw-r--r--pkgs/development/libraries/gnome-sharp/default.nix2
-rw-r--r--pkgs/development/libraries/gnome-sharp/fix-mono-path.patch13
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gnome-sharp/default.nix b/pkgs/development/libraries/gnome-sharp/default.nix
index f2393a23dfef..5e525ad46af4 100644
--- a/pkgs/development/libraries/gnome-sharp/default.nix
+++ b/pkgs/development/libraries/gnome-sharp/default.nix
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
   buildInputs = [ gtk2 mono gtk-sharp-2_0 ]
   ++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui ]);
 
+  patches = [ ./fix-mono-path.patch ];
+
   preConfigure = ''
     ./bootstrap-${lib.versions.majorMinor version}
   '';
diff --git a/pkgs/development/libraries/gnome-sharp/fix-mono-path.patch b/pkgs/development/libraries/gnome-sharp/fix-mono-path.patch
new file mode 100644
index 000000000000..706f119c8baa
--- /dev/null
+++ b/pkgs/development/libraries/gnome-sharp/fix-mono-path.patch
@@ -0,0 +1,13 @@
+diff --git a/sample/gconf/Makefile.am b/sample/gconf/Makefile.am
+index a0ee802..8260694 100644
+--- a/sample/gconf/Makefile.am
++++ b/sample/gconf/Makefile.am
+@@ -22,7 +22,7 @@ sample.exe: $(SCHEMA) $(srcdir)/sample.glade $(FILES) $(ASSEMBLIES)
+	$(CSC) /out:sample.exe $(FILES) $(REFERENCES) $(RESOURCES)
+ 
+ Settings.cs: $(SCHEMA)
+-	MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll:${MONO_PATH} $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > Settings.cs
++	MONO_PATH=$(top_builddir)/gconf/GConf/:${MONO_PATH} $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > Settings.cs
+ 
+ CLEANFILES = sample.exe Settings.cs
+