From owner-freebsd-ports Fri May 19 10: 1:33 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sabami.seaslug.org (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by hub.freebsd.org (Postfix) with ESMTP id 1AAC337BDC1 for ; Fri, 19 May 2000 10:01:30 -0700 (PDT) (envelope-from scott@sabmail.rresearch.com) Received: from sabmail.rresearch.com (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by sabami.seaslug.org (Postfix) with SMTP id DA45F1F86; Fri, 19 May 2000 10:01:04 -0700 (PDT) To: "Jacques A . Vidrine" Cc: freebsd-ports@freebsd.org Subject: Re: KDE2: make install 'fails' ... References: <87ln16fqw6.fsf@sabmail.rresearch.com> <20000519113823.U96307@bone.nectar.com> Reply-To: scott@sabami.seaslug.org From: Scott Blachowicz Date: 19 May 2000 10:01:04 -0700 In-Reply-To: "Jacques A . Vidrine"'s message of "Fri, 19 May 2000 11:38:23 -0500" Message-ID: <87hfbufp9r.fsf@sabmail.rresearch.com> Lines: 50 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "n" == Jacques A Vidrine 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