summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-05-31 16:20:40 +0000
committerrh <rh@pkgsrc.org>2000-05-31 16:20:40 +0000
commit2191bede37868960d1952a04d209b0a6062446fc (patch)
treef80f5d0a22c53f2234f584c0fecb70e6d73423cc /x11
parente2752c30466106c431d96dbd95be569326702f0e (diff)
downloadpkgsrc-2191bede37868960d1952a04d209b0a6062446fc.tar.gz
Remove obsoleted patches (that were not applied anyway, because they were
no longer present in files/patch-sum)
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-core/patches/patch-ah59
-rw-r--r--x11/gnome-core/patches/patch-ai13
2 files changed, 0 insertions, 72 deletions
diff --git a/x11/gnome-core/patches/patch-ah b/x11/gnome-core/patches/patch-ah
deleted file mode 100644
index 313628bd34d..00000000000
--- a/x11/gnome-core/patches/patch-ah
+++ /dev/null
@@ -1,59 +0,0 @@
-$NetBSD: patch-ah,v 1.4 1999/11/14 20:45:09 tron Exp $
-
---- applets/battery/read-battery.c.orig Tue Aug 24 21:41:15 1999
-+++ applets/battery/read-battery.c Sun Nov 14 21:24:09 1999
-@@ -185,7 +185,7 @@
- close(fd);
- return TRUE;
-
--#elif defined(__NetBSD__) || defined(__OpenBSD__)
-+#elif defined(__NetBSD_APM__) || defined(__OpenBSD__)
- struct apm_power_info aip;
- int fd;
-
-@@ -221,7 +221,44 @@
- close(fd);
- return TRUE;
-
--#else /* ! ( __linux__ || __FreeBSD__) */
-+#elif defined(__NetBSD_APM__)
-+
-+ struct apm_power_info aip;
-+ int fd;
-+
-+ fd = open(APMDEV, O_RDONLY);
-+ if (fd == -1)
-+ {
-+ g_error (_("Cannot open /dev/apm; can't get data."));
-+ return FALSE;
-+ }
-+
-+ if (ioctl(fd, APM_IOC_GETPOWER, &aip) == -1) {
-+ g_error(_("ioctl failed on /dev/apm."));
-+ return FALSE;
-+ }
-+
-+ *hours_remaining = aip.minutes_left / 60;
-+ aip.minutes_left %= 60;
-+ *minutes_remaining = aip.minutes_left;
-+
-+ /* if APM is not turned on */
-+ if (aip.battery_state == APM_BATT_UNKNOWN)
-+ {
-+ g_error(_("APM battery state unknown! Cannot read battery charge information."));
-+ }
-+ if (aip.ac_state == APM_AC_UNKNOWN)
-+ {
-+ g_error(_("APM ac state is unknown! Cannot read battery charge information."));
-+ }
-+
-+ *ac_online = aip.ac_state == APM_AC_ON;
-+ *percentage = aip.battery_life;
-+
-+ close(fd);
-+ return TRUE;
-+
-+#else /* ! ( __linux__ || __FreeBSD__ || __NetBSD_APM__ ) */
-
- /* Assume always connected to power. */
- *ac_online = 1;
diff --git a/x11/gnome-core/patches/patch-ai b/x11/gnome-core/patches/patch-ai
deleted file mode 100644
index 9da188b3633..00000000000
--- a/x11/gnome-core/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1 1999/09/03 02:00:09 jlam Exp $
-
---- applets/mixer/Makefile.in.orig Mon Jul 19 19:02:48 1999
-+++ applets/mixer/Makefile.in Thu Sep 2 20:18:08 1999
-@@ -162,7 +162,7 @@
- mixer_applet_SOURCES = mixer.c vslider.c vslider.h hslider.c hslider.h lamp-small.xpm lamp-small-red.xpm
-
-
--mixer_applet_LDADD = ../../panel/libpanel_applet.la $(GNOME_LIBDIR) $(ORB_LIBS) $(GNOMEGNORBA_LIBS) $(INTLLIBS)
-+mixer_applet_LDADD = ../../panel/libpanel_applet.la $(GNOME_LIBDIR) $(ORB_LIBS) $(ESD_LIBS) $(GNOMEGNORBA_LIBS) $(INTLLIBS)
-
-
- EXTRA_DIST = mixer_applet.desktop mixer_applet.gnorba