"wireshark" and wireshark-devel" ports: needed to apply patch to packet-gluster.h to build?

Ryan Schmidt ryandesign at macports.org
Tue Oct 15 22:01:23 PDT 2013


On Oct 15, 2013, at 23:36, "Kennedy, Smith (Wireless Architect)" <smith.kennedy at hp.com> wrote:

> When I recently updated my wireshark port, the build failed.  The trace in my shell where the error occurred was this:
> 
>> In file included from packet-gluster_cli.c:43:
>> ./packet-gluster.h:359:2: error: expected '}'
>>        DT_UNKNOWN = 0,
>>        ^
>> /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN'
>> #define DT_UNKNOWN       0
>>                         ^
>> ./packet-gluster.h:358:26: note: to match this '{'
>> enum gluster_entry_types {
>>                         ^
>> In file included from packet-gluster_pmap.c:43:
>> ./packet-gluster.h:359:2: error: expected '}'
>>        DT_UNKNOWN = 0,
>>        ^
>> /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN'
>> #define DT_UNKNOWN       0
>>                         ^
>> ./packet-gluster.h:358:26: note: to match this '{'
>> enum gluster_entry_types {
>>                         ^
>> 2 warnings and 1 error generated.
>> 2 warnings and 1 error generated.
>> make[5]: *** [libdissectors_la-packet-gluster_cli.lo] Error 1
>> make[5]: *** Waiting for unfinished jobs....
>> make[5]: *** [libdissectors_la-packet-gluster_pmap.lo] Error 1
> 
> I fixed it by adding the following patch to packet-gluster.h:

Looks like it was already reported and fixed for wireshark:

https://trac.macports.org/ticket/40620

but not for wireshark-devel. I'm Cc'ing the maintainer of wireshark-devel (who is different from the maintainer of wireshark); perhaps this change needs to be made in wireshark-devel as well, or perhaps effort should instead go into updating wireshark-devel to the latest development version:

https://trac.macports.org/ticket/40782




More information about the macports-users mailing list