[package] update bahamut to 1.8.6 (#5546)
[packages.git] / net / bahamut / patches / 002-glibc_fix.patch
index 5bdcc1d..400caed 100644 (file)
@@ -1,6 +1,6 @@
 --- a/include/resolv.h
 +++ b/include/resolv.h
-@@ -62,7 +62,7 @@
+@@ -60,7 +60,7 @@
  #if ((__GNU_LIBRARY__ == 6) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 3))
  # define MAXRESOLVSORT                10      /* number of net to sort on */
  
@@ -9,7 +9,7 @@
        int     retrans;                /* retransmition time interval */
        int     retry;                  /* number of times to retransmit */
        u_long  options;                /* option flags - see below. */
-@@ -81,12 +81,9 @@
+@@ -79,12 +79,9 @@ struct __res_state {
                struct in_addr  addr;
                u_int32_t       mask;
        } sort_list[MAXRESOLVSORT];
@@ -23,7 +23,7 @@
  
  #else
  
-@@ -103,9 +100,10 @@
+@@ -101,9 +98,10 @@ struct state {
      unsigned short order[MAXSERVICES + 1];    /* search service order */
  };