Commit Graph

2401 Commits

Author SHA1 Message Date
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