aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kdevstart
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kdevstart')
-rwxr-xr-xscripts/kdevstart13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/kdevstart b/scripts/kdevstart
new file mode 100755
index 000000000..d3cc8098f
--- /dev/null
+++ b/scripts/kdevstart
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# The kdevelop file parser gets confused by the
+# macrofied aes code, which leads to infinite
+# memory consumption. Use this dirty trick to
+# get kdevelop running...
+
+mv src/libstrongswan/crypto/crypters/aes_cbc_crypter.c libstrongswan_aes.c
+mv src/libcrypto/libaes/aes.c libcrypto_aes.c
+kdevelop3 &
+sleep 20
+mv libstrongswan_aes.c src/libstrongswan/crypto/crypters/aes_cbc_crypter.c
+mv libcrypto_aes.c src/libcrypto/libaes/aes.c