diff options
author | tron <tron> | 1999-01-16 05:39:42 +0000 |
---|---|---|
committer | tron <tron> | 1999-01-16 05:39:42 +0000 |
commit | 29f3011e44d0fc9336b0d4d9882cd18591f9c6ed (patch) | |
tree | 2d181f6bdfd061ea01790609b86bd7c7741a369d /x11/gnome-core/patches | |
parent | 2b8f8c1c40da91e06dfd557afd3d443b72b71f50 (diff) | |
download | pkgsrc-29f3011e44d0fc9336b0d4d9882cd18591f9c6ed.tar.gz |
The never ending gnome story:
Update "gnome-core" package to version 0.99.3.1.
Diffstat (limited to 'x11/gnome-core/patches')
-rw-r--r-- | x11/gnome-core/patches/patch-ac | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/x11/gnome-core/patches/patch-ac b/x11/gnome-core/patches/patch-ac index a20d9c849ea..d1e9afd42c0 100644 --- a/x11/gnome-core/patches/patch-ac +++ b/x11/gnome-core/patches/patch-ac @@ -1,10 +1,8 @@ -$NetBSD: patch-ac,v 1.2 1999/01/04 21:58:12 tron Exp $ +$NetBSD: patch-ac,v 1.3 1999/01/16 05:39:42 tron Exp $ -Make this compile on NetBSD, as well as FreeBSD. - ---- applets/modemlights/modemlights.c.orig Mon Dec 14 20:34:38 1998 -+++ applets/modemlights/modemlights.c Mon Jan 4 22:39:43 1999 -@@ -226,17 +226,21 @@ +--- applets/modemlights/modemlights.c.orig Wed Jan 13 00:44:49 1999 ++++ applets/modemlights/modemlights.c Sat Jan 16 06:07:41 1999 +@@ -226,21 +226,24 @@ struct ppp_stats stats; memset(&ifreq, 0, sizeof(ifreq)); @@ -13,24 +11,27 @@ Make this compile on NetBSD, as well as FreeBSD. -#else +#if (defined(BSD) && BSD >= 199506) || defined(__NetBSD__) strncpy(ifreq.ifr_name, device_name, IFNAMSIZ); --#endif /* __FreeBSD__ */ +#else + strncpy(ifreq.ifr_ifrn.ifrn_name, device_name, IFNAMSIZ); -+#endif /* 4.4-BSD derived */ + #endif /* __FreeBSD__ */ ifreq.ifr_ifru.ifru_data = (caddr_t)&stats; -#ifndef __FreeBSD__ -- if ((ioctl(ip_socket,SIOCDEVPRIVATE,(caddr_t)&ifreq) < 0)) -+#if (defined(BSD) && BSD >= 199506) ++#if defined(__FreeBSD__) + if ((ioctl(ip_socket,SIOCGPPPSTATS,(caddr_t)&ifreq) < 0)) +#else +#if defined(__NetBSD__) + if ((ioctl(ip_socket,SIOCGIFFLAGS,(caddr_t)&ifreq) < 0)) ++#else + #ifdef SIOCDEVPRIVATE + if ((ioctl(ip_socket,SIOCDEVPRIVATE,(caddr_t)&ifreq) < 0)) #else +- *in = *out = 0; +- return FALSE; ++ if (0) + #endif +-#else - if ((ioctl(ip_socket,SIOCGPPPSTATS,(caddr_t)&ifreq) < 0)) --#endif /* __FreeBSD__ */ -+ if ((ioctl(ip_socket,SIOCDEVPRIVATE,(caddr_t)&ifreq) < 0)) +#endif /* NetBSD */ -+#endif /* 4.4-BSD derived */ + #endif /* __FreeBSD__ */ { /* failure means ppp is not up */ - *in = *out = 0; |