aboutsummaryrefslogtreecommitdiff
path: root/editors/apel
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2020-08-22 19:24:57 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2020-08-22 19:24:57 +0000
commitf342907c4f68d28f90cac1a84110ac7489d01525 (patch)
tree980b9c9b692b2aa670a29e5352d1fa6c1dd19985 /editors/apel
parent2bb374d97e6f95563633003084c2d12cfeb48237 (diff)
downloadports-f342907c4f68d28f90cac1a84110ac7489d01525.tar.gz
ports-f342907c4f68d28f90cac1a84110ac7489d01525.zip
Fix build error with emacs-devel due to recent removal of make-coding-system
function.
Notes
Notes: svn path=/head/; revision=545780
Diffstat (limited to 'editors/apel')
-rw-r--r--editors/apel/files/patch-pccl-20.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/apel/files/patch-pccl-20.el b/editors/apel/files/patch-pccl-20.el
new file mode 100644
index 000000000000..73e90e202aff
--- /dev/null
+++ b/editors/apel/files/patch-pccl-20.el
@@ -0,0 +1,14 @@
+--- pccl-20.el.orig 2019-04-07 10:56:27 UTC
++++ pccl-20.el
+@@ -88,8 +88,9 @@ CODING-SYSTEM, DECODER and ENCODER must be symbol."
+ (when-broken ccl-accept-symbol-as-program
+ (setq decoder (symbol-value decoder))
+ (setq encoder (symbol-value encoder)))
+- (make-coding-system coding-system 4 mnemonic docstring
+- (cons decoder encoder)))
++ (if (fboundp 'make-coding-system)
++ (make-coding-system coding-system 4 mnemonic docstring (cons decoder encoder))
++ (define-coding-system coding-system docstring :mnemonic mnemonic :coding-type 'ccl :ccl-decoder decoder :ccl-encoder encoder)))
+ )
+
+ (when-broken ccl-accept-symbol-as-program