Changeset 26999


Ignore:
Timestamp:
2011-05-24T12:36:25+02:00 (7 years ago)
Author:
jow
Message:

[package] libpcap: add -fpic, refresh patches

Location:
trunk/package/libpcap
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/libpcap/Makefile

    r26995 r26999  
    3939 
    4040TARGET_CFLAGS += \ 
     41        $(FPIC) \ 
    4142        -ffunction-sections \ 
    4243        -fdata-sections 
  • trunk/package/libpcap/patches/102-makefile_disable_manpages.patch

    r26995 r26999  
    11--- a/Makefile.in 
    22+++ b/Makefile.in 
    3 @@ -539,62 +539,12 @@ install: install-shared install-archive 
     3@@ -539,62 +539,12 @@ install: install-shared install-archive  
    44            (mkdir -p $(DESTDIR)$(includedir); chmod 755 $(DESTDIR)$(includedir)) 
    55        [ -d $(DESTDIR)$(includedir)/pcap ] || \ 
  • trunk/package/libpcap/patches/201-space_optimization.patch

    r20057 r26999  
    11--- a/gencode.c 
    22+++ b/gencode.c 
    3 @@ -439,20 +439,6 @@ pcap_compile_nopcap(int snaplen_arg, int 
     3@@ -491,20 +491,6 @@ pcap_compile_nopcap(int snaplen_arg, int 
    44 } 
    55  
     
    2424--- a/pcap.c 
    2525+++ b/pcap.c 
    26 @@ -698,6 +698,59 @@ static const u_char charmap[] = { 
     26@@ -748,6 +748,59 @@ static const u_char charmap[] = { 
    2727        (u_char)'\374', (u_char)'\375', (u_char)'\376', (u_char)'\377', 
    2828 }; 
     
    8686--- a/optimize.c 
    8787+++ b/optimize.c 
    88 @@ -2278,45 +2278,6 @@ icode_to_fcode(root, lenp) 
     88@@ -2292,45 +2292,6 @@ icode_to_fcode(root, lenp) 
    8989        return fp; 
    9090 } 
  • trunk/package/libpcap/patches/202-protocol_api.patch

    r26995 r26999  
    106106 } 
    107107  
    108 @@ -317,6 +319,15 @@ pcap_set_buffer_size(pcap_t *p, int buff 
    109         return 0; 
     108@@ -318,6 +320,15 @@ pcap_set_buffer_size(pcap_t *p, int buff 
    110109 } 
    111110  
    112 +int 
     111 int 
    113112+pcap_set_protocol(pcap_t *p, unsigned short proto) 
    114113+{ 
     
    119118+} 
    120119+ 
    121  int 
     120+int 
    122121 pcap_activate(pcap_t *p) 
    123122 { 
     123        int status; 
    124124--- a/pcap/pcap.h 
    125125+++ b/pcap/pcap.h 
Note: See TracChangeset for help on using the changeset viewer.