summaryrefslogtreecommitdiff
blob: 07919d273d9d5d56aa53fc9a7395a08f90bd8e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Patch for bug 260760. Fixes UDP sockets on uClibc systems.

diff --exclude '*~' -uNr ruby-1.8.6-p36.orig/configure.in ruby-1.8.6-p36/configure.in
--- configure.in.orig	2007-05-22 19:19:07.000000000 +0100
+++ configure.in	2007-08-29 09:42:47.000000000 +0100
@@ -707,6 +707,7 @@
      __ptr	dnl
      bufpos	dnl
      _p	dnl
+     __bufpos	dnl
 ; do
     AC_TRY_COMPILE([#include <stdio.h>
 ],
@@ -726,6 +727,7 @@
     [for frend in	dnl
          _IO_read_end	dnl
          bufread 	dnl
+         __bufread 	dnl
     ; do
         AC_TRY_COMPILE([#include <stdio.h>
     ],