aboutsummaryrefslogtreecommitdiff
path: root/devel/pkgconfig/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 16:22:23 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-05 16:22:23 +0000
commitc296eea387aedf0d67018de5bf8b58b735eaf6d3 (patch)
tree48fcd11ef11e69a1739af04a0f0d6ef281fdc4a7 /devel/pkgconfig/files
parenta4167bdecee6b1bccd21f18f52612610d53c85ec (diff)
Notes
Diffstat (limited to 'devel/pkgconfig/files')
-rw-r--r--devel/pkgconfig/files/patch-pkg.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/devel/pkgconfig/files/patch-pkg.c b/devel/pkgconfig/files/patch-pkg.c
index 1284af1949e2..4fa85372148d 100644
--- a/devel/pkgconfig/files/patch-pkg.c
+++ b/devel/pkgconfig/files/patch-pkg.c
@@ -29,46 +29,3 @@
+ scan_dir (LPKGLIBDIR, (void *)1);
}
}
-
-@@ -901,6 +904,13 @@
- while (tmp != NULL)
- {
- Package *pkg = tmp->data;
-+ GSList *reqs = pkg->requires;
-+
-+ if (reqs)
-+ {
-+ g_string_append (str, packages_get_other_libs(reqs));
-+ g_string_append (str, " ");
-+ }
-
- if (pkg->other_libs)
- {
-@@ -924,10 +934,13 @@
- char *L_libs;
- char *other_libs;
- GString *str;
-+ GSList *tmp;
- char *retval;
-
- str = g_string_new ("");
-
-+ tmp = pkgs;
-+
- other_libs = packages_get_other_libs (pkgs);
- L_libs = packages_get_L_libs (pkgs);
- l_libs = packages_get_l_libs (pkgs);
-@@ -986,6 +999,13 @@
- while (tmp != NULL)
- {
- Package *pkg = tmp->data;
-+ GSList *reqs = pkg->requires;
-+
-+ if (reqs)
-+ {
-+ g_string_append (str, packages_get_other_cflags(reqs));
-+ g_string_append (str, " ");
-+ }
-
- if (pkg->other_cflags)
- {