Commit graph

89 commits

Author SHA1 Message Date
dholland
e66124f9e9 Roll a couple bits into the jumbo patch, one from patch-aj, another
mentioned in passing in PR 43091. Bump PKGREVISION again, to 24.
2017-07-23 05:22:38 +00:00
dholland
b1a36c3444 Revert Joerg's change "Remove now obsolete Emacs ASLR hacks" as it doesn't
work.

Bump PKGREVISION. Note that the reverted changeset itself should have
and didn't bump PKGREVISION.
2017-07-23 05:11:42 +00:00
joerg
a15a83339f Remove now obsolete Emacs ASLR hacks. 2017-06-17 19:40:18 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
dholland
e3f63ce62d Use paxctl +a like in emacs21 to make the build work on -current. It seems
that if you dump with a non-ASLR temacs you get a working emacs binary, and
if you don't you don't, although I don't really see why -- perhaps it's
something broken in crtstuff. Closes PR 51654.

Note that pre-ASLR emacs20 binaries not dumped by an ASLR temacs also
blow up in the same way, which doesn't make much sense either, but
undoubtedly it's all connected.

It's not particularly good that we apparently don't have backwards
compatibility for old Emacs binaries because of this, but for the time
being I'm more worried about it working at all.

PKGREVISION++ again, to 22.
2016-11-26 06:38:06 +00:00
dholland
ac60e264c1 Two fixes: (1) set ELFSIZE correctly (I have no idea how this ever worked)
and (2) work around the problem where gcc 5.x compiles calloc into a call
to itself. PKGREVISION -> 21.
2016-11-26 03:50:16 +00:00
maya
008c08a557 emacs20: retire elaborate logic to match versions of NetBSD below 1.7
older binutils worked fine without this option, and it was a performance
hit, but it's unrealistic to see anyone using such old binutils today.

not matching some operating systems will cause runtime crashes.

forgotten to apply patch in PR pkg/43091: emacs20 doesn't work
(..on linux, which doesn't match the elaborate logic)

bump PKGREVISION as it is only apparent at runtime.
2016-11-11 09:10:41 +00:00
wiz
2b0a009d0e Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
agc
411fefe420 Add SHA512 digests for distfiles for editors category
Problems found with existing distfiles:
	distfiles/javascript-2.1b1.el
	distfiles/yEd-3.14.2.zip
No changes made to the javascript-mode or yEd distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:32:14 +00:00
wiz
d15f48992a Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that.
Bump their PKGREVISIONs.
2015-10-14 20:17:24 +00:00
dholland
a61eaebf20 Use BROKEN_ON_PLATFORM for missing config entries. (yeah this one's my
fault)
2015-01-01 09:54:25 +00:00
joerg
53bcf42769 NetBSD with native clang won't have libgcc, so fake a static library.
Avoids going to the great hacks in the build system to avoid it.
2013-10-27 20:47:53 +00:00
joerg
6a890de541 Use tradcpp for clang build, fallback to cpp -traditional otherwise. 2013-10-27 20:41:49 +00:00
dholland
ad8367a228 Probe a potentially different cpp for preprocessing makefiles. For
now, wire it down; this will probably fail on clang and I'll fix it
better later.
2013-07-07 06:29:48 +00:00
dholland
d1b1866b2a Now revert version 1.4 of patch-ab, which introduced extra configure
tests to work around problems with gcc 4.5's cpp when used on
makefiles.
2013-07-07 05:30:13 +00:00
dholland
92981b3140 Assert MAINTAINER privilege to revert version 1.6 of patch-ab (and
version 1.7, which is its associated patch comment) on the grounds
that it's wrong.
2013-07-07 05:27:45 +00:00
ryoon
1581bb697f Add a comment. 2013-07-05 13:47:02 +00:00
ryoon
181d6e0233 Fix x11 option build. 2013-07-05 13:46:13 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
rodent
942aad2e6a Resolves:
"INFO_FILES should be set to YES or yes."
"Packages that install info files should set INFO_FILES."
Makefile and PLIST warning, respectively.
2013-04-06 20:27:16 +00:00
dholland
d12865fa28 Put the Emacs version in all the DESCR files. Ride the bumps I just did. 2013-02-17 07:48:02 +00:00
dholland
ebbf569450 Change PKGNAME to emacs20-20.7 instead of emacs-20.7. 2013-02-16 23:58:36 +00:00
dholland
f752e6d04c Shift some of the more basic patches to a distfile patch.
PKGREVISION -> 16.
2012-12-11 04:54:43 +00:00
asau
fae34ba053 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 11:43:30 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
dholland
ea0fe4c2a1 Tweak this so it should configure (and then hopefully build) on PA-RISC
on NetBSD. Tangentially related to PR 35235.
2012-03-05 07:29:36 +00:00
dholland
5208ba4fb8 Fix one missing ${DESTDIR} while installing info, which for some reason
failed only on Solaris.
2012-03-05 03:50:44 +00:00
marino
b73ccdef28 editors/emacs20: Mark NOT-FOR-DRAGONFLY
I actually spent a couple of hours getting emacs20 to build error-free
with DragonFly's gcc4.4 compiler.  Unfortunately, it came DOA and emits
"elf_load_section: truncated ELF file" when executed.

This version of EMACS is 14 years old, and it's not worth fooling with
anymore.  I doubt anybody will notice its masking.
2011-12-08 20:40:32 +00:00
dholland
d56584fb97 Extend previous to realloc and free as well, which is almost certainly
necessary. PR 45669.
2011-12-01 05:12:57 +00:00
dholland
ed133d2549 Add __asm __volatile("":::"memory") at a critical point in alloc.c.
gcc thinks it knows the semantics of malloc and so it thinks it can
optimize out the manipulation of __malloc_hook; however, doing so causes
the subsequent malloc call to come back to itself, leading to an infinite
recursion and SIGSEGV in temacs.

This fixes the remaining part of PR 45669.

Someone(TM) should check if this issue affects other Emacs versions
and/or XEmacs.
2011-12-01 05:07:22 +00:00
dholland
ca5317ada2 Fold patch-cb into patch-bm since they patch the same file. Related to
PR 45669. hi joerg!
2011-12-01 04:51:30 +00:00
dholland
37f55a99eb Patch up configure tests for cpp to avoid problems when running gcc
4.5's cpp on makefiles. PR 45669.

Unfortunately, this does not by itself fix the build; now I'm getting

   ./temacs -batch -l loadup dump
   gmake[1]: *** [emacs] Segmentation fault

and I have a bad feeling that this may be the same issue that the
other emacs versions are sometimes hitting.
2011-12-01 04:05:40 +00:00
dholland
befc9c5c71 Fix broken build with clang. 2011-08-01 05:44:26 +00:00
dholland
c2ff08d73d Take MAINTAINER. 2011-08-01 05:41:08 +00:00
dholland
549659749c Fix emacs20 on -current. (It broke on the terminfo changes because it
can't probe terminfo vs. termcap and needs to be told explicitly in its
config system.) ok agc@. PKGREVISION to 14.
2010-03-30 00:44:47 +00:00
wiz
1d85325179 Add RCS Id (hi roy!). 2010-02-21 12:26:47 +00:00
dholland
88cb213617 destdir support, plus fix some pre-existing funnies with install permissions 2010-02-04 06:40:19 +00:00
roy
8b8e8cc495 When running terminfo but compiled for termcap, we cannot assume
that we actually have anything useable in termcap_term_buffer so just
use the terminfo fixed size defined ealier.
2010-01-20 03:21:20 +00:00
joerg
7fdde28ea5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
hasso
3c72c30f0a Make it build on DragonFly master. 2009-04-30 17:22:06 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
uebayasi
b61f4b24f4 Correct copy&paste error. 2008-10-13 14:00:28 +00:00
uebayasi
34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00
dholland
cd87ba8ae0 Add patches for CVE-2008-1694 and CVE-2008-2142.
PKGREVISION -> 11.
2008-07-13 17:28:33 +00:00
obache
b4aba3a4eb Fix build with gcc41 on DragonFly BSD.
emacs20 part of PR pkg/38633 from Hasso Tepper.
2008-07-01 13:22:06 +00:00
kristerw
507d305947 Fix some 64-bit problems in x11 code.
Bump PKGREVISION.
2008-04-05 21:29:14 +00:00
obache
bc4eb7ca5d Now, emacs-20.7 does not exist in GNU sites, moved to old-gnu directory.
And define SITES.* exactly to avoid unnecessary fetch.
2008-03-06 12:34:44 +00:00
kristerw
5b4e207844 Update an include file to fix build errors for PKG_OPTIONS.emacs+=x11. 2008-01-09 18:27:35 +00:00