From: Victor Martinez Date: Wed, 16 Mar 2011 08:41:52 +0000 (+0000) Subject: pkg-config: update to 0.25 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=742845dfd35e033748995d3831d731ad8da59967;p=crossrootfs.git pkg-config: update to 0.25 --- diff --git a/pkg-config/.md5sum b/pkg-config/.md5sum index 2871f75..beb3540 100644 --- a/pkg-config/.md5sum +++ b/pkg-config/.md5sum @@ -1,2 +1,3 @@ -d922a88782b64441d06547632fd85744 pkg-config-0.23.tar.gz -154a8218f88c93e6b36a133af8024319 pkg-config-0.23_ANSII_libraries.patch +a3270bab3f4b69b7dc6dbdacbcae9745 pkg-config-0.25.tar.gz +7a32cc234bef150b20b2011139f2e24c pkg-config-0.25_ANSII_libraries.patch +e5c41ba63f2809c0e432fe9527568b85 pkg-config.diff diff --git a/pkg-config/Pkgfile b/pkg-config/Pkgfile index e5cede4..f57fc99 100644 --- a/pkg-config/Pkgfile +++ b/pkg-config/Pkgfile @@ -5,14 +5,16 @@ # Depends on: name=pkg-config -version=0.23 +version=0.25 release=1 -source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz \ +source=(http://$name.freedesktop.org/releases/$name-$version.tar.gz + $name.diff $name-${version}_ANSII_libraries.patch) build() { cd $name-$version + patch -p1 -i $SRC/$name.diff patch -p1 -i $SRC/$name-${version}_ANSII_libraries.patch ./configure --build=$CHOST \ @@ -22,4 +24,7 @@ build() { make make DESTDIR=$PKG install + + rm $PKG/usr/share/doc/pkg-config/pkg-config-guide.html + rmdir $PKG/usr/share/doc/{pkg-config,} } diff --git a/pkg-config/pkg-config-0.23_ANSII_libraries.patch b/pkg-config/pkg-config-0.23_ANSII_libraries.patch deleted file mode 100644 index 07bb055..0000000 --- a/pkg-config/pkg-config-0.23_ANSII_libraries.patch +++ /dev/null @@ -1,432 +0,0 @@ -diff -purN pkg-config-0.23.orig/glib-1.2.10/configure pkg-config-0.23/glib-1.2.10/configure ---- pkg-config-0.23.orig/glib-1.2.10/configure 2010-05-21 10:21:35.000000000 +0200 -+++ pkg-config-0.23/glib-1.2.10/configure 2010-05-21 12:20:27.000000000 +0200 -@@ -20563,114 +20563,8 @@ fi - - { echo "$as_me:$LINENO: checking for extra flags to get ANSI library prototypes" >&5 - echo $ECHO_N "checking for extra flags to get ANSI library prototypes... $ECHO_C" >&6; } --glib_save_LIBS=$LIBS --LIBS="$LIBS -lm" --if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -- int main (void) { return (log(1) != log(1.)); } --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- { echo "$as_me:$LINENO: result: none needed" >&5 --echo "${ECHO_T}none needed" >&6; } --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --glib_save_CFLAGS=$CFLAGS -- CFLAGS="$CFLAGS -std1" -- if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -- int main (void) { return (log(1) != log(1.)); } --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- { echo "$as_me:$LINENO: result: -std1" >&5 --echo "${ECHO_T}-std1" >&6; } --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --{ echo "$as_me:$LINENO: result: " >&5 --echo "${ECHO_T}" >&6; } -- CFLAGS=$glib_save_CFLAGS -- { echo "$as_me:$LINENO: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5 --echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;} -- --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -- -- --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -+glib_save_LIBS="$LIBS -lm" -+glib_save_CFLAGS="$CFLAGS -std1" - - LIBS=$glib_save_LIBS - -@@ -23761,7 +23655,7 @@ _ACEOF - - fi - -- -+glib_cv_has__inline=yes - { echo "$as_me:$LINENO: checking for __inline" >&5 - echo $ECHO_N "checking for __inline... $ECHO_C" >&6; } - if test "${glib_cv_has__inline+set}" = set; then -@@ -23832,6 +23726,7 @@ xyes) cat >>confdefs.h <<\_ACEOF - _ACEOF - - esac -+glib_cv_has__inline__=yes - { echo "$as_me:$LINENO: checking for __inline__" >&5 - echo $ECHO_N "checking for __inline__... $ECHO_C" >&6; } - if test "${glib_cv_has__inline__+set}" = set; then -@@ -23902,6 +23797,7 @@ xyes) cat >>confdefs.h <<\_ACEOF - _ACEOF - - esac -+glib_cv_hasinline=yes - { echo "$as_me:$LINENO: checking for inline" >&5 - echo $ECHO_N "checking for inline... $ECHO_C" >&6; } - if test "${glib_cv_hasinline+set}" = set; then -@@ -26323,6 +26219,7 @@ fi - { echo "$as_me:$LINENO: result: $glib_working_wctype" >&5 - echo "${ECHO_T}$glib_working_wctype" >&6; } - -+glib_cv_sane_realloc=yes - { echo "$as_me:$LINENO: checking whether realloc (NULL,) will work" >&5 - echo $ECHO_N "checking whether realloc (NULL,) will work... $ECHO_C" >&6; } - if test "${glib_cv_sane_realloc+set}" = set; then -@@ -26396,6 +26293,7 @@ fi - echo "${ECHO_T}$glib_cv_sane_realloc" >&6; } - - -+glib_cv_va_copy=no - { echo "$as_me:$LINENO: checking for an implementation of va_copy()" >&5 - echo $ECHO_N "checking for an implementation of va_copy()... $ECHO_C" >&6; } - if test "${glib_cv_va_copy+set}" = set; then -@@ -26470,6 +26368,7 @@ fi - - { echo "$as_me:$LINENO: result: $glib_cv_va_copy" >&5 - echo "${ECHO_T}$glib_cv_va_copy" >&6; } -+glib_cv___va_copy=no - { echo "$as_me:$LINENO: checking for an implementation of __va_copy()" >&5 - echo $ECHO_N "checking for an implementation of __va_copy()... $ECHO_C" >&6; } - if test "${glib_cv___va_copy+set}" = set; then -@@ -26544,6 +26443,7 @@ fi - - { echo "$as_me:$LINENO: result: $glib_cv___va_copy" >&5 - echo "${ECHO_T}$glib_cv___va_copy" >&6; } -+glib_cv_va_val_copy=yes - { echo "$as_me:$LINENO: checking whether va_lists can be copied by value" >&5 - echo $ECHO_N "checking whether va_lists can be copied by value... $ECHO_C" >&6; } - if test "${glib_cv_va_val_copy+set}" = set; then -@@ -27132,6 +27032,7 @@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP - LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS" - { echo "$as_me:$LINENO: checking for RTLD_GLOBAL brokenness" >&5 - echo $ECHO_N "checking for RTLD_GLOBAL brokenness... $ECHO_C" >&6; } -+glib_cv_rtldglobal_broken=no - if test "${glib_cv_rtldglobal_broken+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else -@@ -27210,6 +27111,7 @@ echo "${ECHO_T}$glib_cv_rtldglobal_broke - else - G_MODULE_BROKEN_RTLD_GLOBAL=0 - fi -+glib_cv_uscore=yes - { echo "$as_me:$LINENO: checking for preceeding underscore in symbols" >&5 - echo $ECHO_N "checking for preceeding underscore in symbols... $ECHO_C" >&6; } - if test "${glib_cv_uscore+set}" = set; then -@@ -28545,6 +28447,7 @@ done - - if test "$ac_cv_header_pwd_h" = "yes"; then - { echo "$as_me:$LINENO: checking for getpwuid_r" >&5 -+ac_cv_func_getpwuid_r=yes - echo $ECHO_N "checking for getpwuid_r... $ECHO_C" >&6; } - if test "${ac_cv_func_getpwuid_r+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -@@ -28727,133 +28630,15 @@ fi - - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { echo "$as_me:$LINENO: checking whether pthread_mutex_trylock is posix like" >&5 --echo $ECHO_N "checking whether pthread_mutex_trylock is posix like... $ECHO_C" >&6; } -- # DCE Threads return 1 as success, posix 0. what a mess. -- if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -- pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; -- int main () { -- return !pthread_mutex_trylock (&mutex); } --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 - --( exit $ac_status ) -+echo $ECHO_N "checking whether pthread_mutex_trylock is posix like... $ECHO_C" >&6; } - { echo "$as_me:$LINENO: result: yes" >&5 - echo "${ECHO_T}yes" >&6; } - cat >>confdefs.h <<\_ACEOF - #define HAVE_PTHREAD_MUTEX_TRYLOCK_POSIX 1 --_ACEOF -- --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -- -- { echo "$as_me:$LINENO: checking whether pthread_cond_timedwait is posix like" >&5 --echo $ECHO_N "checking whether pthread_cond_timedwait is posix like... $ECHO_C" >&6; } -- # DCE Threads return -1 as failure, posix ETIMEDOUT. -- if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --#include -- #include -- int main () { -- pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; -- pthread_cond_t cond = PTHREAD_COND_INITIALIZER; -- struct timeval tval; -- struct timespec tspec; -- gettimeofday (&tval, NULL); -- tspec.tv_sec = tval.tv_sec; -- tspec.tv_nsec = 0; -- pthread_mutex_lock (&mutex); -- return pthread_cond_timedwait (&cond,&mutex,&tspec) -- != -1;} --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- { echo "$as_me:$LINENO: result: no" >&5 --echo "${ECHO_T}no" >&6; } --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) --{ echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -- cat >>confdefs.h <<\_ACEOF - #define HAVE_PTHREAD_COND_TIMEDWAIT_POSIX 1 - _ACEOF - --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- - - fi - LIBS="$glib_save_LIBS" -@@ -28885,6 +28670,7 @@ CFLAGS="$CFLAGS $G_THREAD_CFLAGS" - "yes") - { echo "$as_me:$LINENO: checking size of $mutex_default_type" >&5 - echo $ECHO_N "checking size of $mutex_default_type... $ECHO_C" >&6; } -+glib_cv_sizeof_gmutex=0 - if test "${glib_cv_sizeof_gmutex+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else -@@ -29040,71 +28826,7 @@ else - fi - { echo "$as_me:$LINENO: checking system definitions for $glib_sysdef_msg" >&5 - echo $ECHO_N "checking system definitions for $glib_sysdef_msg... $ECHO_C" >&6; } --cat >confrun.c <<_______EOF --#include --#include --#include --int main (int c, char **v) { -- FILE *f = fopen ("$glib_sysdefso", "a"); -- if (!f) return 1; --_______EOF --for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do -- glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'` -- glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'` -- echo "#ifdef $glib_sysdef" >>confrun.c -- echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_sysdef);" >>confrun.c -- echo "#else" >>confrun.c -- if test $glib_sysdef != $glib_default; then -- echo " fprintf (f, \"#define GLIB_SYSDEF_%s %s%d${glib_nl}\", \"$glib_sysdef\", \"=\", $glib_default);" >>confrun.c -- else -- echo " fprintf (f, \"#define GLIB_SYSDEF_%s${glib_nl}\", \"$glib_sysdef\");" >>confrun.c -- fi -- echo "#endif" >>confrun.c --done --echo "return 0; }" >>confrun.c --if test "$cross_compiling" = yes; then -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --See \`config.log' for more details." >&5 --echo "$as_me: error: cannot run test program while cross compiling --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --else -- cat >conftest.$ac_ext <<_ACEOF --/* confdefs.h. */ --_ACEOF --cat confdefs.h >>conftest.$ac_ext --cat >>conftest.$ac_ext <<_ACEOF --/* end confdefs.h. */ --`cat confrun.c` --_ACEOF --rm -f conftest$ac_exeext --if { (ac_try="$ac_link" --case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_link") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (case "(($ac_try" in -- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -- *) ac_try_echo=$ac_try;; --esac --eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -- (eval "$ac_try") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -- { echo "$as_me:$LINENO: result: done" >&5 --echo "${ECHO_T}done" >&6; } --else -- echo "$as_me: program exited with status $ac_status" >&5 --echo "$as_me: failed program was:" >&5 --sed 's/^/| /' conftest.$ac_ext >&5 -- --( exit $ac_status ) -+ - for glib_sysdef_input in POLLIN:1 POLLOUT:4 POLLPRI:2 POLLERR:8 POLLHUP:16 POLLNVAL:32 ; do - glib_sysdef=`echo $glib_sysdef_input | sed 's/^\([^:]*\):.*$/\1/'` - glib_default=`echo $glib_sysdef_input | sed 's/^[^:]*:\(.*\)$/\1/'` -@@ -29117,14 +28839,6 @@ sed 's/^/| /' conftest.$ac_ext >&5 - done - { echo "$as_me:$LINENO: result: failed" >&5 - echo "${ECHO_T}failed" >&6; } --fi --rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext --fi -- -- --rm -f confrun.c -- -- - - - ac_config_commands="$ac_config_commands default-1" diff --git a/pkg-config/pkg-config-0.25_ANSII_libraries.patch b/pkg-config/pkg-config-0.25_ANSII_libraries.patch new file mode 100644 index 0000000..eeb6fe8 --- /dev/null +++ b/pkg-config/pkg-config-0.25_ANSII_libraries.patch @@ -0,0 +1,213 @@ +--- pkg-config-0.25.orig/glib-1.2.10/configure 2010-05-09 07:18:10.000000000 +0000 ++++ pkg-config-0.25/glib-1.2.10/configure 2011-03-16 08:37:21.000000000 +0000 +@@ -12188,56 +12188,9 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags to get ANSI library prototypes" >&5 + $as_echo_n "checking for extra flags to get ANSI library prototypes... " >&6; } +-glib_save_LIBS=$LIBS +-LIBS="$LIBS -lm" +-if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +- int main (void) { return (log(1) != log(1.)); } +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +-$as_echo "none needed" >&6; } +-else +- glib_save_CFLAGS=$CFLAGS +- CFLAGS="$CFLAGS -std1" +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +- int main (void) { return (log(1) != log(1.)); } +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: -std1" >&5 +-$as_echo "-std1" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 +-$as_echo "" >&6; } +- CFLAGS=$glib_save_CFLAGS +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5 +-$as_echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;} + +-fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext +-fi +- +- +-fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext +-fi ++glib_save_LIBS="$LIBS -lm" ++glib_save_CFLAGS="$CFLAGS -std1" + + LIBS=$glib_save_LIBS + +@@ -12719,7 +12672,7 @@ + + fi + +- ++glib_cv_has__inline=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline" >&5 + $as_echo_n "checking for __inline... " >&6; } + if test "${glib_cv_has__inline+set}" = set; then : +@@ -12759,6 +12712,7 @@ + xyes) $as_echo "#define G_HAVE___INLINE 1" >>confdefs.h + + esac ++glib_cv_has__inline=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __inline__" >&5 + $as_echo_n "checking for __inline__... " >&6; } + if test "${glib_cv_has__inline__+set}" = set; then : +@@ -12766,10 +12720,6 @@ + else + + if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -12798,6 +12748,7 @@ + xyes) $as_echo "#define G_HAVE___INLINE__ 1" >>confdefs.h + + esac ++glib_cv_hasinline=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 + $as_echo_n "checking for inline... " >&6; } + if test "${glib_cv_hasinline+set}" = set; then : +@@ -13493,6 +13444,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_working_wctype" >&5 + $as_echo "$glib_working_wctype" >&6; } + ++glib_cv_sane_realloc=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realloc (NULL,) will work" >&5 + $as_echo_n "checking whether realloc (NULL,) will work... " >&6; } + if test "${glib_cv_sane_realloc+set}" = set; then : +@@ -13534,7 +13486,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_sane_realloc" >&5 + $as_echo "$glib_cv_sane_realloc" >&6; } + +- ++glib_cv_va_copy=no + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5 + $as_echo_n "checking for an implementation of va_copy()... " >&6; } + if test "${glib_cv_va_copy+set}" = set; then : +@@ -13587,10 +13539,6 @@ + else + + if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -13625,6 +13573,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv___va_copy" >&5 + $as_echo "$glib_cv___va_copy" >&6; } ++glib_cv_va_val_copy=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists can be copied by value" >&5 + $as_echo_n "checking whether va_lists can be copied by value... " >&6; } + if test "${glib_cv_va_val_copy+set}" = set; then : +@@ -13893,6 +13842,7 @@ + LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTLD_GLOBAL brokenness" >&5 + $as_echo_n "checking for RTLD_GLOBAL brokenness... " >&6; } ++glib_cv_rtldglobal_broken=no + if test "${glib_cv_rtldglobal_broken+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +@@ -13942,6 +13892,7 @@ + else + G_MODULE_BROKEN_RTLD_GLOBAL=0 + fi ++ glib_cv_uscore=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preceeding underscore in symbols" >&5 + $as_echo_n "checking for preceeding underscore in symbols... " >&6; } + if test "${glib_cv_uscore+set}" = set; then : +@@ -14626,6 +14577,7 @@ + + if test "$ac_cv_header_pwd_h" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r" >&5 ++ac_cv_func_getpwuid_r=yes + $as_echo_n "checking for getpwuid_r... " >&6; } + if test "${ac_cv_func_getpwuid_r+set}" = set; then : + $as_echo_n "(cached) " >&6 +@@ -14727,11 +14679,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_mutex_trylock is posix like" >&5 + $as_echo_n "checking whether pthread_mutex_trylock is posix like... " >&6; } + # DCE Threads return 1 as success, posix 0. what a mess. +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } ++ if test "$cross_compiling" = Xyes; then : + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -14756,11 +14704,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_cond_timedwait is posix like" >&5 + $as_echo_n "checking whether pthread_cond_timedwait is posix like... " >&6; } + # DCE Threads return -1 as failure, posix ETIMEDOUT. +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } ++ if test "$cross_compiling" = Xyes; then : + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -14821,14 +14765,11 @@ + "yes") + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of $mutex_default_type" >&5 + $as_echo_n "checking size of $mutex_default_type... " >&6; } ++glib_cv_sizeof_gmutex=0 + if test "${glib_cv_sizeof_gmutex+set}" = set; then : + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } ++ if test "$cross_compiling" = Xyes; then : + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -14941,11 +14882,7 @@ + echo "#endif" >>confrun.c + done + echo "return 0; }" >>confrun.c +-if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } ++if test "$cross_compiling" = Xyes; then : + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ diff --git a/pkg-config/pkg-config.diff b/pkg-config/pkg-config.diff new file mode 100644 index 0000000..777fddd --- /dev/null +++ b/pkg-config/pkg-config.diff @@ -0,0 +1,35 @@ +From 2b86e9b4664fd43622e2cd5ab47713a818758970 Mon Sep 17 00:00:00 2001 +From: Tollef Fog Heen +Date: Thu, 19 Aug 2010 06:54:09 +0000 +Subject: Add some []s before dnl + +Autoconf 2.66 has some problems with missing []s before dnls, causing +the expanded text to be garbled. + +Fixes #29056 +--- +diff --git a/pkg.m4 b/pkg.m4 +index 9bb3e06..31169b4 100644 +--- a/pkg.m4 ++++ b/pkg.m4 +@@ -135,7 +135,7 @@ $$1_PKG_ERRORS + Consider adjusting the PKG_CONFIG_PATH environment variable if you + installed software in a non-standard prefix. + +-_PKG_TEXT])dnl ++_PKG_TEXT])[]dnl + ]) + elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) +@@ -146,7 +146,7 @@ path to pkg-config. + + _PKG_TEXT + +-To get pkg-config, see .])dnl ++To get pkg-config, see .])[]dnl + ]) + else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS +-- +cgit v0.8.3-6-g21f6 +