nixpkgs/pkgs/applications/graphics/meshlab/fix-version.patch
2020-03-26 23:07:13 +01:00

6 lines
290 B
Diff

--- a/src/common/mlapplication.h
+++ b/src/common/mlapplication.h
@@ -23 +23 @@ public:
- return QString::number(compileTimeYear()) + "." + (compileTimeMonth() < 10 ? "0" + QString::number(compileTimeMonth()) : QString::number(compileTimeMonth()));
+ return "@version@";