diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | main.c | 4 | ||||
-rw-r--r-- | pkg.h | 29 |
3 files changed, 24 insertions, 14 deletions
@@ -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 @@ -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; } @@ -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); |