diff --git a/hpp-gui/distinfo b/hpp-gui/distinfo
index 1d00019378d4716758bbc1e1809efc042117ac9f..c4a9363fdc6c0eaa37c647c307e9725cd130557e 100644
--- a/hpp-gui/distinfo
+++ b/hpp-gui/distinfo
@@ -1,3 +1,4 @@
 SHA1 (hpp-gui-4.3.0.tar.gz) = 33e413263a4932eb4819985b74a57c1b213940a0
 RMD160 (hpp-gui-4.3.0.tar.gz) = b39ee5d912e897517a845d6edeb0169e3054b681
 Size (hpp-gui-4.3.0.tar.gz) = 974804 bytes
+SHA1 (patch-aa) = 00c88c744b4d202483e75fdbfbd5bb0b64ce8b96
diff --git a/hpp-gui/patches/patch-aa b/hpp-gui/patches/patch-aa
new file mode 100644
index 0000000000000000000000000000000000000000..2f4478c959c6a44de7c5a4c39e2d535e9ee040ed
--- /dev/null
+++ b/hpp-gui/patches/patch-aa
@@ -0,0 +1,13 @@
+c++11 compatibility
+
+--- plugins/hppwidgetsplugin/transformconstraintwidget.cc.orig	2018-12-07 13:43:58.000000000 +0100
++++ plugins/hppwidgetsplugin/transformconstraintwidget.cc	2019-02-26 15:17:00.588357920 +0100
+@@ -96,7 +96,7 @@
+         vecDouble[i + 1] = ui->secondYPosition->value();
+         vecDouble[i + 2] = ui->secondZPosition->value();
+       }
+-      emit finished(std::make_pair<QVector<double>, QVector<bool> >(vecDouble, vecBool));
++      emit finished(std::make_pair(vecDouble, vecBool));
+       this->deleteLater();
+       this->close();
+     }