nsprpub/pr/include/md/_openbsd.cfg: fix a typo
nsprpub/pr/src/misc/prnetdb.c: add OpenBSD to the list of OSes with getifaddrs() nsprpub/pr/src/misc/prtime.c: OpenBSD's struct tm has two additional fields: tm_zone and tm_gmtoff. ok pvalchev@
This commit is contained in:
parent
b3bc1f4462
commit
6bb71a49be
12
www/mozilla/patches/patch-nsprpub_pr_include_md__openbsd_cfg
Normal file
12
www/mozilla/patches/patch-nsprpub_pr_include_md__openbsd_cfg
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-nsprpub_pr_include_md__openbsd_cfg,v 1.1 2003/04/13 04:26:32 david Exp $
|
||||
--- nsprpub/pr/include/md/_openbsd.cfg.orig Tue Jun 20 16:23:14 2000
|
||||
+++ nsprpub/pr/include/md/_openbsd.cfg Sat Apr 12 01:48:36 2003
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
#elif defined(__sparc__)
|
||||
|
||||
-#undef IS_LITTLE_ENDIAN 1
|
||||
+#undef IS_LITTLE_ENDIAN
|
||||
#define IS_BIG_ENDIAN 1
|
||||
#define HAVE_LONG_LONG
|
||||
#define HAVE_ALIGNED_DOUBLES
|
12
www/mozilla/patches/patch-nsprpub_pr_src_misc_prnetdb_c
Normal file
12
www/mozilla/patches/patch-nsprpub_pr_src_misc_prnetdb_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-nsprpub_pr_src_misc_prnetdb_c,v 1.1 2003/04/13 04:26:32 david Exp $
|
||||
--- nsprpub/pr/src/misc/prnetdb.c.orig Tue Feb 25 09:08:45 2003
|
||||
+++ nsprpub/pr/src/misc/prnetdb.c Sat Apr 12 01:48:36 2003
|
||||
@@ -321,7 +321,7 @@ _pr_QueryNetIfs(void)
|
||||
}
|
||||
|
||||
#elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD) \
|
||||
- || defined(NETBSD)
|
||||
+ || defined(NETBSD) || defined(OPENBSD)
|
||||
|
||||
/*
|
||||
* Use the BSD getifaddrs function.
|
12
www/mozilla/patches/patch-nsprpub_pr_src_misc_prtime_c
Normal file
12
www/mozilla/patches/patch-nsprpub_pr_src_misc_prtime_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-nsprpub_pr_src_misc_prtime_c,v 1.1 2003/04/13 04:26:32 david Exp $
|
||||
--- nsprpub/pr/src/misc/prtime.c.orig Wed Feb 26 18:01:02 2003
|
||||
+++ nsprpub/pr/src/misc/prtime.c Sat Apr 12 01:48:36 2003
|
||||
@@ -1666,7 +1666,7 @@ PR_FormatTime(char *buf, int buflen, con
|
||||
*/
|
||||
|
||||
#if defined(SUNOS4) || (__GLIBC__ >= 2) || defined(XP_BEOS) \
|
||||
- || defined(NETBSD)
|
||||
+ || defined(NETBSD) || defined(OPENBSD)
|
||||
a.tm_zone = NULL;
|
||||
a.tm_gmtoff = tm->tm_params.tp_gmt_offset + tm->tm_params.tp_dst_offset;
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user