125 Commits

Author SHA1 Message Date
jca
91f13f7854 Reenable execinfo on powerpc, backtrace() is usable since the ld.lld switch
From Brad, tests from cwen@ and gkoehler@
2021-08-29 07:28:05 +00:00
jca
404458437f Don't use printf("%n") in the catch-signal-and-exit code path
Reported by gkoehler@, tests and ok tb@
2021-08-29 07:24:50 +00:00
jca
5e0cb654b4 Drop "broken SIGIO" workaround to fix longstanding emacs hangs
Since 2017 and maybe earlier people have experienced hangs in various
parts of Emacs.  Two error cases which were easy to reproduce:
Emacs spinning when running org-capture in an X11 environment, and (more
recently reported) M-x list-packages failing to connect to online
mirrors.

Those hangs don't appear any more if we disable an old workaround for
our seemingly broken SIGIO implementation.  Even if we still suffer from
problems in this area, right now the workaround seems to hurt us more
than help us.

Many thanks to mikeb@, Emmanuel Giraud, abieber@, Piotr Isajew, Gregoire
Jadi, krw@ and others for the reports and quick feedback.  Special
thanks to fellow Gregoire Jadi for leading the latest bug hunt which
gave us this diff. <3
2021-07-15 19:26:25 +00:00
cwen
1f51725e73 emacs: fix the build on powerpc
A recent commit brought base libexecinfo support for emacs, but it appears it
makes 'temacs' segfault during the build on powerpc. Disable the libexecinfo
support, only on this arch, to fix the build.

comment tweak and OK jca@ (maintainer)
2021-07-13 08:37:57 +00:00
jca
f86ae6bf48 Enable libexecinfo usage
From Brad

Since emacs is mostly the executable itself and the lisp code, don't
expect useful backtraces in case of problems.  People should still
install the debug-emacs package and use egdb.

Fatal error 11: Segmentation fault
Backtrace:
0x13c54970bda <???> at emacs
0x13c5494f791 <???> at emacs
0x13c5497184e <???> at emacs
0x13c549718d2 <???> at emacs
0x13c549706e9 <???> at emacs
Segmentation fault (core dumped)
2021-06-12 23:17:50 +00:00
jca
a18591898f Bugfix update to emacs-27.2
Tested by Timo Myyra and krw@
2021-04-04 23:43:25 +00:00
yasuoka
5606d0a45b Add a patch from upsgream which avoids crashes in Mew due to corrupted
tool-bar label.

ok jca
2021-02-28 10:47:09 +00:00
jca
55039f29b8 Update to emacs-27.1
The most prominent change for us is probably the new portable dumper,
emacs no longer modifies the layout of its ELF executable as part of its
dumping mechanism.  No more sbrk-based allocator at build time, no more
nopie or ld -Z workarounds, etc.

From the release announce email:
--8<--
Emacs 27.1 has a wide variety of new features, including:
  - Built-in support for arbitrary-size integers
  - Text shaping with HarfBuzz
  - Native support for JSON parsing
  - Better support for Cairo drawing
  - Portable dumping used instead of unexec
  - Support for XDG conventions for init files
  - Additional early-init initialization file
  - Lexical-binding is used by default
  - Built-in support for tab bar and tab-line
  - Support for resizing and rotating of images without ImageMagick
-->8--

Feedback for 27.0.91 pretest from bcallah@, matthieu@, krw@
Feedback for 27.1 from Nam Nguyen, ok krw@
2020-08-23 09:55:00 +00:00
jca
eda3b0e8c4 i386 switched to ld.lld more than one year ago
No functional change
2020-07-03 17:05:14 +00:00
jca
f7b53b3a25 Comment patches, add link to upstream bug report 2020-07-03 17:00:42 +00:00
yasuoka
e29987df81 Fix configure to use posix_openpt(3).
ok jca
2020-06-27 04:11:03 +00:00
jca
b6aaf26b17 ${BUILD_PACKAGES} instead of - 2019-11-10 21:50:23 +00:00
jca
aed0e196fa Move USE_GMAKE in a more appropriate place 2019-11-10 17:58:19 +00:00
jca
66bacb23ef Simplify debug package goo 2019-11-10 17:49:30 +00:00
jca
417179de64 Provide debug-emacs 2019-11-10 17:21:32 +00:00
jca
c1b17d49f1 Minor update to emacs-26.3
NEWS:
  https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.26
2019-09-25 22:10:51 +00:00
sthen
484cf3de0c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:45:45 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
sthen
22de3ff02c set png16 WANTLIB entries back to png following the change in soname
part done by portbump, part by hand (it is easily confused)
2019-05-17 16:45:25 +00:00
jca
92dba9cf87 Update to emacs-26.2
Announcement mail:
  https://lists.gnu.org/archive/html/info-gnu/2019-04/msg00003.html

Works fine on amd64 and sparc64.  Tests by Timo Myyra, sunil@, Nam
Nguyen, krw@ and me.
2019-04-22 16:34:45 +00:00
jca
20647091ad Enable support for m17n/libotf
Similar diff from Eric Brown months ago.
2019-03-27 13:36:00 +00:00
jca
4f8b7684f4 Preemptively disable libotf and m17n-lib deps
Temporary until the mentioned libs are imported, I'll probably add m17n
support to the graphical emacs flavors later.
2019-03-26 16:19:36 +00:00
jca
5a456c772c Control the use of ld -Z from the port Makefile
Should help testing on platforms not yet handled
2018-11-27 13:53:29 +00:00
jca
0caae79743 Don't clobber LDFLAGS 2018-11-23 15:31:22 +00:00
naddy
0272dfee2a On i386, link without -Z. Not required with ld.bfd and not supported
by ld.lld.  ok jca@
2018-11-10 15:02:23 +00:00
jca
663caa18fb Upgrade path from emacs21 to latest emacs
"makes sense" naddy@, tweaks from sthen@
2018-11-02 12:56:52 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
espie
c36d0659b9 @tag gtk-update-icon-cache 2018-06-29 22:16:08 +00:00
espie
150a0f36fa first tag: update-desktop-database 2018-06-27 21:03:34 +00:00
jca
6638b1e145 Update to emacs-26.1
Announcement and main user-visible changes:
https://lists.gnu.org/archive/html/info-gnu/2018-05/msg00014.html

Many thanks to all the folks who tested the pretest and rc tarballs.
Release tested by Gregoire Jadi, Markus Hennecke, krw@ and solene@ on
amd64, sparc64, powerpc, armv7 and arm64.  ok krw@ solene@
2018-06-08 22:19:20 +00:00
espie
334ab2b043 update-plist nits 2018-05-20 08:27:18 +00:00
jca
6ee48d37dd Works again on arm, thanks to kettenis' work on FP support 2018-04-02 14:06:09 +00:00
jca
08e2ce0485 Mark as BROKEN on arm, SIGILL when trying to use SIMD instructions
We don't know yet why those instructions are used here, the best way
forward might just be to support hardfp...
2018-01-24 00:35:14 +00:00
jca
5b0fd67942 Use kqueue as a file notificication backend for the no_x11 flavor
Disabling file notification for the no_x11 flavor made sense when the
only backend wad glib2, but now upstream implements kqueue support
internally.
2017-10-19 16:28:48 +00:00
jca
a2cb393aa9 Update to emacs-25.3, which rolls in the fixes for CVE-2017-14482 2017-09-16 16:42:27 +00:00
jca
491dc200b1 Bump, missed in previous. 2017-09-11 14:04:15 +00:00
jca
9d0f049b26 SECURITY fix for bug #28350 - enriched.el code execution
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28350
2017-09-11 13:58:17 +00:00
jca
bbdf15298a emacs-25.2
Mostly a bug-fixe release, see NEWS for the few things that changed.
The diff for bug #24082 included is in this release.

Tested on armv7 and amd64.  -rc/release test reports from alf, Manuel
Giraud, sunil@ and krw@
2017-05-01 16:25:20 +00:00
kettenis
9e17770fa7 Make this build on arm64. No REVISION bump as this didn't build on arm64
before.

ok jca@
2017-04-10 12:54:14 +00:00
jca
4f532da49b Open ports tree patches in diff-mode by default. 2017-02-10 03:05:33 +00:00
jca
2ee96d331a Don't use ld -Z on arm. 2017-02-10 02:24:07 +00:00
jca
d2b98b772a Merge better fix for #24082
This one lets unregistered files appear in vc-dir.
2016-10-16 18:15:22 +00:00
jca
5d3aaaedaf Add two patches to make VC usable again after the 25.1 update.
- add a fix for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24082
- suppress noisy messages that slow down vc-dir
2016-10-13 15:57:24 +00:00
jca
772bd0e6c0 Update to emacs-25.1
Announce: http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00451.html
NEWS file: https://www.gnu.org/software/emacs/news/NEWS.25.1

Fixes the focus problem seen with the gtk3 flavor.  The alignement fix
for sparc64 wasn't needed in 25.0.

Tested by Manuel Giraud, Ralf Horstmann (alpha), abieber@ (macppc),
danj@ (i386).  ok danj@ abieber@
2016-10-13 15:39:32 +00:00
jca
c19cbb79a3 Looks like powerpc doesn't need bss-plt layout anymore.
Thanks guenther@ for the tests & report.
2016-08-10 19:21:37 +00:00
espie
1d55a231e7 add is-branch to all trivial ports that exist as multiple branches. 2016-06-29 16:14:38 +00:00
jca
63cfc7b02a Stop using ld -Z where it is not necessary.
amd64 and sparc64 are ok, powerpc and loongson are not.  Requested by
kettenis.
2016-06-02 16:32:46 +00:00
jca
f5ee53975b Drop the gettext module. 2016-04-26 21:16:00 +00:00
jca
81cda38bc0 Disable the use of Secure PLT on powerpc, hinted by kettenis@ 2015-11-13 20:33:31 +00:00
sthen
e48df32b6b fix following ImageMagick update 2015-11-06 20:37:34 +00:00