Commit Graph

2803 Commits

Author SHA1 Message Date
joerg
19e5019315 Update to LLVM/Clang snapshot r151769 to get much better code for __BIT
on i386.
2012-03-01 01:12:48 +00:00
tron
df92d05dec Move "libexpat" from X11 into base which fixes PR lib/40346.
This change was approved by the Core Group.
2012-02-29 20:07:51 +00:00
joerg
de785a6e75 gdb likes to mix different enum types in switches, so disable the check
for clang.
2012-02-28 22:07:54 +00:00
joerg
a322032f80 Disable -Wempty-body here. 2012-02-28 22:07:16 +00:00
joerg
14ac342e56 Don't use clang here. 2012-02-28 20:26:07 +00:00
joerg
ead2c0eee3 Update LLVM/Clang snapshot to r151411. This brings in Lambda support for
C++11 and a new literal format string check to catch variadic argument
functions.
2012-02-28 17:09:29 +00:00
joerg
312af31841 Merge XZ 5.0.3. 2012-02-28 14:22:21 +00:00
joerg
4c273eb011 Import XZ 5.0.3:
- memory leak in liblzma fixed
- better validation
- correct behavior for suid/sgid/sticky bit and hard links with xz --force
- cleanup and new translations
2012-02-28 13:46:53 +00:00
christos
268a453af7 PR/46068: Fix symbol loading on i386 kernels. On i386 lma != vma and gdb7
depends on them being != to detect overlays and avoid loading them. I've
disabled the test for now.
2012-02-24 22:41:12 +00:00
nonaka
6e76caabe4 fix build failure on mips64. 2012-02-23 11:05:02 +00:00
christos
b327f3cc96 Look at the proper offsets for MD info, depending on the size of the binary
32 or 64.
2012-02-22 18:25:12 +00:00
christos
046a38dd85 merge conflicts 2012-02-22 17:53:48 +00:00
christos
f50962bc3d from ftp.astron.com, CDF security fixes 2012-02-22 17:48:04 +00:00
christos
0e7bd65839 fix wrong variable, import command 2012-02-22 17:47:25 +00:00
wiz
8416dd0a6e melt more snowflakes until they all look like pkgsrc 2012-02-21 18:36:16 +00:00
wiz
18feb27734 melt snowflakes 2012-02-21 18:27:05 +00:00
wiz
75402d0165 Import pkg_install-20120221 for joerg.
Bug fix already there, this just bumps version.
2012-02-21 18:25:15 +00:00
wiz
34653e01b1 Fix PR 46068 using the patch by Nicolas Thauvin:
pkg_add fails to install a package when subdirectories are missing
in the path to package directory in /var/db/pkg.
2012-02-21 13:32:45 +00:00
tron
f5158aee04 Resolve conflicts from last import. 2012-02-19 17:49:09 +00:00
tron
9cc7e269b3 Update "pkg_install" to version 20120128:
- pkg_install 20120128:
  - Explicitly stat(2) if mkdir failed. errno detection doesn't work e.g.
    on Solaris.
  - Provide a stable order for package names that only differe in the base
    name, not the version number.
- pkg_install 20110805:
  - Fix for pkg_delete on NFS from Anthony Mallet.
2012-02-19 17:46:46 +00:00
christos
5c46bfcb22 Fix MKREPRO = yes
XXX: pullup to 6
2012-02-19 05:06:41 +00:00
christos
3ac0dffdc2 fix prototypes 2012-02-18 19:17:54 +00:00
mrg
97a48de011 avoid bfd.info rebuilds and r/o source lossage. 2012-02-18 06:17:39 +00:00
mbalmer
b2d484f7cb Fix typos (in comments). 2012-02-17 12:08:12 +00:00
tron
a30206eafe Include "defer.h" to get the prototype for defer_append(). 2012-02-17 09:17:22 +00:00
tron
b8a7952854 Import Postfix 2.8.8. Changes since Postfix 2.8.7:
- The Postfix sqlite client, introduced with Postfix 2.8, had an
  embarassing bug in its quoting routine. As the result of a
  last-minute code cleanup before release, this routine returned the
  unquoted text instead of the quoted text. The opportunities for
  mis-use are limited: Postfix sqlite database files are usually owned
  by root, and Postfix daemons usually run with non-root privileges so
  they can't corrupt the database. This problem was reported by Rob
  McGee (rob0).
- The Postfix 2.8.4 fix for local delivery agent database lookup
  errors was incomplete. The fix correctly added new code to detect
  database lookup errors with mailbox_transport_maps,
  mailbox_command_maps or fallback_transport_maps, but it failed to
  log the problem, and to produce a defer logfile record which is
  needed for "delayed mail" and "mail too old" delivery status
  notifications.
- The trace(8) service, used for DSN SUCCESS notifications, did not
  distinguish between notifications for a non-bounce or a bounce
  message, causing it to "reply" to mail with the null sender
  address. Problem reported by Sabahattin Gucukoglu.
- Support for Dovecot auth over TCP sockets, using code that already
  existed for testing purposes. Patrick Koetter kindly provided an
  update for the SASL_README file.
- Workaround in the LDAP client for changes in the under-documented
  OpenLDAP API, by Victor Duchovni.
2012-02-17 08:35:39 +00:00
joerg
d04049e559 Use mmap when dealing with plain files. 2012-02-16 22:56:12 +00:00
joerg
1fff0d9a0c Merge mandoc.h r1.99 and read.c 1.28 from upstream:
Add mparse_readmem, which allows application to run the parser directly
from memory, e.g. after de-compressing a document.
2012-02-16 20:58:23 +00:00
nakayama
b3ed3f9f74 The default configuration for TLS support is supposed to use Sun
as, but we use GNU as.  So in this case it generates wrong
relocations in non-PIC mode.

This change fixes lib/libc/tls/t_tls_dynamic test failure on 32-bit
sparc as described in PR toolchain/45985.

Approved by releng.
2012-02-14 11:25:05 +00:00
wiz
2b8cc88a65 Use the correct path in dt_module.c.
From clang via Henning Petersen in PR 46009.
2012-02-13 13:05:36 +00:00
wiz
6ef3ca5393 Use the correct MACHINE_ARCH for amd64.
Remove temporary hack while here.
From Henning Petersen in PR 46001.
2012-02-13 12:52:54 +00:00
tron
e658fe9f45 Re-apply NetBSD patches. 2012-02-11 18:22:58 +00:00
tron
d50d1d7f8b Initial import of "expat" 2.0.1 into base:
This is James Clark's expat XML parser library in C. It is a stream
oriented parser that requires setting handlers to deal with the
structure that the parser discovers in the document.

This is the first part of the fix for PR lib/40346.
2012-02-11 18:18:10 +00:00
tsutsui
ddafd3b8c8 More SL-C7x0/860 support for Xorg server usage:
- pull touchpanel adjustment ioctls to w100lcd.c for SL-C7x0/860
  from zlcd.c for SL-C1000/3x00
- add sample xorg.conf for C7x0/860 (which have hardware screen rotation)
- rename old xorg.conf.sample for C1000/C3x00 to xorg.conf.C3x00
- adjust md set list

Ok releng@ nonaka@
2012-02-10 11:25:42 +00:00
matt
3ffd030673 Fix problem leading to triggering a BFD assert: when allocating space in the
got, do not allocate slots for symbols without default visibility.
2012-02-10 01:47:37 +00:00
christos
720edde670 fix printf format. 2012-02-09 17:53:56 +00:00
drochner
f9e6b678d8 add patch from Redhat bug#784141 which fixes a possible
buffer overflow if used with an HTTP proxy (CVE-2012-0804)
approved by releng
2012-02-09 16:28:53 +00:00
skrll
03fa5d214f Make mips gdb7 compile.
XXX not sure I got this right.
2012-02-09 15:14:19 +00:00
skrll
c49a22327e Re-re-run gdb7 mknative for mips. mips not using gdb7 yet.
OK martin@
2012-02-09 15:13:30 +00:00
skrll
6b25048fe3 Re-re-run mknative for vax on gdb7.
vax isn't currently using gdb7 so this doesn't hurt anyone and I'm going
to ride my previous OK from releng :)
2012-02-09 15:05:00 +00:00
roy
50f757f219 Remove stale files from older imports. 2012-02-06 17:47:26 +00:00
matt
0a81821ab3 Back out part of previous commit (no reason to define SQLITE_BIG_DBL
especially for VAX since it uses DBL_MAX from the VAX <float.h>).
2012-02-06 17:24:49 +00:00
roy
b6ecb9d5dd Import dhcpcd-5.5.4 with the following changes:
* Disregard IFF_RUNNING on link state changes
* Warn about the kernel not configured for IPv6 RAs instead of
  complaining it can't send messages

OK: releng@
2012-02-06 15:56:58 +00:00
skrll
0cb5c6eccd Re-run mknative.
OK releng@ ack 3 nak 0
2012-02-06 10:55:32 +00:00
skrll
69352bd310 Add nbsd-pthread.o.
OK releng@ 3 ack 0 nak.
2012-02-06 10:46:34 +00:00
joerg
7bf72726f9 Pull read.c r1.27 from upstream repository:
Don't silently skip non-ASCII characters, but replace them with ``?''.
This is less likely to break the syntax of macros.
2012-02-06 10:42:44 +00:00
matt
59a1b57ad8 Make this compilable by VAX GCC 4.5 2012-02-05 17:55:12 +00:00
matt
5a1411907d For VAX & GCC, turn on -Wno-overflow to supress a GCC error. 2012-02-05 17:47:30 +00:00
matt
2c2478331f Gcc emit overflows warnings on VAX when you try to use HUGE_VAL. Make these
warning supressable if -Wno-overflow is given.
2012-02-05 17:43:47 +00:00
matt
c1538b0e12 Deal with vax defining [an empty] struct fpreg;
Add supply_gregset and fill_gregset for nbsd-thread.c to vaxbsd-nat.c
2012-02-05 17:40:48 +00:00