diff --git a/www/ctemplate/Makefile b/www/ctemplate/Makefile index e77ac1d66729..48372e4e909e 100644 --- a/www/ctemplate/Makefile +++ b/www/ctemplate/Makefile @@ -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 diff --git a/www/ctemplate/files/patch-src_h2ap.ll b/www/ctemplate/files/patch-src_h2ap.ll new file mode 100644 index 000000000000..edb6f1f2b3f2 --- /dev/null +++ b/www/ctemplate/files/patch-src_h2ap.ll @@ -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; + diff --git a/www/ctemplate/files/patch-src_htpl__driver.h b/www/ctemplate/files/patch-src_htpl__driver.h new file mode 100644 index 000000000000..d04aaa0dc97e --- /dev/null +++ b/www/ctemplate/files/patch-src_htpl__driver.h @@ -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 {