[-]
[+]
|
Added |
speech_tools-1.2.95-returnvalue.patch
|
@@ -0,0 +1,16 @@
+Index: speech_tools/base_class/EST_Pathname_unix.cc
+================================================================================
+--- speech_tools/base_class/EST_Pathname_unix.cc
++++ speech_tools/base_class/EST_Pathname_unix.cc
+@@ -144,9 +144,9 @@
+ EST_Pathname operator + (const char *p, const EST_Pathname addition)
+ {return EST_Pathname::append(p, addition); }
+
+-EST_Pathname &operator += (EST_Pathname p, const EST_Pathname addition)
++EST_Pathname &operator += (EST_Pathname& p, const EST_Pathname addition)
+ { p = EST_Pathname::append(p, addition); return p; }
+-EST_Pathname &operator += (EST_Pathname p, const EST_String addition)
++EST_Pathname &operator += (EST_Pathname& p, const EST_String addition)
+ { p = EST_Pathname::append(p, addition); return p; }
+
+ EST_Pathname EST_Pathname::append(EST_Pathname directory, EST_Pathname addition)
|