summarylogtreecommitdiffstats
path: root/fpocket.patch
diff options
context:
space:
mode:
authorDrobot Viktor2019-03-29 00:42:37 +0300
committerDrobot Viktor2019-03-29 00:42:37 +0300
commit672eb73affea91098ae41fd2d9e4e89239e4a2ee (patch)
treea51ea78c84b3bced4c4c83771980ef09a61f0dc5 /fpocket.patch
parent79536271fbb4d15bc03d3711320d843a4a71e9be (diff)
downloadaur-672eb73affea91098ae41fd2d9e4e89239e4a2ee.tar.gz
Add NetCDF support for mdpocket
Diffstat (limited to 'fpocket.patch')
-rw-r--r--fpocket.patch28
1 files changed, 9 insertions, 19 deletions
diff --git a/fpocket.patch b/fpocket.patch
index 14dc20324ed..980b5abd041 100644
--- a/fpocket.patch
+++ b/fpocket.patch
@@ -1,26 +1,16 @@
---- makefile 2018-09-14 16:37:11.552447515 +0300
-+++ makefile 2018-09-14 16:35:07.558785168 +0300
-@@ -38,7 +38,7 @@
+--- makefile 2019-03-29 00:31:30.876920063 +0300
++++ makefile.new 2019-03-29 00:29:17.804365698 +0300
+@@ -34,11 +34,11 @@
+ CDEBUG = -DMNO_MEM_DEBUG
+ CWARN = -Wall -Wextra -Wwrite-strings -Wstrict-prototypes
+
+-CFLAGS = $(CWARN) $(COS) $(CDEBUG) -O2 -g -pg -std=c99 -I$(PLUGINDIR)/include -I$(PLUGINDIR)/$(ARCH)/molfile #$(CGSL)
++CFLAGS = $(CWARN) $(COS) $(CDEBUG) -O2 -g -pg -std=c99 -I$(PLUGINDIR)/include -I/usr/include/vmd-molfile-plugins/ #$(CGSL)
QCFLAGS = -O -g -pg -ansi
LGSL = -L$(PATH_GSL)lib -lgsl -lgslcblas
-LFLAGS = -lm -L$(PLUGINDIR)/$(ARCH)/molfile $(PLUGINDIR)/$(ARCH)/molfile/libmolfile_plugin.a -lnetcdf -lstdc++
-+LFLAGS = -lm -L$(PLUGINDIR)/$(ARCH)/molfile $(PLUGINDIR)/$(ARCH)/molfile/libmolfile_plugin.a -lstdc++
++LFLAGS = -lm -L/usr/lib/vmd-molfile-plugins /usr/lib/vmd-molfile-plugins/libmolfile_plugin.a -lnetcdf -lstdc++
#
#------------------------------------------------------------
# BINARIES OBJECTS
---- src/mdpocket.c 2018-09-14 16:37:31.845834900 +0300
-+++ src/mdpocket.c 2018-09-14 16:35:21.485488676 +0300
-@@ -92,10 +92,10 @@
- char pdb_code[350] = "";
-
-
-- if (!strncmp(par->traj_format, "net", 3)) {
-+/* if (!strncmp(par->traj_format, "net", 3)) {
- molfile_netcdfplugin_init();
- molfile_netcdfplugin_register(NULL, register_cb);
-- }
-+ }*/
- if (!strncmp(par->traj_format, "dcd", 3)) {
- molfile_dcdplugin_init();
- molfile_dcdplugin_register(NULL, register_cb);