New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #41603 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

minidlna: upgrade to latest version 1.1.1 fails

Reported by: mk@… Owned by: ranauei@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: minidlna

Description

I tried to upgrade to the latest version of minidlna using my attached portfile patch, but failed pretty early during build:

  CC       getifaddr.o
getifaddr.c: In function ‘getifaddr’:
getifaddr.c:85: error: ‘IFF_SLAVE’ undeclared (first use in this function)
getifaddr.c:85: error: (Each undeclared identifier is reported only once
getifaddr.c:85: error: for each function it appears in.)

Any idea what could be done about it?

Attachments

patch-getifaddr.c.diff (278 bytes) - added by mk@… 20 months ago.
patch to fix the IFF_SLAVE
Portfile (1.3 KB) - added by mk@… 20 months ago.
patch for minidlna's portfile including the IFF_SLAVE patch
minidlna_Portfile.diff (1.2 KB) - added by mk@… 20 months ago.
THIS is the patch

Change History

Changed 20 months ago by mk@…

patch to fix the IFF_SLAVE

Changed 20 months ago by mk@…

patch for minidlna's portfile including the IFF_SLAVE patch

Changed 20 months ago by mk@…

THIS is the patch

comment:1 Changed 20 months ago by mk@…

ranauei, this works for me on Snow Leopard.

Can you test it on another version of Mac OSX?

Could be newer versions wouldn't need the included patch for getifaddr.c?

comment:2 Changed 20 months ago by mk@…

I can test build on 10.9 myself tomorrow...

Watching streams with minidlna running on 10.6.8 works fine with a Samsung TV.

comment:3 Changed 20 months ago by mk@…

The patch is also needed on 10.9.

So this should be reported upstream, I guess...

comment:4 Changed 20 months ago by mk@…

comment:5 Changed 20 months ago by mk@…

ranauei, if you do not object I will commit the patched upgrade to MacPorts.

comment:6 Changed 20 months ago by mk@…

  • Status changed from new to closed
  • Resolution set to fixed

Done in r114826

Note: See TracTickets for help on using tickets.