mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
89d08ccafe
- Allow building only the client or server (adding OPTIONS). - Improve wrapper script (only create ~/.cube once and pass parameters to the real executable). - Install documentation (if !NOPORTDOCS). - Build targets according to OPTIONS. - IGNORE if no executables were selected. - Format pkg-descr and add item. - Copy autoexec.cfg in addition to config.cfg instead of symlinking it. PR: ports/101037 Submitted by: alepulver (myself) Approved by: maintainer (timeout)
20 lines
617 B
C++
20 lines
617 B
C++
--- ./tools.h.orig Sun Aug 14 19:09:22 2005
|
|
+++ ./tools.h Sat Jul 29 20:59:06 2006
|
|
@@ -147,6 +147,8 @@
|
|
void allocnext(size_t allocsize);
|
|
};
|
|
|
|
+pool *gp();
|
|
+
|
|
template <class T> struct vector
|
|
{
|
|
T *buf;
|
|
@@ -270,7 +272,6 @@
|
|
|
|
#define enumerate(ht,t,e,b) loopi(ht->size) for(ht->enumc = ht->table[i]; ht->enumc; ht->enumc = ht->enumc->next) { t e = &ht->enumc->data; b; }
|
|
|
|
-pool *gp();
|
|
inline char *newstring(char *s) { return gp()->string(s); };
|
|
inline char *newstring(char *s, size_t l) { return gp()->string(s, l); };
|
|
inline char *newstringbuf(char *s) { return gp()->stringbuf(s); };
|