Date: 19 May 2000 10:01:04 -0700 From: Scott Blachowicz <scott@sabami.seaslug.org> To: "Jacques A . Vidrine" <n@nectar.com> Cc: freebsd-ports@freebsd.org Subject: Re: KDE2: make install 'fails' ... Message-ID: <87hfbufp9r.fsf@sabmail.rresearch.com> In-Reply-To: "Jacques A . Vidrine"'s message of "Fri, 19 May 2000 11:38:23 -0500" References: <Pine.BSF.4.21.0005190118370.243-100000@thelab.hub.org> <87ln16fqw6.fsf@sabmail.rresearch.com> <20000519113823.U96307@bone.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "n" == Jacques A Vidrine <n@nectar.com> n> This was fixed post- FreeBSD 3.2 (and post- BIND 8.something). n> Specifically, it was fixed in src/include/arpa/nameser.h revision 1.13 n> on June 4 1999. I figured something like that would be the case. My next error is in: kdelibs-1.90/kdecore/ktempfile.cpp and this code: bool KTempFile::create(const QString &filePrefix, const QString &fileExtension, int mode) { #ifdef __FreeBSD__ mTmpName = filePrefix+QString("XXXX")+fileExtension; char *mktmpName = (char *)malloc(mTmpName.length()); strcpy(mktmpName, mTmpName.ascii()); mFd = mkstemps(mktmpName, fileExtension.length()); if (mFd == -1) { mError = errno; mTmpName = QString::null; free(mktmpName); return false; } mTmpName = mktmpName; free(mktmpName); fchmod( mFd, mode); // Fix the mode #else ...etc... It seems that the mktemps() function doesn't exist on this system. Suppose I can probably go find that mkstemps() function in the latest FreeBSD sources...or just use the other branch of that #ifdef... Is there any easy way to locate a function like this in the FreeBSD sources (I don't have them on my system) and identify with __FreeBSD__ value would likely correspond with the introduction of this function? BTW...it looks like the search indexing on www.freebsd.org needs updating. A search on "mkstemps" within the web pages produced this link: http://www.freebsd.org/handbook/porting.html but that's been split off to a separate "Porter's Handbook". Time to go browsing through that, I guess. -- Scott Blachowicz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87hfbufp9r.fsf>