-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathopenvswitch-makefilein-gcc8.diff
More file actions
15 lines (15 loc) · 1 KB
/
openvswitch-makefilein-gcc8.diff
File metadata and controls
15 lines (15 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- openvswitch-2.3.0/Makefile.in 2014-08-14 16:35:16.000000000 -0400
+++ openvswitch-2.3.0/Makefile.in 2021-10-23 08:01:02.456131763 -0400
@@ -4695,10 +4695,11 @@
@LINUX_ENABLED_TRUE@ cd datapath/linux && $(MAKE) modules_install
@HAVE_OPENSSL_TRUE@lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem
@HAVE_OPENSSL_TRUE@ (echo '#include "lib/dhparams.h"' && \
+@HAVE_OPENSSL_TRUE@ cat $(srcdir)/lib/dh_set0_pqg.c && \
@HAVE_OPENSSL_TRUE@ openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \
@HAVE_OPENSSL_TRUE@ openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \
@HAVE_OPENSSL_TRUE@ openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \
-@HAVE_OPENSSL_TRUE@ | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp
+@HAVE_OPENSSL_TRUE@ | sed 's/static \(DH \*get_dh[0-9]*\)(.*)/\1(void)/' > lib/dhparams.c.tmp
@HAVE_OPENSSL_TRUE@ mv lib/dhparams.c.tmp lib/dhparams.c
$(srcdir)/lib/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES)
$(OVSDB_IDLC) annotate $(VSWITCH_IDL_FILES) > $@.tmp