"wireshark" and wireshark-devel" ports: needed to apply patch to packet-gluster.h to build?
Kennedy, Smith (Wireless Architect)
smith.kennedy at hp.com
Tue Oct 15 22:46:27 PDT 2013
Thanks for the quick reply! Updated 40782 with reference to 40620.
Smith
On 2013-10-15, at 11:01 PM, Ryan Schmidt <ryandesign at macports.org>
wrote:
>
> 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
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3319 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20131016/8c8e71d4/attachment.p7s>
More information about the macports-users
mailing list