aboutsummaryrefslogtreecommitdiff
path: root/cad/salome-gui/files/patch-GUI_make_common.starter.am
diff options
context:
space:
mode:
Diffstat (limited to 'cad/salome-gui/files/patch-GUI_make_common.starter.am')
-rw-r--r--cad/salome-gui/files/patch-GUI_make_common.starter.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/cad/salome-gui/files/patch-GUI_make_common.starter.am b/cad/salome-gui/files/patch-GUI_make_common.starter.am
new file mode 100644
index 000000000000..5a7af5ce5c43
--- /dev/null
+++ b/cad/salome-gui/files/patch-GUI_make_common.starter.am
@@ -0,0 +1,12 @@
+--- adm_local/unix/make_common_starter.am.orig 2012-09-28 11:29:12.000000000 +0700
++++ adm_local/unix/make_common_starter.am 2012-09-28 11:30:27.000000000 +0700
+@@ -67,7 +67,8 @@
+ # meta object implementation files generation (moc)
+ %_moc.cxx: %.h
+ $(MOC) $(MOC_FLAGS) $< -o $@
+-
++ sed -i -e 's|static_cast|dynamic_cast|;' $@
++
+ # translation (*.qm) files generation (lrelease)
+ %.qm: resources/%.ts
+ $(LRELEASE) $< -qm $@