}
+#ifdef USE_FILEFILTER
+
#define FILEFILTER_EXACT 0
#define FILEFILTER_STARTS 1
#define FILEFILTER_CONTAINS 2
{ FILEFILTER_STARTS, "/opt/gnome/games/", 0},
};
+#endif
+
static void
adddudata(Pool *pool, Repo *repo, Repodata *repodata, Solvable *s, RpmHead *rpmhead, char **dn, unsigned int *di, int fc, int dic)
{
char **dn;
unsigned int *di;
int bnc, dnc, dic;
- int i, j;
+ int i;
+#ifdef USE_FILEFILTER
+ int j;
struct filefilter *ff;
+#endif
#if 0
char *fn = 0;
int fna = 0;
for (i = 0; i < bnc; i++)
{
+#ifdef USE_FILEFILTER
ff = filefilters;
for (j = 0; j < sizeof(filefilters)/sizeof(*filefilters); j++, ff++)
{
}
if (j == sizeof(filefilters)/sizeof(*filefilters))
continue;
+#endif
#if 0
j = strlen(bn[i]) + strlen(dn[di[i]]) + 1;
if (j > fna)