Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2024 09:59:55 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4fe8fe92602a - main - www/tinyproxy: Fix build on main after b53d7aa88fd5a5e8a67dd71ea7332fa473595d28
Message-ID:  <202407210959.46L9xtgJ078785@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 4fe8fe92602ad5d09ee49908d864d85101b46440
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-21 09:56:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-21 09:56:35 +0000

    www/tinyproxy: Fix build on main after b53d7aa88fd5a5e8a67dd71ea7332fa473595d28
    
    - Remove _FORTIFY_SOURCE to fix build
    - Remove -Wlogical-op warning
    
    warning: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option]
    In file included from hostspec.c:1:
    In file included from ./common.h:52:
    In file included from /usr/include/wchar.h:116:
    /usr/include/ssp/wchar.h:34:8: error: unknown type name 'inline'
       34 | static inline int
          |        ^
    1 warning and 1 error generated.
    
    Reference:      https://cgit.freebsd.org/src/commit/?id=b53d7aa88fd5a5e8a67dd71ea7332fa473595d28
                    https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p6fe85dedb3d5_s47fb5d2b13c/logs/tinyproxy-1.11.2_2,1.log
---
 www/tinyproxy/files/patch-configure | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/www/tinyproxy/files/patch-configure b/www/tinyproxy/files/patch-configure
new file mode 100644
index 000000000000..3de2b43c67c3
--- /dev/null
+++ b/www/tinyproxy/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig	2024-05-08 18:25:29 UTC
++++ configure
+@@ -6376,7 +6376,7 @@ fi
+ fi
+ 
+ 
+-DESIRED_FLAGS="-fdiagnostics-show-option -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wfloat-equal -Wundef -Wformat=2 -Wlogical-op -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Waggregate-return -Winit-self -Wpacked --std=c89 -ansi -Wno-overlength-strings -Wno-long-long -Wno-overlength-strings -Wdeclaration-after-statement -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-qual -Wcast-align -Wwrite-strings -Wp,-D_FORTIFY_SOURCE=2 -fno-common"
++DESIRED_FLAGS="-fdiagnostics-show-option -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wfloat-equal -Wundef -Wformat=2 -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Waggregate-return -Winit-self -Wpacked --std=c89 -ansi -Wno-overlength-strings -Wno-long-long -Wno-overlength-strings -Wdeclaration-after-statement -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-qual -Wcast-align -Wwrite-strings -fno-common"
+ 
+ if test -n "${MAINTAINER_MODE_FALSE}"; then
+    DESIRED_FLAGS="-Werror $DESIRED_FLAGS"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407210959.46L9xtgJ078785>