Commit Graph

2720 Commits

Author SHA1 Message Date
joerg c5f73b3488 Import mdocml 1.12.0:
- Support to output HTML fragments
- Initial support for mdoc->man translation
- Initial eqn support
- preconv / apropos / demandoc (not hooked up)
- Various bugfixes
2011-10-11 19:09:36 +00:00
joerg 3990e5f3ce Disable format string validation with clang, it doesn't like gettext too
much.
2011-10-11 15:18:09 +00:00
joerg e88c6d8036 Fix memset usage. 2011-10-11 15:13:08 +00:00
christos c1a250a123 don't forget to subtract the offset; found by clang -Warray-bounds 2011-10-11 15:11:59 +00:00
christos e9f7791ec5 fix some empty bodies. 2011-10-11 15:10:17 +00:00
joerg 9aa0541bdf Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
preventing Qt4 from building.
2011-10-11 13:53:56 +00:00
mrg 58ea3a282e force on -DPIC and re-apply the old .pico rules again.
i'd expect this to help hppa/sh3 builds, but it doesn't entirely.
it does get the related command lines much closer though.
2011-10-11 03:10:26 +00:00
christos c6bacb34f2 regen arm 2011-10-10 23:14:48 +00:00
christos 7b0e9de91a make this compile 2011-10-10 23:13:25 +00:00
christos 71f924834e make alpha compile. 2011-10-10 22:18:08 +00:00
christos fdf8f3b19f mknative for sparc64 and alpha 2011-10-10 22:18:00 +00:00
christos 33c386138b add missing file 2011-10-10 14:07:16 +00:00
njoly 8ee20f16ad Fix locale alias file substitution in man page. 2011-10-10 09:41:47 +00:00
chs 24dea3d577 in emit_push_insn(), ignore alignment if we don't have a type.
works around a gcc ICE on m68k.  from mrg.
2011-10-09 21:17:33 +00:00
christos e6afcfa146 fix and re-enable the texinfo targets 2011-10-09 18:17:53 +00:00
christos cfa2879daa add arm and hppa 2011-10-09 17:19:03 +00:00
christos d824ea3fab don't forget to set bindir. 2011-10-09 13:58:27 +00:00
christos c8d7cb163f fix powerpc support. 2011-10-09 02:07:24 +00:00
christos 1138a3c397 add powerpc support 2011-10-09 02:03:19 +00:00
christos cee1519fd9 Add psim 2011-10-09 01:59:31 +00:00
christos 4ad34de5ac Descent into gdb if we support it yet. 2011-10-08 21:52:15 +00:00
christos eabd2ad9ba - Don't use the unwind register get functions; you end up in an assertion
trying to unwind while unwinding; plus the sniffer is not allowed to unwind.
- Return the outer frame to terminate not the null frame.
This fixes the kernel track unwinder, so enable it.
2011-10-08 21:47:52 +00:00
christos 2851a42220 pass the thread id. 2011-10-08 21:43:35 +00:00
christos 6ee25ca9b9 use cleantags, instead of home grown copy. 2011-10-08 19:28:38 +00:00
njoly e7df974e10 Adjust UID header position, to be aligned with the datas. 2011-10-08 08:45:37 +00:00
christos 1d3d0af5a7 gnu style. 2011-10-07 23:24:14 +00:00
christos b2a67858d2 Fix broken logic that created R_SPARC_64 relocations when -Bsymbolic.
When -Bsymbolic, all resolved symbols need to be created with relative
relocations. The dynamic linker depends on that because it only
knows how to perform relative relocations in the first pass to
relocate itself.  This bug ended up creating R_SPARC_64 symbols for
12 relocation symbols in ld.elf_so, one of them dlopen(), which
ended up breaking things using dlopen(), most notably PAM.
2011-10-07 22:30:56 +00:00
christos 5cb8c25793 disable building the .info file 2011-10-07 20:22:59 +00:00
joerg debc234b9f Optimise by simplifying. 2011-10-07 10:38:02 +00:00
hannken 34f54c83be As vnalloc() always allocates with PR_WAITOK there is no longer the need
to test its result for NULL.
2011-10-07 09:35:04 +00:00
mrg e8dd307ab6 remove NETBSD_LIBGCC_SPEC that is no longer necessary with ligcc
already doing pic code properly.
2011-10-07 09:16:27 +00:00
mrg 4a9d1308c3 obsolete libgcc_pic and friends. all libgcc's are supposed to be pic
for platforms with shlibs already (and are.)

this obsoletes our hacks for the libgcc specs to use libgcc_pic, and
fixes a couple of other issues reported to me directly.
2011-10-07 09:15:21 +00:00
sborrill 91b69c9f1d Bump version number to 20111006 2011-10-06 13:06:14 +00:00
sborrill c8be037fd1 Provide function in libiscsi to return the compile-time limit on number of
targets. Use this function in the initiator, to ensure that the same limit
is used throughout (i.e. stop you attempting to compile the initiator with a
different limit to the library - the initiator uses the library for most of
its functionality).

If truncating the number of targets in the initiator, truncate it to the
correct amount, not half of what it should be.

Obey RFC3720 when determining targets. SendTargets=All MUST be supported
on a discovery session, and MUST NOT be supported on an operational session.
Previously, SendTargets=All was used both in the initial discovery session
and the later session. (from Daisuke Aoyama - author of istgt).
2011-10-06 13:05:28 +00:00
njoly 829ab7717f Fix magic_descriptor/magic_file quoting in SYNOPSIS. 2011-10-03 15:43:55 +00:00
christos b7c50fc18d enable thread debugging support. 2011-10-02 18:16:06 +00:00
christos ce760d083b Enable thread debugging support (not completely working yet). 2011-10-02 18:15:23 +00:00
christos 0ef3cdf303 - add objfile hook.
- constify.
- we cannot run things, so don't lie.
2011-10-02 18:14:24 +00:00
christos bc3b670f7d The arm .arm.atpcs section does not have segment information, so skip it. 2011-10-01 19:25:24 +00:00
macallan c608916b4f put -mfixloongson2f-btb back in the command line options list 2011-09-30 01:23:00 +00:00
dholland 15ab4bd2bd Fix generation of site.def to substitute @FONTROOTDIR@ and @ENCODINGSDIR@
instead of emitting them unchanged into the imake templates. Should fix
build of x3270.
2011-09-29 09:44:08 +00:00
christos 6762e6f13b comment out weak magic, from file HEAD. 2011-09-28 13:50:52 +00:00
christos 2203d253d7 fix cdf mime output on cdf files (from file HEAD) 2011-09-28 13:50:09 +00:00
christos c236fd95c0 mknative for i386 2011-09-27 15:05:56 +00:00
christos b642776f19 disable kernel trap frame crawling on i386 until it is fixed. 2011-09-27 15:04:19 +00:00
christos d3f9240343 Provide regset functions and gut parts that the new debugging thread library
does not provide yet, so that we can link. As expected this does not work
yet.
2011-09-26 20:38:54 +00:00
christos a6ca113b40 Resurrect old thread debugging code. Not hooked in, compiles. 2011-09-26 18:55:56 +00:00
tsutsui 234e509874 Set WARNS?=2. 2011-09-26 18:08:09 +00:00
tsutsui 431958d51c Regenerate these compiled files properly in our own
xsrc/external/mit/xkeyboard-config/dist/ directory, i.e.
- pull changes from xkeyboard-config 2.0 to 2.3
- put back entries for sharp machines (zaurus and hpcarm wzero3s)
  removed in rev 1.4 (xkeyboard-config 2.0 merge)

XXX1: can't we generate these files during build?
XXX2: hpcarm W-ZERO3 keyboard on X still has some troubles...
2011-09-26 15:19:45 +00:00
christos 09d11d2f8f use gstdint.h from libdecnumber. 2011-09-26 14:31:25 +00:00
mrg 5f7fcf61d3 mknative files for armeb / binutils 2.21.1a 2011-09-26 09:33:45 +00:00
mrg 8f6ce38a21 mknative files for arm / binutils 2.21.1a
(built with a hack to gas/config/tc-arm.c.)
2011-09-26 09:26:58 +00:00
christos 605c6d89d1 Build glue for x86_64. This is working gdb for amd64 minus kernel stacktrace
support. It is disabled for now because it breaks user program traces.
2011-09-26 03:02:44 +00:00
christos 3e93b50f82 Disable our custom stack unwinder for now. It is completely broken now because
gdb asserts when a frame returns 0. In previous versions of gdb, it just
printed 0, and stopped scanning. Our unwinder produces the same results in
both versions of gdb, i.e. it is broken and worse than the current gdb
default. We will need to revisit this for kernel debugging.
2011-09-26 02:35:33 +00:00
christos 5ecf4f1c7e #define _KMEMUSER so that the struct lwp test works. 2011-09-25 20:26:04 +00:00
christos b5a43e29a1 - fix missing argument
- expose struct lwp by #define _KMEMUSER
2011-09-25 20:25:08 +00:00
christos 2aaaf67e44 disable .y.c rule. 2011-09-25 20:23:51 +00:00
apb 1bc22d31ed Disable rebuilding of elfedit.1 2011-09-25 19:40:36 +00:00
christos a83ee50668 make amd64 compile. 2011-09-25 19:09:31 +00:00
christos 2cb320433e run autoreconf -f -i to disable maintainer mode. 2011-09-25 18:18:43 +00:00
christos acd0381cfc Apply the diffs that are relevant from our old gdb6 source tree. 2011-09-25 16:30:24 +00:00
chs 623ee27088 m68k needs fpgnulib.c just like m68000 does. 2011-09-25 13:34:16 +00:00
chs a9fd72b06c define PREFERRED_STACK_BOUNDARY to be the same as STACK_BOUNDARY,
gcc 4.5 wants them both.
2011-09-25 13:33:43 +00:00
chs 9f1b54794a libgcc is big enough to need the equivalent of -fPIC here now. 2011-09-25 13:33:11 +00:00
chs bdcbc7d337 don't try to define LINK_EH_SPEC if it's already set,
netbsd.h already set it to what we want.
2011-09-25 13:32:17 +00:00
mrg aa6f331642 mknative files for vax / binutils 2.21.1a 2011-09-25 11:10:45 +00:00
mrg 95deb5109b make this build again.
gimpy, please check the #if 0'd code that may or may not be useful? :)
2011-09-25 11:07:32 +00:00
mrg 175e62a9ff mknative files for m68* / binutils 2.21.1a 2011-09-25 10:55:04 +00:00
mrg 60fbfc044d mknative files for powerpc / binutils 2.21.1a 2011-09-25 10:27:01 +00:00
mrg bd754ea449 mknative files for hppa / binutils 2.21.1a 2011-09-25 10:15:32 +00:00
mrg 2157e9516b mknative files for alpha / binutils 2.21.1a 2011-09-25 10:09:30 +00:00
mrg cb8d4d4a13 mknative files for mips64eb / binutils 2.21.1a 2011-09-25 10:02:45 +00:00
mrg 68c15c8ed6 mknative files for mips64el / binutils 2.21.1a 2011-09-25 09:52:59 +00:00
mrg 47221e6236 add OPTION_FIX_LOONGSON2F_BTB and OPTION_NO_FIX_LOONGSON2F_BTB
options back to the enum.
2011-09-25 09:44:54 +00:00
mrg a84ac1a7a0 mknative files for mipsel / binutils 2.21.1a 2011-09-25 09:42:48 +00:00
mrg 0f3608f275 mknative files for mipseb / binutils 2.21.1a 2011-09-25 09:37:28 +00:00
mrg 68db3a43ca mknative files for sh3eb / binutils 2.21.1a 2011-09-25 09:29:26 +00:00
mrg 34dc7e97c3 mknative files for sh3el / binutils 2.21.1a 2011-09-25 09:25:33 +00:00
mrg 88584aaf21 mknative-binutils for sparc64 / binutils 2.21.1a. 2011-09-25 08:01:41 +00:00
mrg 1a51c49807 mknative files for sparc / binutils 2.21.1a 2011-09-25 07:53:27 +00:00
mrg 7838ec379b mknative-binutils for i386 / binutils 2.21.1a. 2011-09-25 06:48:52 +00:00
christos 32998b1cb8 Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).
2011-09-25 04:32:33 +00:00
christos 31799520c4 from ftp.gnu.org 2011-09-24 22:40:46 +00:00
christos be12b8bcaf from ftp.gnu.org 2011-09-24 22:30:45 +00:00
christos 45548106ec from ftp.gnu.org 2011-09-24 22:20:22 +00:00
christos be9ac0ea6d from ftp.gnu.org 2011-09-24 22:10:17 +00:00
christos 7dfc761b33 Add the rcs keyword chomper. 2011-09-24 20:52:37 +00:00
christos 7813712d29 make this compile. 2011-09-24 20:51:04 +00:00
christos 5af5d48181 fix stray rcsid files 2011-09-24 20:47:37 +00:00
christos 4e98e3e176 import 7.3.1 2011-09-24 19:57:51 +00:00
christos 98b9484c67 import 7.3.1 2011-09-24 19:47:50 +00:00
christos 473931cbb4 Initial revision 2011-09-24 19:47:49 +00:00
christos 597410b885 import 7.3.1 2011-09-24 19:41:43 +00:00
christos 00a6b36997 import 7.3.1 2011-09-24 19:41:36 +00:00
wiz 372160b738 Document 'cvs rdiff -p'. 2011-09-24 12:02:58 +00:00
mrg 3f55311b0b implement cvs rdiff -p. (someone please upate the manual for me :) 2011-09-24 11:37:27 +00:00
tron b8b5c88370 Fix build with stack smash protection enabled. 2011-09-23 09:36:37 +00:00
mrg 8b0b8ab146 build and install libgomp, as needed by "cc -fopenmp", and its
suplimentary files like libgomp.spec and omp.h.
2011-09-23 06:47:54 +00:00
mrg de7f28c14f only install libgomp.spec for the native build. look in the archdir
for libgomp.spec.

XXX: FILES/FILESDIR isn't working here for me yet.  no idea why.
2011-09-22 20:55:17 +00:00
he 89071b8936 Make this build again: include <err.h> when needed, and don't
shadow err() with a local variable called err...
2011-09-22 16:05:11 +00:00
christos 144b6f2c66 Check result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:40:48 +00:00
mrg 23f1423382 regenerate. 2011-09-22 04:22:17 +00:00
mrg e2bf07a38a use GOMP_MACHINE_ARCH, so we can build compat libs. 2011-09-21 02:12:00 +00:00
mrg a2a54c3f32 allow LIBISPRIVATE to be overriden, and install everything again.
helpful for mknative-gcc.
2011-09-21 02:06:42 +00:00
mrg 53e8c72cbd libgomp mknative-gcc files for everyone else. 2011-09-21 02:00:55 +00:00
mrg ac21230aad makefile to build libgomp, as needed by "gcc -fopenmp".
needs a full mknative-gcc run before it can be properly enabled.
2011-09-20 02:28:03 +00:00
mrg 5bf1411760 mknative-gcc files for libgomp. 2011-09-20 02:26:40 +00:00
christos e79509f088 fix typo. 2011-09-19 01:45:15 +00:00
joerg cdbce62dc9 Define __arraycount if it doesn't exist. 2011-09-17 10:46:52 +00:00
christos 3145fd5cc6 Add utmp/utmpx support.
XXX: Should we make the top pty (tmux) hide?
XXX: Should we add an option to not create utmp entries for a tmux terminal?
2011-09-17 01:50:08 +00:00
christos 7aee9ef7a1 Add utmp support. 2011-09-17 01:48:46 +00:00
christos 79bb278aa6 merge changes 2011-09-16 21:06:21 +00:00
christos 1594e4f0e7 restore from the dead. 2011-09-16 20:38:12 +00:00
christos f2668aff30 from ftp.astron.com:
- elf seeking fixes
- improvements in cdf parsing
- waitpid only for our child
- magic fixes and additions
2011-09-16 20:37:23 +00:00
joerg ba0add90b0 Disable noreturn checks for remaining external code 2011-09-16 16:41:20 +00:00
joerg 2ae99cf42b There is no such thing as WARNS=5. 2011-09-16 16:29:12 +00:00
joerg c6e6ace444 Use __dead 2011-09-16 16:27:36 +00:00
joerg ce5205bcbb Use __dead 2011-09-16 16:09:03 +00:00
plunky 4d64109f1e revert v1.31 (when this was lib/libpcap/Makefile), the HAVE_PCC
is not any longer required since pcc understands gcc attributes
now
2011-09-15 17:59:45 +00:00
christos c3ffa13cb0 PR/45367: Grégoire Sutre: don't depend on m4-ccas and cpp-ccas to be
executable; invoke the shell to run them.
2011-09-14 16:35:22 +00:00
christos 3eb92d7759 PR/45308: Manuel Bouyer: Update list of broadcast addresses after updating
interfaces.
2011-09-14 16:18:29 +00:00
christos aaddf8990f avoid type punning 2011-09-13 19:35:12 +00:00
christos 71faa8a7e1 Some versions of linux have probably marked fwrite(3) as
__attribute__((__warn_unused_result__)) and the __builtin_expect()
use here is an attempt to silence the warning. This does not work
if the second argument of __builtin_expect() is not a constant,
but we are not linux, so instead of going through the
__builtin_constant_p() dance to correct this, just disable it for
non linux OS's.
2011-09-13 19:07:44 +00:00
apb 96aacf816f Use find .${X11FONTDIR}, not find ./${X11FONTDIR}, because ${X11FONTDIR}
starts with "/". This should fix issues involving .//usr/X11R7 instead
of ./usr/X11R7 in METALOG during the build for some ports.
2011-09-12 13:38:42 +00:00
joerg 299a5c7a41 Update LLVM/Clang snapshot to r139231. This includes various bugfixes
and improvements. Don't use a temporary file for tblgen to ensure that
dependencies are created correctly.
2011-09-12 13:32:59 +00:00
christos 999e847dfb reverse polarity of the warning. 2011-09-12 12:11:53 +00:00
christos 888d3daedb merge bind-9.9.0a1 2011-09-11 18:55:24 +00:00
christos b8fb0c4915 Import bind 9.9.0a1 2011-09-11 17:18:57 +00:00
christos 6312186e63 Import bind 9.9.0a1 2011-09-11 17:11:03 +00:00
christos 7826ecab31 document -i 2011-09-10 21:38:59 +00:00
christos cbb5c84afb update config.h and what we do to it. 2011-09-10 21:32:25 +00:00
christos 567667755d merge changes. 2011-09-10 21:29:04 +00:00
christos bf54a80ddf Import byacc 20110908 2011-09-10 21:21:54 +00:00
christos 2100dde0ab Import byacc 20110908 2011-09-10 21:18:59 +00:00
christos 02e43477a1 fix pasto; generalize date 2011-09-10 21:18:00 +00:00
christos fa52ba2c5b merge 0.7.3 2011-09-10 20:59:03 +00:00
christos e6e4448bba Import wpa_supplicant and hostapd 2011-09-10 20:53:49 +00:00
apb 3cc8722d9f Don't include .depend.* files during "make clean" or "make cleandir" 2011-09-10 19:26:18 +00:00
tron 01b50dc734 Import Postfix version 2.8.5. Changes since version 2.8.4:
- The Postfix Milter client logged a "milter miltername: malformed reply"
  error when a Milter sent an SMTP response without enhanced status code
  (i.e. "XXX Text" instead of "XXX X.X.X Text").
- The Postfix Milter client sent a random {client_connections} macro value
  when the remote SMTP client was not subject to any smtpd_client_* limit.
  As a workaround, it now sends a zero value instead.
2011-09-10 10:35:21 +00:00
christos b6f6e1bfbd fix a shadow variable warning. 2011-09-09 17:48:39 +00:00
christos fa2954d50c document another non-literal string. 2011-09-09 12:43:14 +00:00
christos bb8daee5b8 PR/45343: Pierre Allegraud: Add missing nonliteral format comment. 2011-09-08 22:05:00 +00:00
christos a222eb155b catch up with vmem_alloc signature change. 2011-09-07 21:32:07 +00:00
plunky 041e420ed1 update build machinery for pcc-20110901 2011-09-01 13:00:14 +00:00
plunky ee4a1aaa9c fix conflicts created by new import 2011-09-01 12:55:29 +00:00
plunky 1641c82fac Update pcc snapshot to 1.1.0.DEVEL 20110901
Continual development has happened since the previous 0.9.9
snapshot of 20100603 and the full commit log is too long to
include here, but can be seen at

 http://pcc.ludd.ltu.se/fisheye/changelog/~date=2011-09-01T06%3A00%3A00/pcc

Many bugs were reported and fixed, along with reworks of the compiler
internals in several areas, notable milestones were

 * more builtins, libpcc is no longer required on NetBSD
 * improved gcc compatibility (eg gnu-inline semantics)
 * NetBSD/VAX kernel compiles and boots
 * using cpp as backend for lint now fully working
 * PIC support seems complete
 * NetBSD/i386 kernel can be compiled and booted
 * better float/double/complex support
 * amd64 support on OSX
 * reworked Makefiles
 * pcc 1.0.0 was release on April 1 2011
 * several xasm improvements
 * FreeBSD/amd64 system can be compiled with very few changes
 * DragonFly fixes from downstream
 * rewritten #pragma support
 * TLS support added
 * many regression tests
 * rewrite of internal attribute handling
2011-09-01 12:46:15 +00:00
joerg f0eca48ed1 Update LLVM/Clang snapshot to r138875. Primarily to get the rewritten
temp file handling fixing boost-jam build.
2011-09-01 12:24:35 +00:00
christos 4aa752a401 fix shadow warnings.
XXX: might be a good idea to kill global 'cpu' and 'version' variables.
2011-08-31 21:57:16 +00:00
plunky fdcee79615 extend __clang__ hack for __PCC__ also
(CMSG_SPACE() is not a constant)
2011-08-31 20:13:31 +00:00
macallan 100ffc2f59 build Xorg and some drivers appropriate for Loongson-based hw on evbmips 2011-08-30 04:22:56 +00:00
bouyer 90a13a6073 Hide instructions added by -mfix-loongson2f-jump in the same way as
-mfix-loongson2f-btb, to avoid a gas warning "macro expanded into
multiple instructions" (which cause GDIUM kernel build failure
as it's built with -Wa,-mfix-loongson2f-jump -Wa,--fatal-warnings).
2011-08-29 18:30:52 +00:00
wiz 7c47a19704 Add libppath. 2011-08-29 08:58:18 +00:00
joerg a919271017 Mark yy_fatal_error as noreturn if supported by the compiler. 2011-08-27 18:36:03 +00:00
bouyer 0c15c4be25 Add a fix-loongson2f-btb option to gas, from OpenBSD.
This works around a bug in the branch prediction logic of the
CPU which can cause a hard hang. The existing fix-loongson2f-jump
works around the same bug, but by 'fixing' the jump target to be within the
same 256MB region as the kernel. This will (silently) cause a jump
to the wrong address if the jump is intentionally to some other
region (e.g. a call to pmon).
fix-loongson2f-btb instead works around the issue by adding an explicit flush
of the branch target buffer (via a write to a cop0 register) before every
jump register instruction.
2011-08-27 13:19:39 +00:00
joerg cd277335a0 Move -Wno-comment for clang to CPPFLAGS, so that mkdep runs are silent. 2011-08-25 17:05:45 +00:00
joerg 86490d7b50 Avoid non-literal format strings by replacing asprintf with putc. 2011-08-25 16:41:51 +00:00
joerg 0855702cc7 Use of non-literal format strings 2011-08-25 16:29:39 +00:00
uwe 063d3e6570 Pull the fix for GCC Bug 50068 - Invalid memory access in incr_ticks_for_insn
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50068
http://gcc.gnu.org/viewcvs?view=revision&revision=177839

        * config/sh/sh.c (sh_output_mi_thunk): Don't call dbr_schedule.
2011-08-24 21:25:01 +00:00
he d6e8830ca4 Hm, upstream maintainer says loop needs to start from 0, make it so. 2011-08-22 09:19:51 +00:00
he 8d79df0020 Replace needless use of double math just to compare colour distances
with integer arithmetic.  Reported to and discussed with upstream maintainer.
2011-08-22 06:52:35 +00:00
christos 065954bf9d use static const char[] for format. 2011-08-21 08:45:20 +00:00
christos 73d3221b0e document/fix non-literal format strings. 2011-08-19 09:06:05 +00:00
jmmv a17f7e9f91 Disable a few stack protector warnings to fix the build with USE_SSP.
This actually recovers something that was in the Makefile before but that
I removed during the update thinking they were not needed any more.  (I had
assumed ssp was the default.)

Build problem reported by bch at methodlogic.net in current-users.
2011-08-18 19:05:54 +00:00
matt ec53afa919 Add a -mtrap-zero-jump option for mips that causes a trap instruction to
fire before a jump to a zero or "near" zero address.  This can't be used
with MIPS1 kernels since MIPS1 doesn't have a trap instruction (it will
be silently ignored).
2011-08-18 06:32:35 +00:00
jmmv e27abe6ff4 Reenable all warning checks and fix fallover. 2011-08-17 19:28:36 +00:00
jmmv 5365634b06 Adjust reachover Makefiles after tmux 1.5 import.
The new code has quite a bit of warnings to be fixed.  I did not realize
until merge-resolving time that christos@ had fixed such warnings in our
copy of tmux 1.4 and assumed these warnings were new and thus could just
be disabled.

Therefore, I'm disabling some global warning checks as a temporary measure
to bring the tree back to a buildable state.  I will take a look at these
warnings afterwards.
2011-08-17 18:51:10 +00:00
jmmv 0f3d27469a Fix merge conflicts after tmux 1.5 import. 2011-08-17 18:48:34 +00:00
jmmv d530c4d0ae Import tmux 1.5:
CHANGES FROM 1.4 TO 1.5, 09 July 2011

* Support xterm mouse modes 1002 and 1003.
* Change from a per-session stack of buffers to one global stack. This renders
  copy-buffer useless and makes buffer-limit now a server option.
* Fix most-recently-used choice by avoiding reset the activity timer for
  unattached sessions every second.
* Add a -P option to new-window and split-window to print the new window or
  pane index in target form (useful to pass it into other commands).
* Handle a # at the end of a replacement string (such as status-left)
  correctly.
* Support for UTF-8 mouse input (\033[1005h) which was added in xterm 262.
  If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
  UTF-8 terminals. The option defaults to on if LANG etc are set in the same
  manner as the utf8 option.
* Support for HP-UX.
* Accept colours of the hex form #ffffff and translate to the nearest from the
  xterm(1) 256-colour set.
* Clear the non-blocking IO flag (O_NONBLOCK) on the stdio file descriptors
  before closing them (fixes things like "tmux ls && cat").
* Use TMPDIR if set.
* Fix next and previous session functions to actually work.
* Support -x and -y for new-session to specify the initial size of the window
  if created detached with -d.
* Make bind-key accept characters with the top-bit-set and print them as octal.
* Set $TMUX without the session when background jobs are run.
* Simplify the way jobs work and drop the persist type, so all jobs are
  fire-and-forget.
* Accept tcgetattr/tcsetattr(3) failure, fixes problems with fatal() if the
  terminal disappears while locked.
* Add a -P option to detach to HUP the client's parent process (usually causing
  it to exit as well).
* Support passing through escape sequences to the underlying terminal by using
  DCS with a "tmux;" prefix.
* Prevent tiled producing a corrupt layout when only one column is needed.
* Give each pane created in a tmux server a unique id (starting from 0), put it
  in the TMUX_PANE environment variable and accept it as a target.
* Allow a start and end line to be specified for capture-pane which may be
  negative to capture part of the history.
* Add -a and -s options to lsp to list all panes in the server or session
  respectively. Likewise add -s to lsw.
* Change -t on display-message to be target-pane for the #[A-Z] replacements
  and add -c as target-client.
* The attach-session command now prefers the most recently used unattached
  session.
* Add -s option to detach-client to detach all clients attached to a session.
* Add -t to list-clients.
* Change window with mouse wheel over status line if mouse-select-window is on.
* When mode-mouse is on, automatically enter copy mode when the mouse is
  dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel
  is scrolled off the bottom.
* Provide #h character pair for short hostname (no domain).
* Don't use strnvis(3) for the title as it breaks UTF-8.
* Use the tsl and fsl terminfo(5) capabilities to update terminal title and
  automatically fill them in on terminals with the XT capability (which means
  their title setting is xterm-compatible).
* Add a new option, mouse-resize-pane. When on, panes may be resized by
  dragging their borders.
* Fix crash by resetting last pane on {break,swap}-pane across windows.
* Add three new copy-mode commands - select-line, copy-line, copy-end-of-line.
* Support setting the xterm clipboard when copying from copy mode using the
  xterm escape sequence for the purpose (if xterm is configured to allow it).
* Support xterm(1) cursor colour change sequences through terminfo(5) Cc
  (set) and Cr (reset) extensions.
* Support DECSCUSR sequence to set the cursor style with two new terminfo(5)
  extensions, Cs and Csr.
* Make the command-prompt custom prompts recognize the status-left option
  character pairs.
* Add a respawn-pane command.
* Add a couple of extra xterm-style keys that gnome terminal provides.
* Allow the initial context on prompts to be set with the new -I option to
  command-prompt. Include the current window and session name in the prompt
  when renaming and add a new key binding ($) for rename session.
* Option bell-on-alert added to trigger the terminal bell when there is an
  alert.
* Change the list-keys format so that it shows the keys using actual tmux
  commands which should be able to be directly copied into the config file.
* Show full targets for lsp/lsw -a.
* Make confirm-before prompt customizable with -p option like command-prompt
  and add the character pairs #W and #P to the default kill-{pane,window}
  prompts.
* Avoid sending data to suspended/locked clients.
* Small memory leaks in error paths plugged.
* Vi mode improvements.
2011-08-17 18:40:03 +00:00
jmmv e48648f0d2 Adjust instructions and import script in preparation for tmux 1.5. 2011-08-17 18:37:59 +00:00
matt 72dd554728 Regen (since mknative blew away _SOFT_FLOAT changes). 2011-08-17 18:33:03 +00:00
christos 9ad467753c fix strict aliasing issues. 2011-08-17 10:48:02 +00:00
christos 9c35de859b widen the type to avoid gcc warning about shifting too much. 2011-08-17 09:32:55 +00:00
christos e307dc8de5 fix cast warnings 2011-08-17 09:30:13 +00:00
christos e83f416f0e fix strict aliasing issues. 2011-08-17 09:24:23 +00:00
christos 5ae8764ee2 remove gcc hacks. 2011-08-17 09:20:14 +00:00
christos 7634ea3059 fix gcc array out of bounds confusion. 2011-08-17 09:19:38 +00:00
christos 3392b60945 fix aliasing issues and remove gcc hacks. 2011-08-17 09:03:47 +00:00
christos c8909e959a fix type-punned warnings using memcpy 2011-08-17 08:22:50 +00:00
joerg a509349c8f Revert. 2011-08-16 14:08:35 +00:00
christos 4036596c74 document non-literal format strings 2011-08-16 10:45:37 +00:00
christos d6942b2fe4 avoid/document non-literal format strings 2011-08-16 10:34:22 +00:00
christos a04731e090 avoid non-literal strings. 2011-08-16 08:29:15 +00:00
christos fc186dc762 - document non-literal format
- no need for WARNS = 0 here
2011-08-16 07:57:21 +00:00
christos 058f310f02 - proper varyadic warning and error
- don't call syslog with a buffer, use %s first.
2011-08-16 05:28:44 +00:00
christos 05d3ffd600 - it is not the 80's anymore, use proper varargs
- no need to exit again, error does
2011-08-16 05:24:20 +00:00
christos 7fdb569fcb - document non-literal strings
- fix bad security practices: {msyslog,syslog,printf}(buffer) ->
    {msyslog,syslog,printf}("%s", buffer)
- use an anonymous union to avoid type punning casts
- re-order expression to avoid integer overflow
2011-08-16 05:15:20 +00:00
christos afec221346 - fixes for non-literal strings
- add missing strbuf initialization
2011-08-16 04:45:17 +00:00
christos 9521b6a6f7 provisional fix for CVS-2011-2895, buffer overflow during decompress 2011-08-16 03:33:37 +00:00
mrg ea90e3d981 also copy -m and -f flags from the GCC headers.
fixes PR#45253.  (i'm going to leave that bug open for now because i
want to re-work a bunch of the libgcc framework.)
2011-08-15 18:31:20 +00:00
mrg 12dc132b81 clean out some unused code. 2011-08-15 09:19:21 +00:00
christos eae14b3ea8 document non-literal format strings 2011-08-14 13:29:26 +00:00
christos 27b39b96e0 document that display.c uses non-literal format strings 2011-08-14 12:48:02 +00:00
christos dbb4627dd8 fix non-literal strings where they are not needed. 2011-08-14 09:06:12 +00:00
joerg 6791cf96d2 Various warning adjustments for clang 2011-08-11 23:15:35 +00:00
tsutsui 6fa6a60bcb Disable bzip2 support in freetype on xorg tools build.
Fixes PR xsrc/45223 (xorg tools build fails on CentOS due to
lack of bz2 support).
2011-08-10 10:34:48 +00:00
plunky 867fdab687 disable some warnings to appease gcc-4.5 2011-08-10 08:10:39 +00:00
plunky a8bf6c15ac use offsetof() rather than rolling our own, to appease gcc 4.5 2011-08-10 08:09:38 +00:00
plunky 98320184ef fix up some undefined behaviour, to appease gcc 4.5 2011-08-10 08:08:39 +00:00
joerg d745f33bcc No longer needs -Wno-array-bounds with clang. 2011-08-09 13:06:31 +00:00
joerg 11b90aaf13 Requires -Wno-unused-value -Wno-tautological-compare when building with
clang.
2011-08-09 13:01:34 +00:00
joerg d43405d38d -Wno-array-bounds is no longer needed for clang here 2011-08-09 13:00:58 +00:00
joerg 78384c1939 Can't build libstdc++ and libsupc++ with clang since it depends on using
volatiles as initializers of non-volatile fields, void * arithmetic and
some new attributes for the unwinding.
2011-08-09 13:00:04 +00:00
joerg d80abf5701 Disable -Wunused-value for clang, it triggers on the bcopy replacement. 2011-08-09 12:58:55 +00:00
joerg 402f76be16 Since cproj and friends are used, link explicitly against libm. 2011-08-09 12:56:41 +00:00
joerg 90aa08ed31 Don't use array access to compute addresses that are definitely beyond
the static array boundaries.
2011-08-09 12:55:18 +00:00
joerg 7ba5ed4f95 Update LLVM/Clang snapshot to r137038. This brings in the extended array
boundary checker and the white listing of pre-c99 flexible array member
idiom foo[1] as last element of a struct.
2011-08-09 12:30:46 +00:00
mrg 46d22e869d re-run mknative for hppa. 2011-08-07 12:20:10 +00:00
mrg c58b16c3fc after all the recent fixes, let's call this "NetBSD nb2 20110806" 2011-08-07 11:41:50 +00:00
mrg c37220dd3d whoops, properly copy the old libgcc spec. fixes libGLU on sh3. 2011-08-07 00:07:15 +00:00
jmmv bbf950e188 Rename the _atf user to _tests. The _atf name will get obsoleted if/when
we migrate to Kyua (atf v2), so it's better to use a generic name that does
not depend on the specific implementation.  Also, this user has not gone
out yet into any stable release, so we can easily rename it.

Suggested by jruoho@.
2011-08-05 14:43:41 +00:00
matt f766f2f08f Build lzmainfo
Add links to xz (lzma, unxz, etc) that are in the manpage.
Add manpage links as well.
2011-08-04 03:38:06 +00:00
mrg 9c4d605d23 include pixman-noop.c. oops. 2011-08-03 18:22:29 +00:00
matt acb3cf946c Missing a diff for the loongson2 fixes 2011-08-03 17:54:52 +00:00
mrg 995b587647 look in .../man also. 2011-08-03 02:57:23 +00:00
mrg a0cdc1f5cd look in .../man as well. 2011-08-03 02:56:29 +00:00
mrg 629a20b8a8 updates for x11perf 1.5.4 2011-08-03 02:55:30 +00:00
joerg 97e2cf4d88 Update LLVM/Clang snapshot to r136592. This brings support for
.code32/.code64 on x86.
2011-08-02 17:12:38 +00:00
matt c8f6ff28bb Pull in change to support -m[no-]fix-loongson2f-{nop,jump} 2011-08-02 16:11:16 +00:00
mrg 94350a92ff various updates for xorg-server 1.10.3. 2011-08-02 09:11:37 +00:00
mrg edbdb33b37 remove bstore*.h, add Xprintf.h and inpututils.h 2011-08-02 07:56:33 +00:00
mrg d31eb33ea1 build updates and fixes for xorg-server 1.10.3. 2011-08-02 07:41:00 +00:00
matt 9117b7b37b Don't define LINK_EH_SPEC if it's already defined. 2011-08-02 00:45:36 +00:00
tron 64a8c34faa Resolve conflicts from last import. 2011-07-31 10:05:03 +00:00
tron e148fd06c8 Import Postfix version 2.8.4. Changes since version 2.8.3:
- Performance: a high load of DSN success notification requests could
  slow down the queue manager. Solution: make the trace client
  asynchronous, just like the bounce and defer clients.
- The local(8) delivery agent ignored table lookup errors in
  mailbox_command_maps, mailbox_transport_maps, fallback_transport_maps
  and (while bouncing mail to alias) alias owner lookup.
- Workaround: dbl.spamhaus.org rejects lookups with "No IP queries" even
  if the name has an alphanumerical prefix. We play safe, and skip both
  RHSBL and RHSWL queries for names ending in a numerical suffix.
- The "sendmail -t" command reported "protocol error" instead of "file
  too large", "no space left on device" etc.
- The Postfix Milter client reported a temporary error instead of
  "file too large" in three cases.
2011-07-31 10:01:44 +00:00
tron d14af506f7 Automatically determine and print out the release tag for the import. 2011-07-31 09:54:57 +00:00
matt 4564466a06 Don't define LINK_EH_SPEC if it's already defined (from netbsd*.h) 2011-07-31 03:43:33 +00:00
tron 0a04ac4b7d Fix build with SSP enabled. 2011-07-30 11:18:23 +00:00
uebayasi eab2487254 Fix a local var name. 2011-07-30 10:12:14 +00:00
christos 2819a85a08 Allow init for new repository construction! 2011-07-29 18:47:11 +00:00
uebayasi 6ed9c23d3b KNF. 2011-07-29 13:10:23 +00:00
yamt e3bb2d6eba mark this driver D_MPSAFE 2011-07-26 12:54:28 +00:00
yamt afe833af51 fix a merge botch in rev.1.7 2011-07-26 12:33:23 +00:00
yamt 696f2a9301 remove debug printfs 2011-07-26 12:28:39 +00:00
yamt 7695ef3cd1 remove a debug printf 2011-07-26 12:28:01 +00:00
yamt 223b285dcf fix a kmem_alloc/free size mismatch 2011-07-26 12:26:33 +00:00
mrg 9b57234ac3 substitute @LIBBZ2@ here as well. 2011-07-25 18:23:14 +00:00
joerg 0220bbec2e Update to LLVM/Clang snapshot to r135906. Fixes a number of bugs found
in the pkgsrc bulk builds.
2011-07-25 16:32:43 +00:00
njoly eef598dee5 Include bsd.own.mk for obj directory. 2011-07-25 15:41:58 +00:00
mrg 5ddc88b9ab link against bz2 where necessary. 2011-07-23 23:42:02 +00:00
mrg 186dba1af5 obsolete pcftypes.h and link against -lbz2. 2011-07-23 23:38:19 +00:00
mrg 886cb954df updates for freetype 2.4.5. build bzip2. 2011-07-23 23:30:19 +00:00
mrg 80a5944ae9 define XINPUT and HAVE_XORG_SERVER_1_5_0. 2011-07-23 23:27:44 +00:00
mrg c91edb5d1b handle the rename of XSetCPtr.c to XISetCPtr.c. 2011-07-23 21:37:28 +00:00
martin 62d7638bb2 We use the "iterate phdrs method for exception unwinding now, so
make sure to pass --eh-frame-hdr to get the GNU_EH_FRAME header
generated.
2011-07-23 15:22:26 +00:00
mrg 7ca27fc566 adjust for new XtAsprintf manual. sort set list. 2011-07-23 12:27:40 +00:00
mrg 918a3e013c build cayman_shader.c for xf86-video 6.14.2. 2011-07-23 12:13:40 +00:00
mrg dc0e794795 updates for 2.3 2011-07-23 12:02:02 +00:00
mrg 4e9d8c7702 add .../man to the .PATH to find moved manuals. 2011-07-23 07:11:48 +00:00
mrg 18a4d96a28 add .../man to .PATH to find moved manuals. 2011-07-23 06:41:08 +00:00
mrg 3d08ad6ff0 add .../man to the .PATH to find moved manuals. 2011-07-23 06:06:40 +00:00