diff options
author | wiz <wiz> | 2007-11-30 22:12:07 +0000 |
---|---|---|
committer | wiz <wiz> | 2007-11-30 22:12:07 +0000 |
commit | f97210d37ba75eef4e953503a621cfadd49440bf (patch) | |
tree | 2234a71abd994444108561a10f2ca8e17cd2ad8d /devel/pkg-config/patches | |
parent | c508b45e0c71b653b055cb2adb05c4b2bb8f8c52 (diff) | |
download | pkgsrc-f97210d37ba75eef4e953503a621cfadd49440bf.tar.gz |
Update to 0.22:
pkg-config 0.22
===
- Make Requires.private a whole lot more useful by traversing the
whole tree, not just the top-level, for Cflags.
- Add support for using the system glib.
- Update URL to pkg-config website
- Fix some win32 problems.
- Other minor fixes.
Diffstat (limited to 'devel/pkg-config/patches')
-rw-r--r-- | devel/pkg-config/patches/patch-ab | 10 | ||||
-rw-r--r-- | devel/pkg-config/patches/patch-ac | 10 | ||||
-rw-r--r-- | devel/pkg-config/patches/patch-ad | 8 | ||||
-rw-r--r-- | devel/pkg-config/patches/patch-ag | 196 | ||||
-rw-r--r-- | devel/pkg-config/patches/patch-ah | 6 |
5 files changed, 17 insertions, 213 deletions
diff --git a/devel/pkg-config/patches/patch-ab b/devel/pkg-config/patches/patch-ab index 9cb98603ffd..30e079dd235 100644 --- a/devel/pkg-config/patches/patch-ab +++ b/devel/pkg-config/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.3 2005/10/22 12:59:14 wiz Exp $ +$NetBSD: patch-ab,v 1.4 2007/11/30 22:12:07 wiz Exp $ The static variables are needed because they are used in a struct initializer. The IRIX/mipseb C compiler needs those addresses to be @@ -6,7 +6,7 @@ constant. Log all pkg-config calls to a file. Used by pkgtools/verifypc. ---- main.c.orig 2005-10-22 14:48:50.000000000 +0200 +--- main.c.orig 2007-06-18 21:35:05.000000000 +0000 +++ main.c @@ -172,27 +172,27 @@ pkg_uninstalled (Package *pkg) int @@ -56,7 +56,7 @@ Log all pkg-config calls to a file. Used by pkgtools/verifypc. GString *str; GSList *packages = NULL; char *search_path; -@@ -462,12 +462,27 @@ main (int argc, char **argv) +@@ -461,12 +461,27 @@ main (int argc, char **argv) gboolean failed = FALSE; GSList *reqs; GSList *iter; @@ -84,7 +84,7 @@ Log all pkg-config calls to a file. Used by pkgtools/verifypc. while (iter != NULL) { Package *req; -@@ -478,6 +493,18 @@ main (int argc, char **argv) +@@ -477,6 +492,18 @@ main (int argc, char **argv) else req = get_package (ver->name); @@ -103,7 +103,7 @@ Log all pkg-config calls to a file. Used by pkgtools/verifypc. if (req == NULL) { failed = TRUE; -@@ -508,6 +535,11 @@ main (int argc, char **argv) +@@ -507,6 +534,11 @@ main (int argc, char **argv) iter = g_slist_next (iter); } diff --git a/devel/pkg-config/patches/patch-ac b/devel/pkg-config/patches/patch-ac index ef29aa60719..fe266c890af 100644 --- a/devel/pkg-config/patches/patch-ac +++ b/devel/pkg-config/patches/patch-ac @@ -1,11 +1,11 @@ -$NetBSD: patch-ac,v 1.1 2006/10/04 18:48:04 rillig Exp $ +$NetBSD: patch-ac,v 1.2 2007/11/30 22:12:07 wiz Exp $ Arbitrary strings should not be passed to "eval". ---- configure.orig 2006-08-16 21:10:18.000000000 +0200 -+++ configure 2006-10-04 20:39:13.000000000 +0200 -@@ -19397,7 +19397,7 @@ echo "$as_me:$LINENO: checking whether t - echo $ECHO_N "checking whether to list both direct and indirect dependencies... $ECHO_C" >&6 +--- configure.orig 2007-06-18 21:36:04.000000000 +0000 ++++ configure +@@ -19890,7 +19890,7 @@ echo use_indirect_deps=$use_indirect_dep + echo $ECHO_N "checking whether to list both direct and indirect dependencies... $ECHO_C" >&6; } case $use_indirect_deps in auto) - deplibs_check_method=`(./libtool --config; echo eval echo \$deplibs_check_method) | sh` diff --git a/devel/pkg-config/patches/patch-ad b/devel/pkg-config/patches/patch-ad index 7fc1b54cf67..9bb3551392f 100644 --- a/devel/pkg-config/patches/patch-ad +++ b/devel/pkg-config/patches/patch-ad @@ -1,10 +1,10 @@ -$NetBSD: patch-ad,v 1.1 2006/10/04 18:48:04 rillig Exp $ +$NetBSD: patch-ad,v 1.2 2007/11/30 22:12:07 wiz Exp $ see patch-ac. ---- configure.in.orig 2006-08-16 21:09:30.000000000 +0200 -+++ configure.in 2006-10-04 20:39:27.000000000 +0200 -@@ -42,7 +42,7 @@ echo use_indirect_deps=$use_indirect_dep +--- configure.in.orig 2007-06-18 21:35:05.000000000 +0000 ++++ configure.in +@@ -41,7 +41,7 @@ echo use_indirect_deps=$use_indirect_dep AC_MSG_CHECKING([whether to list both direct and indirect dependencies]) case $use_indirect_deps in auto) diff --git a/devel/pkg-config/patches/patch-ag b/devel/pkg-config/patches/patch-ag deleted file mode 100644 index d2057f878c0..00000000000 --- a/devel/pkg-config/patches/patch-ag +++ /dev/null @@ -1,196 +0,0 @@ -$NetBSD: patch-ag,v 1.1 2007/07/03 17:42:58 joerg Exp $ - -The last chunk is slightly bogus as it hard-codes the NetBSD values. -Since pkg-config doesn't use the event model of glib-1.2, this is -irrelevant. - ---- glib-1.2.8/configure.orig 2006-08-16 20:24:36.000000000 +0200 -+++ glib-1.2.8/configure -@@ -19728,6 +19728,7 @@ if test "x$GCC" = "xyes"; then - fi - fi - -+if false; then - 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 -@@ -19818,6 +19819,7 @@ fi - rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext - fi - LIBS=$glib_save_LIBS -+fi - - echo "$as_me:$LINENO: checking for extra flags for POSIX compliance" >&5 - echo $ECHO_N "checking for extra flags for POSIX compliance... $ECHO_C" >&6 -@@ -22938,7 +22940,7 @@ if test "${glib_cv_has__inline+set}" = s - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - -- if test "$cross_compiling" = yes; then -+ if test "$cross_compiling" = XXX; 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 -@@ -22961,12 +22963,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -+ (exit $ac_status); }; then - glib_cv_has__inline=yes - - else -@@ -22997,7 +22994,7 @@ if test "${glib_cv_has__inline__+set}" = - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - -- if test "$cross_compiling" = yes; then -+ if test "$cross_compiling" = XXX; 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 -@@ -23020,12 +23017,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -+ (exit $ac_status); }; then - glib_cv_has__inline__=yes - - else -@@ -23056,7 +23048,7 @@ if test "${glib_cv_hasinline+set}" = set - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - -- if test "$cross_compiling" = yes; then -+ if test "$cross_compiling" = XXX; 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 -@@ -23079,12 +23071,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -+ (exit $ac_status); }; then - glib_cv_hasinline=yes - - else -@@ -25638,7 +25625,7 @@ if test "${glib_cv_va_copy+set}" = set; - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - -- if test "$cross_compiling" = yes; then -+ if test "$cross_compiling" = XXX; 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 -@@ -25671,12 +25658,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -+ (exit $ac_status); }; then - glib_cv_va_copy=yes - - else -@@ -25701,7 +25683,7 @@ if test "${glib_cv___va_copy+set}" = set - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - -- if test "$cross_compiling" = yes; then -+ if test "$cross_compiling" = XXX; 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 -@@ -25734,12 +25716,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -+ (exit $ac_status); }; then - glib_cv___va_copy=yes - - else -@@ -25764,7 +25741,7 @@ if test "${glib_cv_va_val_copy+set}" = s - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - -- if test "$cross_compiling" = yes; then -+ if test "$cross_compiling" = XXX; 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 -@@ -25797,12 +25774,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- (eval $ac_try) 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -+ (exit $ac_status); }; then - glib_cv_va_val_copy=yes - - else -@@ -28203,7 +28175,7 @@ for glib_sysdef_input in POLLIN:1 POLLOU - echo "#endif" >>confrun.c - done - echo "return 0; }" >>confrun.c --if test "$cross_compiling" = yes; then -+if test "$cross_compiling" = XXX; 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 -@@ -28223,12 +28195,22 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' -+ (exit $ac_status); } && { -+ if test "$cross_compiling" = yes; then -+ echo '#define GLIB_SYSDEF_POLLIN =1' >> glibconfig-sysdefs.h -+ echo '#define GLIB_SYSDEF_POLLOUT =4' >> glibconfig-sysdefs.h -+ echo '#define GLIB_SYSDEF_POLLPRI =2' >> glibconfig-sysdefs.h -+ echo '#define GLIB_SYSDEF_POLLERR =8' >> glibconfig-sysdefs.h -+ echo '#define GLIB_SYSDEF_POLLHUP =16' >> glibconfig-sysdefs.h -+ echo '#define GLIB_SYSDEF_POLLNVAL =32' >> glibconfig-sysdefs.h -+ else -+ ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; }; then -+ (exit $ac_status); }; -+ fi }; then - echo "$as_me:$LINENO: result: done" >&5 - echo "${ECHO_T}done" >&6 - else diff --git a/devel/pkg-config/patches/patch-ah b/devel/pkg-config/patches/patch-ah index f8b993819e7..2d55506b1e0 100644 --- a/devel/pkg-config/patches/patch-ah +++ b/devel/pkg-config/patches/patch-ah @@ -1,11 +1,11 @@ -$NetBSD: patch-ah,v 1.1 2007/10/21 14:01:16 joerg Exp $ +$NetBSD: patch-ah,v 1.2 2007/11/30 22:12:08 wiz Exp $ Don't call gnome-config, it has been dead for ages and the warnings just confuse users. ---- parse.c.orig 2006-08-16 20:45:45.000000000 +0200 +--- parse.c.orig 2007-06-18 21:35:05.000000000 +0000 +++ parse.c -@@ -1396,102 +1396,8 @@ get_compat_package (const char *name) +@@ -1418,102 +1418,8 @@ get_compat_package (const char *name) } else { |