Obvious fix:

Author: jamesh
Date: 2003-02-22 07:04:02 GMT
Obvious fix:

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().
This commit is contained in:
Arch Librarian 2005-07-14 13:05:51 +00:00
parent 27130d2875
commit 72b5088eae
3 changed files with 24 additions and 14 deletions

View file

@ -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

4
main.c
View file

@ -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;
}

29
pkg.h
View file

@ -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);