git: c16630d18089 - main - textproc/libfolia: Update 2.10 -> 2.11

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 25 Sep 2022 02:45:22 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c16630d18089b8214febaec6ed282aa4dcb44894

commit c16630d18089b8214febaec6ed282aa4dcb44894
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-25 01:30:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-25 02:45:15 +0000

    textproc/libfolia: Update 2.10 -> 2.11
    
    Reported by:    portscout
---
 textproc/libfolia/Makefile                    |  3 +--
 textproc/libfolia/distinfo                    |  6 +++---
 textproc/libfolia/files/patch-src_Makefile.am | 11 +++++++++++
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/textproc/libfolia/Makefile b/textproc/libfolia/Makefile
index 3e7df72bc16d..6c5966862954 100644
--- a/textproc/libfolia/Makefile
+++ b/textproc/libfolia/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	libfolia
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.10
-PORTREVISION=	4
+DISTVERSION=	2.11
 CATEGORIES=	textproc
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/textproc/libfolia/distinfo b/textproc/libfolia/distinfo
index 5ad997ef3730..86cb23d62973 100644
--- a/textproc/libfolia/distinfo
+++ b/textproc/libfolia/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640970339
-SHA256 (LanguageMachines-libfolia-v2.10_GH0.tar.gz) = 0ea612c25f1c3e6e54cd6ada4e74ed89541afe4c7a03fd922983885603c36cc9
-SIZE (LanguageMachines-libfolia-v2.10_GH0.tar.gz) = 193758
+TIMESTAMP = 1664068968
+SHA256 (LanguageMachines-libfolia-v2.11_GH0.tar.gz) = 5c7d5a2c58ed774fb0c16b76e88659f7e691112f19d0f6368ee9f230abae2887
+SIZE (LanguageMachines-libfolia-v2.11_GH0.tar.gz) = 195457
diff --git a/textproc/libfolia/files/patch-src_Makefile.am b/textproc/libfolia/files/patch-src_Makefile.am
new file mode 100644
index 000000000000..fb4a571319fc
--- /dev/null
+++ b/textproc/libfolia/files/patch-src_Makefile.am
@@ -0,0 +1,11 @@
+- remove compiler flags related to debug and optimization
+
+--- src/Makefile.am.orig	2022-09-25 01:24:24 UTC
++++ src/Makefile.am
+@@ -1,5 +1,5 @@
+ AM_CPPFLAGS = -I@top_srcdir@/include
+-AM_CXXFLAGS = -std=c++11 -g -O3 -W -Wall -pedantic
++AM_CXXFLAGS = -std=c++11 -W -Wall -pedantic
+ 
+ 
+ LDADD = libfolia.la