git: 7312a41c7675 - main - finance/odoo14: Fix issues with new version of www/py-werkzeug
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 06:02:11 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7312a41c7675cbbc9edb25affc74c93abfe32cf4
commit 7312a41c7675cbbc9edb25affc74c93abfe32cf4
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-11-18 05:52:56 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-11-18 05:52:56 +0000
finance/odoo14: Fix issues with new version of www/py-werkzeug
---
finance/odoo14/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/finance/odoo14/Makefile b/finance/odoo14/Makefile
index 170e1f6a3130..2f5194f2a7f5 100644
--- a/finance/odoo14/Makefile
+++ b/finance/odoo14/Makefile
@@ -1,6 +1,6 @@
PORTNAME= odoo
PORTVERSION= 14.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= finance www
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 14
@@ -95,6 +95,10 @@ post-patch:
${WRKSRC}/odoo/addons/mail/models/mail_thread.py \
${WRKSRC}/odoo/addons/mail/controllers/main.py \
${WRKSRC}/odoo/addons/hr/models/hr_employee.py
+ @${REINPLACE_CMD} -i "" -e 's|(index !== |(index == |g' \
+ ${WRKSRC}/odoo/addons/web/static/src/js/libs/content-disposition.js
+ @${REINPLACE_CMD} -i "" -e 's|BaseResponse|Response|g' \
+ ${WRKSRC}/odoo/http.py
post-extract:
@cd ${WRKSRC}/addons/ && ${MV} * ${WRKSRC}/odoo/addons/