diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-26 21:03:00 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-26 21:03:00 +0000 |
commit | c3735c4462710b2c04ed4e2de90ab6bdfc148504 (patch) | |
tree | 867bc134a04f8f812c125fd8b43c33c6d6c9cda1 /meta/packages/pkgconfig/pkgconfig-0.23 | |
parent | 2e5c5b91fc6e060a5754a30617827fe94d0d9fab (diff) | |
download | poky-c3735c4462710b2c04ed4e2de90ab6bdfc148504.tar.gz |
pkgconfig: and fix the patch, not my day...
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4125 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/pkgconfig/pkgconfig-0.23')
-rw-r--r-- | meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch b/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch index 97293cee1f..9a78f3bfd0 100644 --- a/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch +++ b/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | --- | 1 | --- |
2 | glib-1.2.8/acglib.m4 | 12 +- | 2 | glib-1.2.10/acglib.m4 | 12 +- |
3 | glib-1.2.8/configure.in | 212 ++++++++++++++++++++++++++++++------------------ | 3 | glib-1.2.10/configure.in | 212 ++++++++++++++++++++++++++++++------------------ |
4 | 2 files changed, 140 insertions(+), 84 deletions(-) | 4 | 2 files changed, 140 insertions(+), 84 deletions(-) |
5 | 5 | ||
6 | Index: pkg-config-0.22/glib-1.2.8/acglib.m4 | 6 | Index: pkg-config-0.23/glib-1.2.10/acglib.m4 |
7 | =================================================================== | 7 | =================================================================== |
8 | --- pkg-config-0.22.orig/glib-1.2.8/acglib.m4 2007-08-01 20:00:00.000000000 +0100 | 8 | --- pkg-config-0.23.orig/glib-1.2.10/acglib.m4 2008-01-16 22:52:24.000000000 +0000 |
9 | +++ pkg-config-0.22/glib-1.2.8/acglib.m4 2007-08-01 20:11:08.000000000 +0100 | 9 | +++ pkg-config-0.23/glib-1.2.10/acglib.m4 2008-03-26 20:59:12.000000000 +0000 |
10 | @@ -10,7 +10,7 @@ $1 | 10 | @@ -10,7 +10,7 @@ |
11 | AC_DIVERT_POP()])])]) | 11 | AC_DIVERT_POP()])])]) |
12 | 12 | ||
13 | dnl GLIB_IF_VAR_EQ (ENV_VAR, VALUE [, EQUALS_ACTION] [, ELSE_ACTION]) | 13 | dnl GLIB_IF_VAR_EQ (ENV_VAR, VALUE [, EQUALS_ACTION] [, ELSE_ACTION]) |
@@ -16,7 +16,7 @@ Index: pkg-config-0.22/glib-1.2.8/acglib.m4 | |||
16 | case "$[$1]" in | 16 | case "$[$1]" in |
17 | "[$2]"[)] | 17 | "[$2]"[)] |
18 | [$3] | 18 | [$3] |
19 | @@ -21,7 +21,7 @@ AC_DEFUN(GLIB_IF_VAR_EQ,[ | 19 | @@ -21,7 +21,7 @@ |
20 | esac | 20 | esac |
21 | ]) | 21 | ]) |
22 | dnl GLIB_STR_CONTAINS (SRC_STRING, SUB_STRING [, CONTAINS_ACTION] [, ELSE_ACTION]) | 22 | dnl GLIB_STR_CONTAINS (SRC_STRING, SUB_STRING [, CONTAINS_ACTION] [, ELSE_ACTION]) |
@@ -25,7 +25,7 @@ Index: pkg-config-0.22/glib-1.2.8/acglib.m4 | |||
25 | case "[$1]" in | 25 | case "[$1]" in |
26 | *"[$2]"*[)] | 26 | *"[$2]"*[)] |
27 | [$3] | 27 | [$3] |
28 | @@ -32,12 +32,12 @@ AC_DEFUN(GLIB_STR_CONTAINS,[ | 28 | @@ -32,12 +32,12 @@ |
29 | esac | 29 | esac |
30 | ]) | 30 | ]) |
31 | dnl GLIB_ADD_TO_VAR (ENV_VARIABLE, CHECK_STRING, ADD_STRING) | 31 | dnl GLIB_ADD_TO_VAR (ENV_VARIABLE, CHECK_STRING, ADD_STRING) |
@@ -40,7 +40,7 @@ Index: pkg-config-0.22/glib-1.2.8/acglib.m4 | |||
40 | [changequote(<<, >>)dnl | 40 | [changequote(<<, >>)dnl |
41 | dnl The name to #define. | 41 | dnl The name to #define. |
42 | define(<<AC_TYPE_NAME>>, translit(glib_sizeof_$3, [a-z *], [A-Z_P]))dnl | 42 | define(<<AC_TYPE_NAME>>, translit(glib_sizeof_$3, [a-z *], [A-Z_P]))dnl |
43 | @@ -62,7 +62,7 @@ undefine([AC_CV_NAME])dnl | 43 | @@ -62,7 +62,7 @@ |
44 | ]) | 44 | ]) |
45 | 45 | ||
46 | dnl GLIB_BYTE_CONTENTS (INCLUDES, TYPE, ALIAS, N_BYTES, INITIALIZER) | 46 | dnl GLIB_BYTE_CONTENTS (INCLUDES, TYPE, ALIAS, N_BYTES, INITIALIZER) |
@@ -49,7 +49,7 @@ Index: pkg-config-0.22/glib-1.2.8/acglib.m4 | |||
49 | [changequote(<<, >>)dnl | 49 | [changequote(<<, >>)dnl |
50 | dnl The name to #define. | 50 | dnl The name to #define. |
51 | define(<<AC_TYPE_NAME>>, translit(glib_byte_contents_$3, [a-z *], [A-Z_P]))dnl | 51 | define(<<AC_TYPE_NAME>>, translit(glib_byte_contents_$3, [a-z *], [A-Z_P]))dnl |
52 | @@ -92,7 +92,7 @@ undefine([AC_CV_NAME])dnl | 52 | @@ -92,7 +92,7 @@ |
53 | ]) | 53 | ]) |
54 | 54 | ||
55 | dnl GLIB_SYSDEFS (INCLUDES, DEFS_LIST, OFILE [, PREFIX]) | 55 | dnl GLIB_SYSDEFS (INCLUDES, DEFS_LIST, OFILE [, PREFIX]) |
@@ -58,10 +58,10 @@ Index: pkg-config-0.22/glib-1.2.8/acglib.m4 | |||
58 | [glib_sysdefso="translit($3, [-_a-zA-Z0-9 *], [-_a-zA-Z0-9])" | 58 | [glib_sysdefso="translit($3, [-_a-zA-Z0-9 *], [-_a-zA-Z0-9])" |
59 | glib_sysdef_msg=`echo $2 | sed 's/:[[^ ]]*//g'` | 59 | glib_sysdef_msg=`echo $2 | sed 's/:[[^ ]]*//g'` |
60 | if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then | 60 | if test "x`(echo '\n') 2>/dev/null`" != 'x\n'; then |
61 | Index: pkg-config-0.22/glib-1.2.8/configure.in | 61 | Index: pkg-config-0.23/glib-1.2.10/configure.in |
62 | =================================================================== | 62 | =================================================================== |
63 | --- pkg-config-0.22.orig/glib-1.2.8/configure.in 2007-08-01 18:03:34.000000000 +0100 | 63 | --- pkg-config-0.23.orig/glib-1.2.10/configure.in 2008-01-16 22:52:24.000000000 +0000 |
64 | +++ pkg-config-0.22/glib-1.2.8/configure.in 2007-05-23 11:47:53.000000000 +0100 | 64 | +++ pkg-config-0.23/glib-1.2.10/configure.in 2008-03-26 20:59:12.000000000 +0000 |
65 | @@ -1,10 +1,11 @@ | 65 | @@ -1,10 +1,11 @@ |
66 | dnl *********************************** | 66 | dnl *********************************** |
67 | dnl *** include special GLib macros *** | 67 | dnl *** include special GLib macros *** |
@@ -76,7 +76,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
76 | 76 | ||
77 | # init autoconf (and check for presence of glist.c) | 77 | # init autoconf (and check for presence of glist.c) |
78 | AC_INIT(glist.c) | 78 | AC_INIT(glist.c) |
79 | @@ -13,11 +14,48 @@ AC_INIT(glist.c) | 79 | @@ -13,11 +14,48 @@ |
80 | cflags_set=${CFLAGS+set} | 80 | cflags_set=${CFLAGS+set} |
81 | 81 | ||
82 | # we rewrite this file | 82 | # we rewrite this file |
@@ -126,8 +126,8 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
126 | # | 126 | # |
127 | # The following version number definitions apply to GLib, GModule and GThread | 127 | # The following version number definitions apply to GLib, GModule and GThread |
128 | # as a whole, so if changes occoured in any of them, they are all | 128 | # as a whole, so if changes occoured in any of them, they are all |
129 | @@ -38,7 +76,7 @@ GLIB_INTERFACE_AGE=8 | 129 | @@ -38,7 +76,7 @@ |
130 | GLIB_BINARY_AGE=8 | 130 | GLIB_BINARY_AGE=10 |
131 | GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION | 131 | GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION |
132 | dnl | 132 | dnl |
133 | -]) | 133 | -]) |
@@ -135,7 +135,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
135 | 135 | ||
136 | AC_SUBST(GLIB_MAJOR_VERSION) | 136 | AC_SUBST(GLIB_MAJOR_VERSION) |
137 | AC_SUBST(GLIB_MINOR_VERSION) | 137 | AC_SUBST(GLIB_MINOR_VERSION) |
138 | @@ -72,22 +110,20 @@ AC_DEFINE_UNQUOTED(GLIB_INTERFACE_AGE, $ | 138 | @@ -72,22 +110,20 @@ |
139 | AC_DEFINE_UNQUOTED(GLIB_BINARY_AGE, $GLIB_BINARY_AGE) | 139 | AC_DEFINE_UNQUOTED(GLIB_BINARY_AGE, $GLIB_BINARY_AGE) |
140 | 140 | ||
141 | dnl Initialize libtool | 141 | dnl Initialize libtool |
@@ -161,7 +161,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
161 | 161 | ||
162 | dnl declare --enable-* args and collect ac_help strings | 162 | dnl declare --enable-* args and collect ac_help strings |
163 | AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,enable_debug=$debug_default) | 163 | AC_ARG_ENABLE(debug, [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,enable_debug=$debug_default) |
164 | @@ -173,7 +209,9 @@ AC_TRY_RUN([#include <math.h> | 164 | @@ -194,7 +230,9 @@ |
165 | CFLAGS=$glib_save_CFLAGS | 165 | CFLAGS=$glib_save_CFLAGS |
166 | AC_MSG_WARN( | 166 | AC_MSG_WARN( |
167 | [No ANSI prototypes found in library. (-std1 didn't work.)]) | 167 | [No ANSI prototypes found in library. (-std1 didn't work.)]) |
@@ -171,7 +171,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
171 | ) | 171 | ) |
172 | LIBS=$glib_save_LIBS | 172 | LIBS=$glib_save_LIBS |
173 | 173 | ||
174 | @@ -315,7 +353,7 @@ AC_TRY_COMPILE([#include <sys/types.h>], | 174 | @@ -336,7 +374,7 @@ |
175 | if test $gtk_ok = yes; then | 175 | if test $gtk_ok = yes; then |
176 | AC_MSG_RESULT([yes, found in sys/types.h]) | 176 | AC_MSG_RESULT([yes, found in sys/types.h]) |
177 | else | 177 | else |
@@ -180,7 +180,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
180 | if test $gtk_ok = yes; then | 180 | if test $gtk_ok = yes; then |
181 | AC_DEFINE(HAVE_SYS_SELECT_H) | 181 | AC_DEFINE(HAVE_SYS_SELECT_H) |
182 | AC_MSG_RESULT([yes, found in sys/select.h]) | 182 | AC_MSG_RESULT([yes, found in sys/select.h]) |
183 | @@ -388,7 +426,7 @@ AC_CACHE_VAL(glib_cv_sane_realloc,[ | 183 | @@ -409,7 +447,7 @@ |
184 | glib_cv_sane_realloc=no | 184 | glib_cv_sane_realloc=no |
185 | ,) | 185 | ,) |
186 | ]) | 186 | ]) |
@@ -189,7 +189,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
189 | AC_DEFINE(REALLOC_0_WORKS) | 189 | AC_DEFINE(REALLOC_0_WORKS) |
190 | fi | 190 | fi |
191 | AC_MSG_RESULT($glib_cv_sane_realloc) | 191 | AC_MSG_RESULT($glib_cv_sane_realloc) |
192 | @@ -466,7 +504,8 @@ AC_CACHE_VAL(glib_cv_va_val_copy,[ | 192 | @@ -487,7 +525,8 @@ |
193 | ]) | 193 | ]) |
194 | if test "x$glib_cv_va_copy" = "xyes"; then | 194 | if test "x$glib_cv_va_copy" = "xyes"; then |
195 | AC_DEFINE(G_VA_COPY, va_copy) | 195 | AC_DEFINE(G_VA_COPY, va_copy) |
@@ -199,7 +199,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
199 | AC_DEFINE(G_VA_COPY, __va_copy) | 199 | AC_DEFINE(G_VA_COPY, __va_copy) |
200 | fi | 200 | fi |
201 | fi | 201 | fi |
202 | @@ -475,6 +514,7 @@ if test "x$glib_cv_va_val_copy" = "xno"; | 202 | @@ -496,6 +535,7 @@ |
203 | fi | 203 | fi |
204 | AC_MSG_RESULT($glib_cv_va_val_copy) | 204 | AC_MSG_RESULT($glib_cv_va_val_copy) |
205 | 205 | ||
@@ -207,8 +207,8 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
207 | 207 | ||
208 | dnl *********************** | 208 | dnl *********************** |
209 | dnl *** g_module checks *** | 209 | dnl *** g_module checks *** |
210 | @@ -485,23 +525,27 @@ dnl G_MODULE_IMPL= don't reset, so cmd-l | 210 | @@ -507,23 +547,27 @@ |
211 | G_MODULE_NEED_USCORE=0 | 211 | G_MODULE_BROKEN_RTLD_GLOBAL=0 |
212 | G_MODULE_HAVE_DLERROR=0 | 212 | G_MODULE_HAVE_DLERROR=0 |
213 | dnl *** dlopen() and dlsym() in system libraries | 213 | dnl *** dlopen() and dlsym() in system libraries |
214 | +AC_CHECK_FUNC(dlopen,[ | 214 | +AC_CHECK_FUNC(dlopen,[ |
@@ -245,15 +245,15 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
245 | fi | 245 | fi |
246 | dnl *** shl_load() in libdld (HP-UX) | 246 | dnl *** shl_load() in libdld (HP-UX) |
247 | if test -z "$G_MODULE_IMPL"; then | 247 | if test -z "$G_MODULE_IMPL"; then |
248 | @@ -580,6 +624,7 @@ AC_SUBST(G_MODULE_LDFLAGS) | 248 | @@ -633,6 +677,7 @@ |
249 | AC_SUBST(G_MODULE_HAVE_DLERROR) | ||
250 | AC_SUBST(G_MODULE_NEED_USCORE) | 249 | AC_SUBST(G_MODULE_NEED_USCORE) |
250 | AC_SUBST(G_MODULE_BROKEN_RTLD_GLOBAL) | ||
251 | AC_SUBST(GLIB_DEBUG_FLAGS) | 251 | AC_SUBST(GLIB_DEBUG_FLAGS) |
252 | +AC_MSG_WARN([hi mom]) | 252 | +AC_MSG_WARN([hi mom]) |
253 | 253 | ||
254 | 254 | ||
255 | dnl *********************** | 255 | dnl *********************** |
256 | @@ -816,40 +861,50 @@ if test x"$have_threads" != xnone; then | 256 | @@ -869,40 +914,50 @@ |
257 | fi | 257 | fi |
258 | if test x"$have_threads" = xposix; then | 258 | if test x"$have_threads" = xposix; then |
259 | LIBS="$LIBS $G_THREAD_LIBS" | 259 | LIBS="$LIBS $G_THREAD_LIBS" |
@@ -335,7 +335,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
335 | fi | 335 | fi |
336 | LIBS="$glib_save_LIBS" | 336 | LIBS="$glib_save_LIBS" |
337 | CFLAGS="$glib_save_CFLAGS" | 337 | CFLAGS="$glib_save_CFLAGS" |
338 | @@ -893,13 +948,14 @@ GLIB_IF_VAR_EQ(mutex_has_default, yes, | 338 | @@ -946,13 +1001,14 @@ |
339 | dnl **************************************** | 339 | dnl **************************************** |
340 | dnl *** GLib POLL* compatibility defines *** | 340 | dnl *** GLib POLL* compatibility defines *** |
341 | dnl **************************************** | 341 | dnl **************************************** |
@@ -351,16 +351,16 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
351 | 351 | ||
352 | dnl ****************************** | 352 | dnl ****************************** |
353 | dnl *** output the whole stuff *** | 353 | dnl *** output the whole stuff *** |
354 | @@ -956,7 +1012,7 @@ _______EOF | 354 | @@ -1005,7 +1061,7 @@ |
355 | echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile | 355 | echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile |
356 | fi | 356 | fi |
357 | 357 | ||
358 | - cat >> $outfile <<_______EOF | 358 | - cat >> $outfile <<_______EOF |
359 | + cat >> $outfile <<EOF | 359 | + cat >> $outfile <<EOF |
360 | 360 | ||
361 | #define G_MINFLOAT $glib_mf | 361 | #ifdef __cplusplus |
362 | #define G_MAXFLOAT $glib_Mf | 362 | extern "C" { |
363 | @@ -969,60 +1025,60 @@ _______EOF | 363 | @@ -1022,60 +1078,60 @@ |
364 | #define G_MINLONG $glib_ml | 364 | #define G_MINLONG $glib_ml |
365 | #define G_MAXLONG $glib_Ml | 365 | #define G_MAXLONG $glib_Ml |
366 | 366 | ||
@@ -433,7 +433,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
433 | $glib_atexit | 433 | $glib_atexit |
434 | $glib_memmove | 434 | $glib_memmove |
435 | $glib_defines | 435 | $glib_defines |
436 | @@ -1034,11 +1090,11 @@ $glib_vacopy | 436 | @@ -1087,11 +1143,11 @@ |
437 | #else /* !__cplusplus */ | 437 | #else /* !__cplusplus */ |
438 | $glib_inline | 438 | $glib_inline |
439 | #endif /* !__cplusplus */ | 439 | #endif /* !__cplusplus */ |
@@ -447,7 +447,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
447 | $g_enable_threads_def G_THREADS_ENABLED | 447 | $g_enable_threads_def G_THREADS_ENABLED |
448 | #define G_THREADS_IMPL_$g_threads_impl_def | 448 | #define G_THREADS_IMPL_$g_threads_impl_def |
449 | typedef struct _GStaticMutex GStaticMutex; | 449 | typedef struct _GStaticMutex GStaticMutex; |
450 | @@ -1056,15 +1112,15 @@ struct _GStaticMutex | 450 | @@ -1109,15 +1165,15 @@ |
451 | #define g_static_mutex_get_mutex(mutex) \ | 451 | #define g_static_mutex_get_mutex(mutex) \ |
452 | (g_thread_use_default_impl ? ((GMutex*) &((mutex)->aligned_pad_u)) : \ | 452 | (g_thread_use_default_impl ? ((GMutex*) &((mutex)->aligned_pad_u)) : \ |
453 | g_static_mutex_get_mutex_impl (&((mutex)->runtime_mutex))) | 453 | g_static_mutex_get_mutex_impl (&((mutex)->runtime_mutex))) |
@@ -466,7 +466,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
466 | fi | 466 | fi |
467 | 467 | ||
468 | echo >>$outfile | 468 | echo >>$outfile |
469 | @@ -1073,15 +1129,15 @@ _______EOF | 469 | @@ -1126,15 +1182,15 @@ |
470 | g_bit_sizes="$g_bit_sizes 64" | 470 | g_bit_sizes="$g_bit_sizes 64" |
471 | fi | 471 | fi |
472 | for bits in $g_bit_sizes; do | 472 | for bits in $g_bit_sizes; do |
@@ -485,7 +485,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
485 | #define GLONG_TO_LE(val) ((glong) GINT${glongbits}_TO_LE (val)) | 485 | #define GLONG_TO_LE(val) ((glong) GINT${glongbits}_TO_LE (val)) |
486 | #define GULONG_TO_LE(val) ((gulong) GUINT${glongbits}_TO_LE (val)) | 486 | #define GULONG_TO_LE(val) ((gulong) GUINT${glongbits}_TO_LE (val)) |
487 | #define GLONG_TO_BE(val) ((glong) GINT${glongbits}_TO_BE (val)) | 487 | #define GLONG_TO_BE(val) ((glong) GINT${glongbits}_TO_BE (val)) |
488 | @@ -1092,14 +1148,14 @@ _______EOF | 488 | @@ -1145,14 +1201,14 @@ |
489 | #define GUINT_TO_BE(val) ((guint) GUINT${gintbits}_TO_BE (val)) | 489 | #define GUINT_TO_BE(val) ((guint) GUINT${gintbits}_TO_BE (val)) |
490 | #define G_BYTE_ORDER $g_byte_order | 490 | #define G_BYTE_ORDER $g_byte_order |
491 | 491 | ||
@@ -502,7 +502,7 @@ Index: pkg-config-0.22/glib-1.2.8/configure.in | |||
502 | 502 | ||
503 | $glib_wc | 503 | $glib_wc |
504 | 504 | ||
505 | @@ -1109,7 +1165,7 @@ $glib_wc | 505 | @@ -1162,7 +1218,7 @@ |
506 | #endif /* __cplusplus */ | 506 | #endif /* __cplusplus */ |
507 | 507 | ||
508 | #endif /* GLIBCONFIG_H */ | 508 | #endif /* GLIBCONFIG_H */ |