Fix build errors on -current. Also correctly call (un)exec install-info.

This commit is contained in:
Steve Price 2000-02-27 23:00:05 +00:00
parent ae98516feb
commit 9622e49fcf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26384
5 changed files with 75 additions and 0 deletions

20
devel/prcs/files/patch-aa Normal file
View File

@ -0,0 +1,20 @@
--- src/include/prcserror.h.orig Sun Feb 27 12:43:05 2000
+++ src/include/prcserror.h Sun Feb 27 12:45:35 2000
@@ -121,7 +121,7 @@
private:
operator bool () const { return error(); }
- operator!();
+ void operator!();
};
#ifdef PRCS_DEVEL
@@ -183,7 +183,7 @@
private:
Type _val;
- operator!();
+ void operator!();
};
#ifdef PRCS_DEVEL

11
devel/prcs/files/patch-ab Normal file
View File

@ -0,0 +1,11 @@
--- src/include/projdesc.h.orig Sun Feb 27 12:46:06 2000
+++ src/include/projdesc.h Sun Feb 27 12:46:30 2000
@@ -347,7 +347,7 @@
/* Illegal. */
ProjectDescriptor(const ProjectDescriptor&);
- operator=(const ProjectDescriptor&);
+ void operator=(const ProjectDescriptor&);
/* Parsing. */
int prj_lookup_hash (const char *str, int len);

22
devel/prcs/files/patch-ac Normal file
View File

@ -0,0 +1,22 @@
--- src/prcserror.tl.orig Sun Feb 27 12:48:25 2000
+++ src/prcserror.tl Sun Feb 27 12:51:16 2000
@@ -29,7 +29,9 @@
template class PrError<QuickElim*>;
#endif
template class PrError<int>;
+#if 0
template class PrError<pid_t>;
+#endif
template class PrError<PrcsExitStatus>;
template class PrError<ArgList*>;
template class PrError<const char*>;
@@ -68,7 +70,9 @@
MkTemplate(PrError, const char*);
MkTemplate(PrError, FILE*);
MkTemplate(PrError, int);
+#if 0
MkTemplate(PrError, pid_t);
+#endif
MkTemplate(PrError, bool);
MkTemplate(PrError, RepEntry*);
MkTemplate(PrError, RcsDelta*);

11
devel/prcs/files/patch-ad Normal file
View File

@ -0,0 +1,11 @@
--- src/hash.cc.orig Sun Feb 27 12:51:56 2000
+++ src/hash.cc Sun Feb 27 12:53:24 2000
@@ -95,7 +95,7 @@
return attrs_hash (x, M);
}
-int hash(const char*& s, int M)
+int hash(const char* const& s, int M)
/* a char* hash function from Aho, Sethi, and Ullman */
{
const char *p;

11
devel/prcs/files/patch-ae Normal file
View File

@ -0,0 +1,11 @@
--- src/projdesc.cc.orig Sun Feb 27 12:58:40 2000
+++ src/projdesc.cc Sun Feb 27 12:58:13 2000
@@ -1600,7 +1600,7 @@
return true;
}
-extern int hash(const char*& s, int M);
+extern int hash(const char* const& s, int M);
int attrs_hash(const PrcsAttrs*const & s, int M)
{