Fix the build: don't use 'access' as a variable name because that clashes with access() which ticks off gcc. Add err.h to rquery.c because without it use of warnx() ticks off clang...
modified libpkg/pkgdb.c
@@ -758,7 +758,6 @@ static int
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -783,20 +782,20 @@ database_access(unsigned mode, const char* dbdir, const char *dbname)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/rquery.c
@@ -30,6 +30,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|