wok rev 23893
Fix jabberd2 & ntl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 25 17:44:56 2020 +0000 (2020-07-25) |
parents | 800de22df35e |
children | a93d510296da |
files | jabberd2/receipt ntl/receipt ptlib/stuff/ptlib-2.10.10-mga-bison-parameter.patch |
line diff
1.1 --- a/jabberd2/receipt Sat Jul 25 17:02:18 2020 +0000 1.2 +++ b/jabberd2/receipt Sat Jul 25 17:44:56 2020 +0000 1.3 @@ -16,7 +16,7 @@ 1.4 DEPENDS="expat gsasl libidn libcomerr3 libkrb5 openssl perl udns zlib" 1.5 BUILD_DEPENDS="cppunit-dev db-dev expat expat-dev gsasl gsasl-dev \ 1.6 libidn-dev mysql openldap-dev openssl-dev postgresql \ 1.7 - sqlite sqlite-dev udns udns-dev zlib-dev" 1.8 + sqlite sqlite-dev udns udns-dev zlib-dev libgcrypt-dev" 1.9 CONFIG_FILES="/etc/jabberd" 1.10 1.11 # Rules to configure and make the package.
2.1 --- a/ntl/receipt Sat Jul 25 17:02:18 2020 +0000 2.2 +++ b/ntl/receipt Sat Jul 25 17:44:56 2020 +0000 2.3 @@ -19,6 +19,7 @@ 2.4 { 2.5 export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" 2.6 2.7 + cd $src/src 2.8 ./configure \ 2.9 CXX=g++-83 \ 2.10 DEF_PREFIX=/usr \
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/ptlib/stuff/ptlib-2.10.10-mga-bison-parameter.patch Sat Jul 25 17:44:56 2020 +0000 3.3 @@ -0,0 +1,39 @@ 3.4 +--- ptlib-2.10.11/src/ptlib/common/getdate.y 2013-08-15 01:20:26.000000000 +0200 3.5 ++++ ptlib-2.10.11/src/ptlib/common/getdate.y 2013-12-15 00:24:27.866481490 +0100 3.6 +@@ -121,9 +121,9 @@ 3.7 + static int yylex(); 3.8 + 3.9 + #ifdef __GNUC__ 3.10 +-static int yyerror(char const *msg); 3.11 ++static int yyerror(void *, char const *msg); 3.12 + #else 3.13 +-static void yyerror(char const *msg); 3.14 ++static void yyerror(void *, char const *msg); 3.15 + #endif 3.16 + 3.17 + 3.18 +@@ -132,7 +132,8 @@ 3.19 + 3.20 + %} 3.21 + 3.22 +-%pure_parser 3.23 ++%define api.pure 3.24 ++%parse-param {void *parseParam} 3.25 + 3.26 + %union { 3.27 + time_t Number; 3.28 +@@ -1018,12 +1019,12 @@ 3.29 + #endif 3.30 + 3.31 + #ifdef __GNUC__ 3.32 +-int yyerror(const char * s) 3.33 ++int yyerror(void *var, const char * s) 3.34 + { 3.35 + return 0; 3.36 + } 3.37 + #else 3.38 +-static void yyerror(const char * s) 3.39 ++static void yyerror(void *var, const char * s) 3.40 + { 3.41 + } 3.42 + #endif