Skip to content

pro-mdnsd 0.8.4.1 for open62541 >= 1.13.3 #27408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steinerthomas
Copy link
Contributor

Summary

Changes to recipe: open62541/>=1.13.3 pro-mdnsd/0.8.4.1

Motivation

since open62541/1.13.3 https://github.com/open62541/open62541/tree/v1.3.13/deps uses pro-mdnsd https://github.com/Pro/mdnsd/releases/tag/v0.8.4.1

Details

Fix compiler warnings:

/home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/open62541/1.4.6/_/_/build/be0e67b6560846889f52232eb12a1d7de90368cc/src/src/server/ua_discovery_mdns.c: In function 'MulticastDiscoveryCallback':
/home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/open62541/1.4.6/_/_/build/be0e67b6560846889f52232eb12a1d7de90368cc/src/src/server/ua_discovery_mdns.c:778:46: warning: passing argument 3 of 'mdnsd_in' makes integer from pointer without a cast [-Wint-conversion]
  778 |         mdnsd_in(dm->mdnsDaemon, &mm, infoptr->ai_addr,
      |                                       ~~~~~~~^~~~~~~~~
      |                                              |
      |                                              struct sockaddr *
In file included from /home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/open62541/1.4.6/_/_/build/be0e67b6560846889f52232eb12a1d7de90368cc/src/src/server/ua_discovery.h:47,
                 from /home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/open62541/1.4.6/_/_/build/be0e67b6560846889f52232eb12a1d7de90368cc/src/src/server/ua_discovery_mdns.c:10:
/home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/pro-mdnsd/0.8.4/_/_/package/ec28c4975cbe375aa63708877d79b4c20ce39560/include/libmdnsd/mdnsd.h:127:74: note: expected 'in_addr_t' {aka 'unsigned int'} but argument is of type 'struct sockaddr *'
  127 | int MDNSD_EXPORT mdnsd_in(mdns_daemon_t *d, struct message *m, in_addr_t ip, unsigned short int port);
      |                                                                ~~~~~~~~~~^~
/home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/open62541/1.4.6/_/_/build/be0e67b6560846889f52232eb12a1d7de90368cc/src/src/server/ua_discovery_mdns.c: In function 'sendMulticastMessages':
/home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/open62541/1.4.6/_/_/build/be0e67b6560846889f52232eb12a1d7de90368cc/src/src/server/ua_discovery_mdns.c:797:42: warning: passing argument 3 of 'mdnsd_out' from incompatible pointer type [-Wincompatible-pointer-types]
  797 |     while(mdnsd_out(dm->mdnsDaemon, &mm, &ip, &sport) > 0) {
      |                                          ^~~
      |                                          |
      |                                          struct sockaddr *
/home/jenkins/workspace/BackendLibraries/conan-center-index/conan-center-index@tmp/artifactory/conan.tmp4809932734074106027/.conan/data/pro-mdnsd/0.8.4/_/_/package/ec28c4975cbe375aa63708877d79b4c20ce39560/include/libmdnsd/mdnsd.h:133:81: note: expected 'struct in_addr *' but argument is of type 'struct sockaddr *'
  133 | int MDNSD_EXPORT mdnsd_out(mdns_daemon_t *d, struct message *m, struct in_addr *ip, unsigned short int *port);
      |                                                                 ~~~~~~~~~~~~~~~~^~
At top level:
cc1: note: unrecognized command-line option '-Wno-static-in-inline' may have been intended to silence earlier diagnostics

@@ -2,6 +2,11 @@ sources:
"0.8.4":
url: "https://github.com/Pro/mdnsd/archive/v0.8.4.tar.gz"
sha256: "e2d740d59b71b1b4478471c71fe5c2c96eea9296d42385b6e6525526a487d158"
"0.8.4.1":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version seems to be tagged but not released, do you have any insight into whether upstream expects to mark it as an official release soon? (Given that 0.8.4 is 5 years old at this point)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants