diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-09-14 17:57:57 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-09-14 17:57:57 +0000 |
commit | 34806178acd715f616c244be9cecac8474235e8b (patch) | |
tree | 1c80b4f97061e1e77dc8b81bcfaef7ee3ab273cf /x11-fm/nautilus/files/patch-ad | |
parent | Add cdplayer.app - a CD player with CDDB support resembling OpenStep's OmniCD. (diff) |
Add nautilus, the file manager and graphical shell being
developed for GNOME 2.0
Please note: as it stands, this port compiles and installs
cleanly, but immediately coredumps if you try to run it.
I've only committed what I have so far so that any enterprising
souls can try and figure out what on earth is going wrong.
Bug report 3075 has been filed with bugzilla.eazel.com
Notes
Notes:
svn path=/head/; revision=32614
Diffstat (limited to 'x11-fm/nautilus/files/patch-ad')
-rw-r--r-- | x11-fm/nautilus/files/patch-ad | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-fm/nautilus/files/patch-ad b/x11-fm/nautilus/files/patch-ad new file mode 100644 index 000000000000..5f1fee5478fb --- /dev/null +++ b/x11-fm/nautilus/files/patch-ad @@ -0,0 +1,30 @@ +--- components/rpmview/nautilus-rpm-view.c.orig Mon Aug 7 18:31:00 2000 ++++ components/rpmview/nautilus-rpm-view.c Tue Aug 22 18:21:25 2000 +@@ -52,6 +52,10 @@ + #include <libgnorba/gnorba.h> + #include <limits.h> + ++#define FD_t int ++#define fdOpen open ++#define fdClose close ++ + #ifdef EAZEL_SERVICES + #include <libeazelinstall.h> + #include "nautilus-rpm-view-install.h" +@@ -399,7 +403,6 @@ + gint result = 0; + gchar *version_ptr, *release_ptr; + +- rpmReadConfigFiles (NULL, NULL); + rpm_result = rpmdbOpen ("", &rpm_db, O_RDONLY, 0644); + if (rpm_result != 0) { + g_message ("couldn't open package database: %d", rpm_result); +@@ -467,7 +470,7 @@ + + file_descriptor = fdOpen (path_name, O_RDONLY, 0644); + +- if (file_descriptor != NULL) { ++ if (file_descriptor != -1) { + + /* read out the appropriate fields, and set them up in the view */ + result = rpmReadPackageInfo (file_descriptor, &signature, &header_info); |