mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Make textproc/isearch compile on -current again.
PR: ports/46264 Submitted by: Kuang-che Wu <kcwu@kcwu.dyndns.org>
This commit is contained in:
parent
7eedb943e1
commit
0f4482c148
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71647
@ -16,16 +16,10 @@ MAINTAINER= pmarquis@pobox.com
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_ARGS= INSTALL=${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500035
|
||||
BROKEN= "Does not compile on 5.0"
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/html/*.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
11
textproc/isearch/files/patch-src::registry.hxx
Normal file
11
textproc/isearch/files/patch-src::registry.hxx
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/registry.hxx.orig Sun Dec 15 09:13:27 2002
|
||||
+++ src/registry.hxx Sun Dec 15 09:12:51 2002
|
||||
@@ -89,7 +89,7 @@
|
||||
void LoadFromFile(const STRING& FileName);
|
||||
void AddFromFile(const STRING& FileName);
|
||||
// void Print(ostream& os, const INT Level) const;
|
||||
- void fprint(FILE* fp, const INT level = 0) const;
|
||||
+ void fprint(FILE* fp, const INT level) const;
|
||||
void ProfilePrint(ostream& os, const INT Level) const;
|
||||
void GetData(STRLIST *StrlistBuffer);
|
||||
void DeleteChildren();
|
11
textproc/isearch/files/patch-src::string.cxx
Normal file
11
textproc/isearch/files/patch-src::string.cxx
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/string.cxx.orig Sun Dec 15 09:27:00 2002
|
||||
+++ src/string.cxx Sun Dec 15 09:27:20 2002
|
||||
@@ -574,7 +574,7 @@
|
||||
|
||||
// can this be const STRING& ?
|
||||
ostream& operator<<(ostream& os, const STRING& str) {
|
||||
- os.write(str.Buffer, str.Length);
|
||||
+ os.write((char*)str.Buffer, str.Length);
|
||||
return os;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user