Bug 1290

Summary: [PENDING] patches required to compile under IRIX
Product: pkg-config Reporter: Jan Schaumann <jschauma>
Component: srcAssignee: Scott James Remnant <scott>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: hp
Version: unspecified   
Hardware: SGI   
OS: IRIX   
Whiteboard:
i915 platform: i915 features:

Description Jan Schaumann 2004-09-04 15:37:04 UTC
The following patches are required to make pkg-config compile under IRIX:

--- parse.c.orig        2002-09-26 19:25:41.000000000 +0200
+++ parse.c
@@ -953,6 +953,7 @@ parse_package_file (const char *path)
     verbose_error ("Package file '%s' appears to be empty\n",
                    path);

+  fclose(f);
   return pkg;
 }

--- pkg.h.orig  2004-09-04 17:42:52.000000000 -0400
+++ pkg.h       2004-09-04 17:45:38.000000000 -0400
@@ -85,6 +85,7 @@
 char *   packages_get_I_cflags    (GSList     *pkgs);
 char *   package_get_other_cflags (Package    *pkg);
 char *   packages_get_all_cflags  (GSList     *pkgs);
+char *   packages_get_other_cflags(GSList     *pkgs);
 char *   package_get_var          (Package    *pkg,
                                    const char *var);
 char *   packages_get_var          (GSList     *pkgs,
Comment 1 Tollef Fog Heen 2005-02-21 00:14:56 UTC
Already fixed in CVS.
Comment 2 Tollef Fog Heen 2005-03-28 08:07:49 UTC
pkgconfig 0.16 has been released and contains a fix for this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.