Accepting request 631860 from home:jsikes:branches:network:utilities
Now compiles when ENABLE_SLPv2_SECURITY is not defined. Enjoy! OBS-URL: https://build.opensuse.org/request/show/631860 OBS-URL: https://build.opensuse.org/package/show/network:utilities/openslp?expand=0&rev=61
This commit is contained in:
parent
94bba6a0e9
commit
d14bffd8e5
14
openslp-2.0.0-ifdef-slpv2.diff
Normal file
14
openslp-2.0.0-ifdef-slpv2.diff
Normal file
@ -0,0 +1,14 @@
|
||||
Index: openslp-2.0.0/slpd/slpd_process.c
|
||||
===================================================================
|
||||
--- openslp-2.0.0.orig/slpd/slpd_process.c
|
||||
+++ openslp-2.0.0/slpd/slpd_process.c
|
||||
@@ -1055,7 +1055,9 @@ RESPOND:
|
||||
if (truncate && size > truncate && G_SlpdProperty.hardMTU)
|
||||
{
|
||||
attrlistlen = 0;
|
||||
+#ifdef ENABLE_SLPv2_SECURITY
|
||||
opaqueauth = 0;
|
||||
+#endif
|
||||
size = message->header.langtaglen + 19; /* 14 bytes for header */
|
||||
truncated = 1;
|
||||
}
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 22:13:24 UTC 2018 - Jason Sikes <jsikes@suse.de>
|
||||
|
||||
- Fixed failure to compile when ENABLE_SLPv2_SECURITY is not set
|
||||
new patch: openslp-2.0.0-ifdef-slpv2.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 11 14:39:03 CEST 2018 - mls@suse.de
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -66,6 +66,7 @@ Patch17: openslp.foldws.diff
|
||||
Patch18: openslp.openssl-1.1.diff
|
||||
Patch19: openslp.localaddr.diff
|
||||
Patch20: openslp.tcpunicast.diff
|
||||
Patch21: openslp-2.0.0-ifdef-slpv2.diff
|
||||
|
||||
%description
|
||||
Service Location Protocol is an IETF standards track protocol that
|
||||
@ -138,6 +139,7 @@ such applications.
|
||||
%patch18 -p2
|
||||
%patch19
|
||||
%patch20
|
||||
%patch21 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
|
Loading…
x
Reference in New Issue
Block a user