summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--main.c4
-rw-r--r--pkg.h29
3 files changed, 24 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 5207b9b..17e06d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2003-02-22 James Henstridge <james@daa.com.au>
+ * pkg.h: add missing prototype.
+
+ * main.c (main): print the url if the package is too old, to match
+ the output of verify_package().
+
* popthelp.c, poptint.h, poptconfig.c, findme.h, popt.h:
* poptparse.c: expand licensing header to the version found in the
Popt distribution's COPYING file. See discussion in bug 84804 for
diff --git a/main.c b/main.c
index 3506299..00d0a27 100644
--- a/main.c
+++ b/main.c
@@ -472,6 +472,10 @@ main (int argc, char **argv)
req->name,
req->version);
+ if (req->url)
+ verbose_error ("You may find new versions of %s at %s\n",
+ req->name, req->url);
+
return 1;
}
diff --git a/pkg.h b/pkg.h
index 6c8cae0..92df2f9 100644
--- a/pkg.h
+++ b/pkg.h
@@ -74,20 +74,21 @@ struct _Package
int path_position; /* used to order packages by position in path of their .pc file, lower number means earlier in path */
};
-Package *get_package (const char *name);
-char * package_get_l_libs (Package *pkg);
-char * packages_get_l_libs (GSList *pkgs);
-char * package_get_L_libs (Package *pkg);
-char * packages_get_L_libs (GSList *pkgs);
-char * package_get_other_libs (Package *pkg);
-char * packages_get_other_libs (GSList *pkgs);
-char * packages_get_all_libs (GSList *pkgs);
-char * package_get_I_cflags (Package *pkg);
-char * packages_get_I_cflags (GSList *pkgs);
-char * package_get_other_cflags (Package *pkg);
-char * packages_get_all_cflags (GSList *pkgs);
-char * package_get_var (Package *pkg,
- const char *var);
+Package *get_package (const char *name);
+char * package_get_l_libs (Package *pkg);
+char * packages_get_l_libs (GSList *pkgs);
+char * package_get_L_libs (Package *pkg);
+char * packages_get_L_libs (GSList *pkgs);
+char * package_get_other_libs (Package *pkg);
+char * packages_get_other_libs (GSList *pkgs);
+char * packages_get_all_libs (GSList *pkgs);
+char * package_get_I_cflags (Package *pkg);
+char * packages_get_I_cflags (GSList *pkgs);
+char * package_get_other_cflags (Package *pkg);
+char * packages_get_other_cflags (GSList *pkgs);
+char * packages_get_all_cflags (GSList *pkgs);
+char * package_get_var (Package *pkg,
+ const char *var);
char * packages_get_var (GSList *pkgs,
const char *var);