FreeBSD Bugzilla – Attachment 217324 Details for
Bug 248739
net/isc-dhcp44-server: Fix build with -fno-common (clang 11 and gcc 10)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with -fno-common (clang 11 and gcc 10)
net__isc-dhcp44-server-fix-common-1.diff (text/plain), 3.01 KB, created by
Dimitry Andric
on 2020-08-18 21:11:49 UTC
(
hide
)
Description:
Fix build with -fno-common (clang 11 and gcc 10)
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-08-18 21:11:49 UTC
Size:
3.01 KB
patch
obsolete
>Index: net/isc-dhcp44-server/files/patch-client_dhclient.c >=================================================================== >--- net/isc-dhcp44-server/files/patch-client_dhclient.c (nonexistent) >+++ net/isc-dhcp44-server/files/patch-client_dhclient.c (working copy) >@@ -0,0 +1,11 @@ >+--- client/dhclient.c.orig 2020-01-21 19:21:48 UTC >++++ client/dhclient.c >+@@ -83,8 +83,6 @@ static const char message [] = "Internet Systems Conso >+ static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/"; >+ #endif /* UNIT_TEST */ >+ >+-u_int16_t local_port = 0; >+-u_int16_t remote_port = 0; >+ #if defined(DHCPv6) && defined(DHCP4o6) >+ int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */ >+ #endif > >Property changes on: net/isc-dhcp44-server/files/patch-client_dhclient.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net/isc-dhcp44-server/files/patch-relay_dhcrelay.c >=================================================================== >--- net/isc-dhcp44-server/files/patch-relay_dhcrelay.c (nonexistent) >+++ net/isc-dhcp44-server/files/patch-relay_dhcrelay.c (working copy) >@@ -0,0 +1,12 @@ >+--- relay/dhcrelay.c.orig 2020-01-21 19:21:48 UTC >++++ relay/dhcrelay.c >+@@ -95,9 +95,6 @@ enum { forward_and_append, /* Forward and append our o >+ forward_untouched, /* Forward without changes. */ >+ discard } agent_relay_mode = forward_and_replace; >+ >+-u_int16_t local_port; >+-u_int16_t remote_port; >+- >+ /* Relay agent server list. */ >+ struct server_list { >+ struct server_list *next; > >Property changes on: net/isc-dhcp44-server/files/patch-relay_dhcrelay.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net/isc-dhcp44-server/files/patch-server_mdb.c >=================================================================== >--- net/isc-dhcp44-server/files/patch-server_mdb.c (nonexistent) >+++ net/isc-dhcp44-server/files/patch-server_mdb.c (working copy) >@@ -0,0 +1,11 @@ >+--- server/mdb.c.orig 2020-01-21 19:21:48 UTC >++++ server/mdb.c >+@@ -67,8 +67,6 @@ static host_id_info_t *host_id_info = NULL; >+ >+ int numclasseswritten; >+ >+-omapi_object_type_t *dhcp_type_host; >+- >+ isc_result_t enter_class(cd, dynamicp, commit) >+ struct class *cd; >+ int dynamicp; > >Property changes on: net/isc-dhcp44-server/files/patch-server_mdb.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248739
: 217324