summaryrefslogtreecommitdiff
path: root/recipes/glib-2.0/glib-2.0_2.22.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-12-09 09:40:56 -0800
committerKhem Raj <raj.khem@gmail.com>2009-12-09 09:40:56 -0800
commitff873fff3ac3fc92ac3e50d68eee8583ae60f478 (patch)
tree440a10ce79b36b423f368f13ec82798a1c292827 /recipes/glib-2.0/glib-2.0_2.22.1.bb
parentb6fe201edfffdc585f9cf1780ad17ac19cf4cf95 (diff)
glib-2.0_2.22.1: Fix configure to test res_query by including resolv.h
* uclibc does not export res_query as weak like glibc, instead it exports __res_query and then in resolv.h it defines res_query as __res_query, the check for this fuction in configure checked the availability in every way except it did not check if the function is in C library by including resolv.h. Without resolv.h the function is reported as undefined. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/glib-2.0/glib-2.0_2.22.1.bb')
-rw-r--r--recipes/glib-2.0/glib-2.0_2.22.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/glib-2.0/glib-2.0_2.22.1.bb b/recipes/glib-2.0/glib-2.0_2.22.1.bb
index 533116b825..95fa07bbce 100644
--- a/recipes/glib-2.0/glib-2.0_2.22.1.bb
+++ b/recipes/glib-2.0/glib-2.0_2.22.1.bb
@@ -1,5 +1,5 @@
require glib.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
SRC_URI = "\
http://ftp.gnome.org/pub/GNOME/sources/glib/2.22/glib-${PV}.tar.bz2 \
@@ -7,6 +7,7 @@ SRC_URI = "\
file://configure-libtool.patch;patch=1 \
file://bug-556515.patch;patch=1 \
file://g_once_init_enter.patch;patch=1 \
+ file://uclibc-res_query.patch;patch=1 \
"