Commit Graph

1147 Commits

Author SHA1 Message Date
thorpej 80a94d172a Add some range checks to quiet warnings. 2009-12-19 09:00:56 +00:00
thorpej 83ba8dcb86 We don't have an Elf_Note typedef, but Elf32_Nhdr and Elf64_Nhdr are
equivalent; use Elf32_Nhdr instead.
2009-12-19 08:47:46 +00:00
thorpej e55f728904 Fix all sorts of problems with lint and compiler warnings. 2009-12-19 08:40:57 +00:00
thorpej 625b09a07e Squash a signed-vs-unsigned char * warning. 2009-12-19 07:59:24 +00:00
thorpej 3d218610e2 Change elf_hash() to take a const void *, rather than a const char *. 2009-12-19 07:58:24 +00:00
thorpej f0689d90c7 Provide definitions of MALIGN() and MALIGN64() for the __lint__ case. 2009-12-19 07:54:32 +00:00
thorpej 900d25b3df ELF_ARCH, ELF_TARG_DATA, and ELF_TARG_CLASS are macros defined in a FreeBSD
header file.  For NetBSD, map to equivalent defines.
2009-12-19 07:52:59 +00:00
thorpej d6ff3f1479 LIBELF_COPY_U32(), LIBELF_COPY_S32(): Make sure that the SRC values are
being compared as the maximum width and appropriate signed-ness.
2009-12-19 07:47:22 +00:00
thorpej 688970149e - _libelf_load_scn(): If shoff is larger than SSIZE_MAX, bail out with
a HEADER error.  Pass lint.
2009-12-19 07:44:27 +00:00
thorpej 20d9f43d9d <machine/elf.h> is a FreeBSD-specific header. 2009-12-19 07:37:34 +00:00
thorpej 66a732a72d <libelf.h> is responsible for including <sys/elf32.h> and <sys/elf64.h> on
FreeBSD; no need to do it here.
2009-12-19 07:33:06 +00:00
thorpej 560b6d58db Don't need to include <osreldate.h> here. 2009-12-19 07:31:44 +00:00
thorpej e6c1c7c74e Centralize dependency on __FreeBSD_version into libelf.h, and generalize
the conditional inclusion of API/ELF features so that it works with NetBSD
as well.
2009-12-19 07:31:04 +00:00
thorpej 3e6f245099 <sys/limits.h> -> <limits.h> 2009-12-19 06:39:29 +00:00
thorpej ca36dbd81a <sys/errno.h> -> <errno.h> 2009-12-19 06:22:25 +00:00
thorpej c80991c598 while (0) -> while (/*CONSTCOND*/0) 2009-12-19 05:55:37 +00:00
thorpej ae2945399a Initial build glue for libelf. Still a work-in-progress. 2009-12-19 05:52:01 +00:00
thorpej 0cf4bb02da Add a script to prepare libelf for import. 2009-12-19 05:45:28 +00:00
thorpej d32c9dd64e Import the libelf from FreeBSD 8.0-RC3. 2009-12-19 05:43:39 +00:00
christos 5061b6b019 From Patrick Welche:
The following trivial typo fix gets rid of "unsecure session"s...
XDMATHDIR -> XDMXAUTHDIR
2009-12-18 17:28:47 +00:00
skrll 7a92e8e89d Use += otherwise COPTS loses important flags. 2009-12-16 14:13:18 +00:00
skrll b1d73e2147 Re-run mknative for binutils. 2009-12-14 15:49:18 +00:00
mrg f8913fe32e default netbsd*mips64 to n32. from matt-nb5-mips64. 2009-12-14 02:52:08 +00:00
mrg 42c67cd175 add all the binutils auto-generated files from matt-nb5-mips64 branch.
these are probably wrong and need to re-generated with mknative-binutils,
but get the build sort of limping along a bit better until then.
2009-12-14 02:36:31 +00:00
christos e28d07b4f4 put back -Werror 2009-12-14 02:09:39 +00:00
christos 71af8d5cf6 constify 2009-12-14 00:49:45 +00:00
christos 10afd40910 fix bogus ctype casts 2009-12-14 00:46:21 +00:00
christos 065f57e189 fix for long long time_t 2009-12-14 00:43:58 +00:00
christos 9cf8c53771 don't warn about SLEW; ntpd defines it! 2009-12-14 00:43:09 +00:00
christos e589aa514b use initgroups/setgroups
proper types for uid and gid.
2009-12-14 00:42:47 +00:00
christos eff9ac27fd fix debug printf format
fix bogus ctype cast
2009-12-14 00:42:21 +00:00
christos 5dd48b0c34 bring back our status printing function 2009-12-14 00:41:03 +00:00
christos 61c775be3f constify 2009-12-14 00:40:26 +00:00
mrg 2e067db098 update the generated fonts.conf from the template.
from Jukka Salmi in PR #42169.
2009-12-14 00:39:58 +00:00
christos ed38567fda fix bogus ctype casts 2009-12-14 00:38:48 +00:00
christos 7b8fd1634b don't redefine NANOSECOND 2009-12-14 00:38:20 +00:00
christos 7cabe5d03b (unsigned char) for ctype functions. 2009-12-13 23:25:40 +00:00
christos 20051da22f int/long portability. 2009-12-13 23:25:24 +00:00
snj 2bbd65ed54 Wrap these with .if ${MKSHARE} != "no" 2009-12-13 21:14:18 +00:00
kardel 1ca06f9c92 initial version of reachover make- and support-files 2009-12-13 17:13:47 +00:00
kardel abb0f93cd7 Import ntp 4.2.6 2009-12-13 16:51:59 +00:00
mrg f5f2e65887 - set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly
2009-12-13 09:38:22 +00:00
mrg 93397973a5 remove an unused reference to LD32DIR. 2009-12-13 08:02:36 +00:00
nonaka 7ed8bf295b The support of X for zaurus is added. 2009-12-13 05:04:36 +00:00
nonaka f97268b43d Added keyboard config files for Sharp Zaurus SL-C3x00. 2009-12-13 04:57:16 +00:00
snj ed067c7c4b Add commented out xf86-video-igs under netwinder. 2009-12-11 22:37:39 +00:00
haad ff3b5e1b34 Add support for building libdevmapper against RUMP. 2009-12-09 00:17:23 +00:00
haad 40681c67fa Add support for building RUMP_ACTION libdevmapper which will build and link
libdevmapper with RUMP kernel and libdm(RUMP based device-mapper library).
This enables testing of dmsetup and libdevmapper with RUMP.
2009-12-09 00:15:51 +00:00
skrll 79b3e7eed6 Recognize $L as a local symbol for mips64. 2009-12-07 10:00:21 +00:00
wiz 19c8fa4ec7 Fix a typo (#endiif -> #endif).
Problem found while building kdesdk3.
2009-12-06 09:16:16 +00:00
haad 2c73152555 Addapt libdevmapper library to new header file changes. 2009-12-05 11:42:24 +00:00
haad 980e89047e Remove duplicated netbsd-dm.h file it is already installed in include/dev/dm.
Add own libddevmapper library header file libdm-netbsd.h.
2009-12-05 11:38:40 +00:00
snj 18658cbddd Build some drivers on cats. List taken from the existing xserver set
list, with the addition of wsfb.
2009-12-05 09:11:54 +00:00
mrg 4256cdf1fe - define CPP with a full path
- define CPP_ARGS to -traditional

part1 of xrdb fixes.  thanks to Patrick Welche <prlw1@cam.ac.uk> for
figuring out what was going wrong.
2009-12-05 03:28:08 +00:00
haad 3d3166c313 Try to fix amd64 build. 2009-12-05 01:52:44 +00:00
roy 5f333ecef0 Install our shell subscribers as normal files 2009-12-04 14:44:57 +00:00
roy 5bcbb70c4f Import openresolv-3.3.4
Changes from openresolv-3.3.3 include:
 * private_interfaces is now shell expandable (ie, fxp*)
 * dnsmasq resolver restarting with DBus is now fixed
 * unbound resolver is sent SIGHUP for reload instead of forced restart
 * subscribers with the execute bit are executed, otherwise sourced into
   a subshell for speed
2009-12-04 14:11:49 +00:00
roy 2b3b7ce9ec Fix subst so that the subcribers can restart their daemon. 2009-12-03 10:28:37 +00:00
haad b49e6087b6 Add two more needed files dev-swap.c and unknown.c. 2009-12-02 01:54:20 +00:00
haad 0fa7e5a89a Fix build, add missing symbols, remove unknown ioctls etc. 2009-12-02 01:53:25 +00:00
haad 447276ebab Fix comment about running ./configure script. 2009-12-02 00:59:19 +00:00
haad d685da8d62 Fix cinflicts created by import of latest lvm2tools LVM2-2-02-56. 2009-12-02 00:58:02 +00:00
haad 7c604eea85 Import of new version of lvm2tools LVM2-2-02-56. 2009-12-02 00:25:22 +00:00
haad 687f790f8f Remove not needed debugging CFLAGS. 2009-12-01 23:12:51 +00:00
haad f26bfe28da Revert my commit which have added knowledge about dm targets to libdevmapper,
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can
have knowledge about target mapping and libdevmapper only passes requests
from lvmtools to kernel and back. Bump major library and driver version.

Requested by: yamt@
2009-12-01 23:12:09 +00:00
haad cfa2bb1730 Revert my commit which added knowledge about dm targets to libdevmapper,
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can
have knowledge about target mapping and libdevmapper only passes requests
from lvmtools to kernel and back. Bump major library and driver version.

Requested by: yamt@
2009-12-01 23:11:17 +00:00
he 41109a9b3e Only do the nss module if MKPIC != no. 2009-11-28 22:15:48 +00:00
mbalmer b53370aa71 Forgotten commit. Noticed by snj, thanks! 2009-11-28 17:27:30 +00:00
mbalmer 228477b2fe Add the xf86-input-elographics driver to i386 builds. 2009-11-28 16:48:25 +00:00
mbalmer d0bf5c8f87 Link the xf86-input-ws X.Org input driver to the build and add it to the lists
that also have the wsmouse driver.

xf86-input-ws adds support for touchpanels in X11 that report absolute position
data through wscons(4), e.g. the extended ums(4) driver.  xf86-input-ws was
written by Matthieu Herrb for OpenBSD.

Please remember to also update xsrc before the next system build.
2009-11-28 12:10:24 +00:00
dsl 80ca15a6f8 Fix compressed server accesses.
According to http://cvs.savannah.gnu.org/viewvc/ccvs/src/?root=cvs
this was broken between revs 1.29 and 1.32 for a perion of 4 months
about 4 years ago.
Not sure at all why/how we have the broken version.
Our old code, the latest gnu code and this fix all differ slightly,
but have the same effect.
2009-11-27 18:38:29 +00:00
skrll b6dacdb22f Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.
2009-11-27 14:39:39 +00:00
enami 6c42f8e95b The expression (yyvs != 0) is always true and not a necessary test
in the first place since realloc(NULL, size) is equivalent to
malloc(size).  Write code straightforward while i'm here.
2009-11-27 12:37:19 +00:00
wiz bd3e59b94f Make Dt match installed file name.
Addresses that part of misc/42349 that applies on -current.
2009-11-24 14:07:30 +00:00
roy dae79facc9 Hook openresolv into build. 2009-11-21 03:24:30 +00:00
roy 793621c9d3 Import openresolv-3.3.3
OK: core@, joerg@
2009-11-21 02:40:54 +00:00
skrll af515df4eb Pull in fixes from binutils_2_19 branch.
Bump version and re-run mknative to pick up.
2009-11-20 22:51:29 +00:00
drochner 623d625769 remove some binary files which should be generated in a build 2009-11-17 19:47:00 +00:00
joerg 58fc704fa5 Update for mdocml-1.9.14. 2009-11-16 22:28:43 +00:00
joerg 7d71a6219c Import mdocml-1.9.14:
- fixed proper font cascading (no double-mode in -Tascii)
- added correct scoping of \f
- fixed handling of \c for all input/outputs
2009-11-16 22:26:45 +00:00
snj 643cb11825 Pull in fixes from upstream revision 1.146 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 22:17:03 +00:00
snj 85be2afacd Pull in fixes from upstream revision 1.406 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 21:57:49 +00:00
snj f30f819e9c Fix unbalanced parentheses to make this build again. 2009-11-15 21:19:35 +00:00
snj 59c2b39361 Pull in fixes from upstream revision 1.108 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:56:40 +00:00
snj 811af9adc7 Pull in fixes from upstream revision 1.362 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:10:11 +00:00
snj 7eeffe7acc Pull in fixes from upstream revision 1.83 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 19:51:49 +00:00
skrll 0745739155 Pull across most of the changes from matt-nb5-mips64.
Only remaining change is bfd/elf.c:_bfd_elf_is_local_label_name which
should probably be done via mips_elf_is_local_label_name.
2009-11-15 10:25:16 +00:00
macallan ec3c6449e4 build the igs driver on shark 2009-11-10 23:14:04 +00:00
macallan 8068174863 reachover for the igs driver 2009-11-10 21:44:11 +00:00
skrll 25edd46c0c Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.
2009-11-10 14:47:52 +00:00
skrll 6b62f81249 Add branding to native tools. Update make dependencies to pick up
changes.
2009-11-10 10:24:50 +00:00
skrll c213b097cc Re-run mknative to pick up PKGVERSION and REPORT_BUGS_TEXI 2009-11-10 10:18:05 +00:00
is c4a186ea1c Move to two-clause license. 2009-11-09 15:35:27 +00:00
mrg 94fb0da1b5 update for libpciaccess 0.10.9 2009-11-09 07:24:27 +00:00
mrg 4066af6496 update for xdm 1.1.9 2009-11-09 07:21:17 +00:00
mrg ae18134850 add a note about adding compositing libs support 2009-11-09 07:01:03 +00:00
mrg c5cb963c7d libXinerama provides Xinerama.h panoramiXext.h now. 2009-11-09 03:27:05 +00:00
mrg 32492fdf39 link in -ldrm_intel on i915 and i965 drivers.
build i915 driver with -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP.

should fix errors reported by jak@ and probably many others.
2009-11-09 02:38:24 +00:00
mrg 1e4bfd33e1 add a note about tga and (future) xextproto upgrade 2009-11-09 02:22:39 +00:00
mrg 999d737ad0 update for xf86-video-radeonhd 1.3.0 2009-11-09 01:46:51 +00:00
mrg b9a930e806 disable using sse2 for i386. from drochner@ and veego@. 2009-11-09 01:11:59 +00:00
mrg 2d4c7fde6e update for xclipboard 1.1.0 2009-11-09 00:43:39 +00:00
mrg d311d29300 note that libXau has new documentation we may want to install. 2009-11-09 00:41:42 +00:00
mrg c6af7684fa update for xbitmaps 1.1.0. black6/box6 have moved into here, so don't
install them from xmh any more.
2009-11-09 00:41:25 +00:00
mrg 9b0613b5a4 install new xkbutils man pages 2009-11-09 00:36:12 +00:00
mrg 47b67aed1e update for xman 1.1.0 2009-11-09 00:32:00 +00:00
mrg 4ac6f9b83c update for xprop 1.1.0 2009-11-09 00:30:27 +00:00
mrg a6901c0abc handle XClock* moving into app-defaults subdir. 2009-11-09 00:10:47 +00:00
ghen 772bf29ffc Add missing newline. 2009-11-08 15:33:21 +00:00
skrll 80ea658d23 Copy the change made by christos to elf32-i386.c to other targets where
it's easy:

Add a warning that prints the symbol that has the text reloc.
2009-11-06 10:59:17 +00:00
joerg e0efe9552e Fix incorrect merge. 2009-11-05 20:38:42 +00:00
joerg 375a51926a pkg_install-20091115:
Completely ignore @src in pkg_create. Silently ignore the -L option.
The combination of -I and -p are used by pkgsrc for the same result.

Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.

Add support to query arbitrary variables with pkg_admin config-var.
2009-11-05 18:39:00 +00:00
joerg da6735ba23 Update to 1.9.13 and merge. 2009-11-05 18:28:10 +00:00
joerg 3514411fed Import mdocml 1.9.13:
- added: -fign-escape
- fix: -Thtml accessibility (identifiers, table summary, etc.)
- fix: -Tascii -mdoc segfault with specific `Bl -hang' lists
- portability: bzero() -> memset()
- portability: warnx -> fprintf/perror
- fix: -Thtml buffer munging with certain tags
- fix: -Thtml output of some tags (empty divs, etc.)
- portability: compiler attributes
- documentation: significant man.7 and mdoc.7 improvements
2009-11-05 18:24:50 +00:00
tsarna bfe9f6f3f4 Two new features:
- Detect and adapt to resolv.conf changes through the use of the new
  res_check() API, so that for example changing the search list doesn't
  require restarting clients.

- A persistent mdnsd connection pool, with slow start (so that
  programs like ping, ssh, etc don't keep connections open) and age-out.
  NOTE: Tuning parameter values are just SWAGs.
2009-11-04 23:34:59 +00:00
christos 78155b36be if we have variable trailing context rules, enable the find_rule label. 2009-11-02 20:52:39 +00:00
plunky c75313ecdf switch build to use libevent-1.4.12-stable from external 2009-11-02 10:13:19 +00:00
plunky cfe3e08bfc add external framework for libevent 2009-11-02 10:03:56 +00:00
plunky 6448a78c94 libevent 1.4.12-stable 2009-11-02 10:00:52 +00:00
joerg 56439201f7 Don't depend on /usr/lib/libz.a for host tools. 2009-11-01 00:12:00 +00:00
joerg 452f3eb70c Do not depend on the existance of /usr/lib/libm.a for the host tool case. 2009-10-31 23:36:29 +00:00
christos bb637da730 restore proper Id 2009-10-30 01:53:02 +00:00
christos cda999bd86 fix line accounting. 2009-10-29 21:11:57 +00:00
christos 2f42b80acc Add support for pure parsers yyparse and yylex params, similar to bison. 2009-10-29 21:03:59 +00:00
christos 34f825ee40 We can rebuild our yacc generated files now 2009-10-29 17:17:33 +00:00
christos 3761269372 we can regenerate yacc files now 2009-10-29 17:17:12 +00:00
christos 66f67ed664 regen 2009-10-29 14:49:40 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos edacf9c729 no need for YY_NO here. 2009-10-29 14:44:09 +00:00
christos a94a31f2a3 no need for YY_NO here 2009-10-29 14:43:27 +00:00
christos ffd8793875 no need for YY_NO here. 2009-10-29 14:41:02 +00:00
christos f4922553f5 oops forgot to remove the PKG m4. 2009-10-29 13:03:09 +00:00
christos 9550232f9f defs.h first. 2009-10-29 12:55:52 +00:00
tron 0afc8953b4 Make this build. 2009-10-29 10:26:17 +00:00
christos bd1f9e6807 short-circuit yacc. We cannot make %pure-parser 2009-10-29 02:36:48 +00:00
christos 187a8a16fa move the declaration below the rename defines. 2009-10-29 02:02:04 +00:00
christos 5c2a7ae329 take care of libc. 2009-10-29 01:16:51 +00:00
christos 791a485c93 give yacc's proper name 2009-10-29 01:07:00 +00:00
christos 7ab8a78837 fix dangling else 2009-10-29 01:04:17 +00:00
christos b0b0b5d4a5 add yacc 2009-10-29 00:58:50 +00:00
christos b8a7a0e253 add build glue. 2009-10-29 00:56:35 +00:00
christos 333e428841 add our patches 2009-10-29 00:56:19 +00:00
christos f7a86c124a from http://invisible-island.net/byacc/byacc.html 2009-10-29 00:46:51 +00:00
haad afa6bc484e Add workaround about zfs vnode reclaiming deadlock by checking if we don't
ehld ZFS_MUTEX_OBJ already. If we can lock OBJ_MUTEX deffer execution of
zfs_zinactive to taskq. Code was inspired by FreeBSD zfs_freebsd_reclaim.

XXX. This needs to be fixed after finding final solution for vnode lifecycle.
2009-10-28 23:44:51 +00:00
christos 5e31efcd83 prefix some parameters with _ to avoid conflicts with files that have the
same variable names as globals.
2009-10-28 22:00:56 +00:00
christos 4b8d7b63d1 Bring in the proper fix from upstream. 2009-10-28 15:00:26 +00:00
christos 69fc99cd30 Deal with errno correctly. Fixed better upstream. 2009-10-28 13:08:45 +00:00
njoly d5870d0fb2 Debugging libraries require MKDEBUGLIB not MKDEBUG. 2009-10-28 11:20:07 +00:00
christos d7554581c8 deal with libc's namespace protection 2009-10-28 05:04:02 +00:00
he a53ef62805 Descend into the man/ subdirectory, so that flex.info gets installed,
and what gets installed matches up with the set lists.
2009-10-27 17:51:19 +00:00