pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/pkgconfig Extended patch-aa (main.c) to make the...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc915ad3bcdf
branches: trunk
changeset: 496824:fc915ad3bcdf
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Jul 13 21:38:26 2005 +0000
description:
Extended patch-aa (main.c) to make the variable addresses used in a
struct initializer constant. Bumped PKGREVISION.
diffstat:
devel/pkgconfig/Makefile | 4 +-
devel/pkgconfig/distinfo | 4 +-
devel/pkgconfig/patches/patch-aa | 58 +++++++++++++++++++++++++++++++++++++--
3 files changed, 58 insertions(+), 8 deletions(-)
diffs (92 lines):
diff -r 5571fe3a96f5 -r fc915ad3bcdf devel/pkgconfig/Makefile
--- a/devel/pkgconfig/Makefile Wed Jul 13 18:48:02 2005 +0000
+++ b/devel/pkgconfig/Makefile Wed Jul 13 21:38:26 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2005/04/21 08:22:32 xtraeme Exp $
+# $NetBSD: Makefile,v 1.27 2005/07/13 21:38:26 rillig Exp $
#
DISTNAME= pkgconfig-0.17.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://www.freedesktop.org/software/pkgconfig/releases/
diff -r 5571fe3a96f5 -r fc915ad3bcdf devel/pkgconfig/distinfo
--- a/devel/pkgconfig/distinfo Wed Jul 13 18:48:02 2005 +0000
+++ b/devel/pkgconfig/distinfo Wed Jul 13 21:38:26 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2005/04/21 08:22:32 xtraeme Exp $
+$NetBSD: distinfo,v 1.17 2005/07/13 21:38:26 rillig Exp $
SHA1 (pkgconfig-0.17.2.tar.gz) = 93e32aa176fceb2f7fe4d4e938f599ade74edb09
RMD160 (pkgconfig-0.17.2.tar.gz) = ff6de406416abf9dcd5eaa77d1d8ef5e6bc6d935
Size (pkgconfig-0.17.2.tar.gz) = 965129 bytes
-SHA1 (patch-aa) = 58592474033f44f244c639a29b89b73a9966b1a2
+SHA1 (patch-aa) = 6927d53131e9be90d81856ecd0e209c9c6015c9f
diff -r 5571fe3a96f5 -r fc915ad3bcdf devel/pkgconfig/patches/patch-aa
--- a/devel/pkgconfig/patches/patch-aa Wed Jul 13 18:48:02 2005 +0000
+++ b/devel/pkgconfig/patches/patch-aa Wed Jul 13 21:38:26 2005 +0000
@@ -1,8 +1,58 @@
-$NetBSD: patch-aa,v 1.5 2005/04/21 08:22:32 xtraeme Exp $
+$NetBSD: patch-aa,v 1.6 2005/07/13 21:38:26 rillig Exp $
+
+The static variables are needed because they are used in a struct
+initializer. The IRIX/mipseb C compiler needs those addresses to be
+constant.
---- main.c.orig 2005-04-21 10:11:45.000000000 +0200
-+++ main.c 2005-04-21 10:12:43.000000000 +0200
-@@ -278,13 +278,17 @@
+--- main.c.orig Tue Apr 12 13:08:13 2005
++++ main.c Wed Jul 13 04:26:50 2005
+@@ -172,26 +172,26 @@ pkg_uninstalled (Package *pkg)
+ int
+ main (int argc, char **argv)
+ {
+- int want_my_version = 0;
+- int want_version = 0;
+- int want_libs = 0;
+- int want_cflags = 0;
+- int want_l_libs = 0;
+- int want_L_libs = 0;
+- int want_other_libs = 0;
+- int want_I_cflags = 0;
+- int want_other_cflags = 0;
+- int want_list = 0;
+- int want_static_lib_list = ENABLE_INDIRECT_DEPS;
++ static int want_my_version = 0;
++ static int want_version = 0;
++ static int want_libs = 0;
++ static int want_cflags = 0;
++ static int want_l_libs = 0;
++ static int want_L_libs = 0;
++ static int want_other_libs = 0;
++ static int want_I_cflags = 0;
++ static int want_other_cflags = 0;
++ static int want_list = 0;
++ static int want_static_lib_list = ENABLE_INDIRECT_DEPS;
+ int result;
+- int want_uninstalled = 0;
+- char *variable_name = NULL;
+- int want_exists = 0;
+- char *required_atleast_version = NULL;
+- char *required_exact_version = NULL;
+- char *required_max_version = NULL;
+- char *required_pkgconfig_version = NULL;
+- int want_silence_errors = 0;
++ static int want_uninstalled = 0;
++ static char *variable_name = NULL;
++ static int want_exists = 0;
++ static char *required_atleast_version = NULL;
++ static char *required_exact_version = NULL;
++ static char *required_max_version = NULL;
++ static char *required_pkgconfig_version = NULL;
++ static int want_silence_errors = 0;
+ GString *str;
+ GSList *packages = NULL;
+ char *search_path;
+@@ -278,13 +278,17 @@ main (int argc, char **argv)
debug_spew ("PKG_CONFIG_DEBUG_SPEW variable enabling debug spew\n");
}
Home |
Main Index |
Thread Index |
Old Index