inkscape: fix due to glibmm update
This commit is contained in:
parent
e148cf2bca
commit
9afd1161e7
@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "06ql3x732x2rlnanv0a8aharsnj91j5kplksg574090rks51z42d";
|
||||
};
|
||||
|
||||
patches = [ ./deprecated-scopedptr.patch ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs share/extensions
|
||||
''
|
||||
|
@ -0,0 +1,16 @@
|
||||
glibmm deprecated ScopedPtr
|
||||
---
|
||||
diff -u src/ui/clipboard.cpp src/ui/clipboard.cpp
|
||||
--- a/src/ui/clipboard.cpp 2015-01-28 04:32:28.162676000 +0100
|
||||
+++ b/src/ui/clipboard.cpp 2016-04-03 09:13:12.360980533 +0200
|
||||
@@ -1402,7 +1402,7 @@
|
||||
|
||||
Glib::ustring target;
|
||||
if (atom_name) {
|
||||
- target = Glib::ScopedPtr<char>(atom_name).get(); //This frees the gchar*.
|
||||
+ target = Glib::make_unique_ptr_gfree(atom_name).get(); //This frees the gchar*.
|
||||
}
|
||||
|
||||
listTargets.push_back(target);
|
||||
|
||||
Diff finished. Sun Apr 3 09:13:51 2016
|
Loading…
Reference in New Issue
Block a user