- Unbreak build
- Add LICENSE Approved by: portmgr blanket
This commit is contained in:
parent
61a0b9be49
commit
41607de941
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457225
3 changed files with 23 additions and 3 deletions
|
@ -9,9 +9,7 @@ MASTER_SITES= SF
|
|||
MAINTAINER= ap@page2rss.com
|
||||
COMMENT= Template system for C
|
||||
|
||||
BROKEN_aarch64= fails to compile: assigning to char * from incompatible type const char *
|
||||
BROKEN_armv6= fails to compile: assigning to char * from incompatible type const char *
|
||||
BROKEN_armv7= fails to compile: assigning to char * from incompatible type const char *
|
||||
LICENSE= NONE
|
||||
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
|
|
11
www/ctemplate/files/patch-src_h2ap.ll
Normal file
11
www/ctemplate/files/patch-src_h2ap.ll
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/h2ap.ll.orig 2017-12-21 21:01:19 UTC
|
||||
+++ src/h2ap.ll
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "ff_driver.hh"
|
||||
|
||||
char* tplargs=0;
|
||||
-const char* funcname=0;
|
||||
+char* funcname=0;
|
||||
const char* funcprefix="tpl_";
|
||||
FILE* hout=0;
|
||||
|
11
www/ctemplate/files/patch-src_htpl__driver.h
Normal file
11
www/ctemplate/files/patch-src_htpl__driver.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/htpl_driver.h.orig 2008-04-15 23:08:27 UTC
|
||||
+++ src/htpl_driver.h
|
||||
@@ -40,7 +40,7 @@ const char *getprogname(void);
|
||||
#endif
|
||||
|
||||
extern char* tplargs;
|
||||
-const extern char* funcname;
|
||||
+extern char* funcname;
|
||||
extern const char* funcprefix;
|
||||
|
||||
class htpl_driver {
|
Loading…
Reference in a new issue