freebsd-ports/misc/bibletime/files/patch-bibletime::frontend::btinstallmgr.cpp
Rong-En Fan ce436f6f86 - Update to 1.5.3
- Pass maintainership to submitter
- Reformat pkg-descr
- Workaround for sword 1.5.8 (LIB_DEPENDS -> {RUN,BUILD}_DEPENDS)

PR:		ports/100213
Submitted by	Thomas Abthorpe <thomas goodking.ca>
2006-07-15 00:10:53 +00:00

24 lines
961 B
C++

--- bibletime/frontend/btinstallmgr.cpp.orig Sat Oct 1 08:18:03 2005
+++ bibletime/frontend/btinstallmgr.cpp Tue Jul 11 11:07:41 2006
@@ -97,7 +97,7 @@
continue;
}
else {
- conf["Install"].insert( std::make_pair(!setDataPath ? SWBuf("DataPath") : SWBuf("AugmentPath"), t.local8Bit()) );
+ conf["Install"].insert( std::make_pair((const char*)(!setDataPath ? "DataPath" : "AugmentPath"), t.local8Bit()) );
setDataPath = true;
}
@@ -167,10 +167,10 @@
is->directory--; //make one char shorter
}
- config["Sources"].insert( std::make_pair(SWBuf("FTPSource"), is->getConfEnt()) );
+ config["Sources"].insert( std::make_pair((const char*)"FTPSource", is->getConfEnt()) );
}
else if (!strcmp(is->type, "DIR")) {
- config["Sources"].insert( std::make_pair(SWBuf("DIRSource"), is->getConfEnt()) );
+ config["Sources"].insert( std::make_pair((const char*)"DIRSource", is->getConfEnt()) );
}
config.Save();
}