1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/biology/povchem/files/patch-ab
Vanilla I. Shu f53fc71c73 Povchem is a tool to generate POV file from a PDB(Protein
DataBank) entry. One can adjust many parameters for a high
quality molecular graphic.
PR:		 ports/6008
Submitted by:	Frank Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
1998-03-16 06:57:14 +00:00

21 lines
708 B
Plaintext

--- povchem.c.orig Sat Mar 14 17:19:41 1998
+++ povchem.c Sat Mar 14 17:20:32 1998
@@ -482,7 +482,7 @@
*/
if (*fileName==NULL) {
- New_String(fileName,"povchem.cfg");
+ New_String(fileName,"/usr/local/etc/povchem.cfg");
if ((config=fopen(*fileName,"r"))==NULL) {
puts("Can't read the configuration file \"povchem.cfg\"!");
perror("Reason");
@@ -731,7 +731,7 @@
no_config:
- if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,"periodic.tab");
+ if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,"/usr/local/share/periodic.tab");
if (!FINISH) New_String(&FINISH,"Plastic");
if (!FINISH_DECLARATION) New_String(&FINISH_DECLARATION,"\
finish {\n\