ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 78492d9: Cope with newer Xcode not having the 10.6 SD

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 5 Nov 2014 01:50:03 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=78492d9dd21e3567a12f210ab4b3c79a66feea65
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

78492d9 by Guy Harris (guy@xxxxxxxxxxxx):

    Cope with newer Xcode not having the 10.6 SDK.
    
    The latest Xcode, as of today, has only 10.9 and 10.10 SDKs, which means
    that, if we build Wireshark and request a deployment minimum release of
    10.6, we'll be building against an SDK in which libpcap has routines
    that aren't available in 10.6 and that doesn't use weak linking for
    them, so the resulting binary won't actually work on 10.6.
    
    Use the run-time loader to find those routines (currently, only
    pcap_set_tstamp_precision()) and call them only if we find them.
    
    On other UN*Xes, we still assume that we'll be running only on the
    release against which we were built and newer releases.
    
    Change-Id: Iab20d86fe3be4b299cfb6e25c1f95dc6e1581661
    Reviewed-on: https://code.wireshark.org/review/5120
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  196d7b4   Add the flag SVGs to the set of files we distribute.
    adds  78492d9   Cope with newer Xcode not having the 10.6 SDK.


Summary of changes:
 caputils/capture-pcap-util-unix.c |   64 ++++++++++++++++++++++++++++++++++---
 caputils/capture-pcap-util.h      |    8 +++--
 dumpcap.c                         |   15 ++-------
 3 files changed, 68 insertions(+), 19 deletions(-)