aboutsummaryrefslogtreecommitdiff
path: root/science/openmx/files/patch-openmx__common.h
diff options
context:
space:
mode:
Diffstat (limited to 'science/openmx/files/patch-openmx__common.h')
-rw-r--r--science/openmx/files/patch-openmx__common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/openmx/files/patch-openmx__common.h b/science/openmx/files/patch-openmx__common.h
new file mode 100644
index 000000000000..8457c5ccc82c
--- /dev/null
+++ b/science/openmx/files/patch-openmx__common.h
@@ -0,0 +1,11 @@
+--- openmx_common.h.orig 2024-06-16 22:56:57 UTC
++++ openmx_common.h
+@@ -2656,7 +2656,7 @@ char restart_filename[YOUSO10];
+ char filename[YOUSO10],filepath[YOUSO10],command[YOUSO10];
+ char ref_diff_charge_filename[YOUSO10];
+ char restart_filename[YOUSO10];
+-char DFT_DATA_PATH[YOUSO10];
++const char DFT_DATA_PATH[YOUSO10];
+ double Oopt_NormD[10];
+ double bias_weight,Past_Utot[10],Past_Norm[10];
+ double Max_Force,GridVol,W_OrthoNorm;