- drop a few patches in favor of a perl replace, no pkg change.
This commit is contained in:
parent
1674edcbbd
commit
da8b8581eb
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2011/06/21 07:26:26 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2011/12/03 12:49:11 jasper Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
@ -39,6 +39,15 @@ USE_GMAKE = yes
|
||||
USE_LIBTOOL = yes
|
||||
LIBTOOL_FLAGS = --tag=disable-static
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e 's,-Wextra,,g;' \
|
||||
-e 's,-Wno-missing-field-initializers,,g;' \
|
||||
${WRKSRC}/Makefile.in ${WRKSRC}/agent/Makefile.in \
|
||||
${WRKSRC}/nice/Makefile.in ${WRKSRC}/random/Makefile.in \
|
||||
${WRKSRC}/socket/Makefile.in ${WRKSRC}/stun/Makefile.in \
|
||||
${WRKSRC}/stun/tests/Makefile.in ${WRKSRC}/stun/tools/Makefile.in \
|
||||
${WRKSRC}/tests/Makefile.in
|
||||
|
||||
post-configure:
|
||||
perl -pi -e 's,/bin/bash,/bin/sh,' \
|
||||
${WRKSRC}/tests/test-pseudotcp-random.sh
|
||||
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -250,7 +250,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -260,8 +259,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-agent_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- agent/Makefile.in.orig Fri Jan 21 01:17:04 2011
|
||||
+++ agent/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -253,7 +253,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -263,8 +262,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda $(BUILT_SOURCES)
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-nice_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- nice/Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ nice/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -254,7 +254,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -264,8 +263,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda libnice.symbols
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-random_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- random/Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ random/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -231,7 +231,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -241,8 +240,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-socket_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- socket/Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ socket/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -225,7 +225,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -235,8 +234,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-stun_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- stun/Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ stun/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -293,7 +293,6 @@ SUBDIRS = . tools tests
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -303,8 +302,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-stun_tests_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- stun/tests/Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ stun/tests/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -244,7 +244,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -254,8 +253,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-stun_tools_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- stun/tools/Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ stun/tools/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -231,7 +231,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -241,8 +240,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-tests_Makefile_in,v 1.3 2011/03/02 07:32:04 jasper Exp $
|
||||
--- tests/Makefile.in.orig Fri Jan 21 01:17:05 2011
|
||||
+++ tests/Makefile.in Sat Feb 19 09:45:19 2011
|
||||
@@ -272,7 +272,6 @@ top_srcdir = @top_srcdir@
|
||||
ERROR_CFLAGS = \
|
||||
$(LIBNICE_CFLAGS) \
|
||||
-fno-strict-aliasing \
|
||||
- -Wextra \
|
||||
-Wundef \
|
||||
-Wnested-externs \
|
||||
-Wwrite-strings \
|
||||
@@ -282,8 +281,7 @@ ERROR_CFLAGS = \
|
||||
-Wmissing-prototypes \
|
||||
-Wstrict-prototypes \
|
||||
-Wredundant-decls \
|
||||
- -Wno-unused-parameter \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-unused-parameter
|
||||
|
||||
# -Wold-style-definition -Winline -Wunreachable-code
|
||||
CLEANFILES = *.gcno *.gcda
|
Loading…
Reference in New Issue
Block a user