Ticket #29232: emacs-app.patch

File emacs-app.patch, 2.8 KB (added by des@…, 14 years ago)
  • Portfile

    diff -Nru emacs-app-orig/Portfile emacs-app/Portfile
    old new  
    44PortSystem 1.0
    55
    66name            emacs-app
    7 version         23.2
    8 revision        3
     7version         23.3
     8revision        0
    99categories      aqua editors
    1010maintainers     css
    1111description     The GNU Emacs text editor (Cocoa version)
     
    2121# configuration is untested at this time.
    2222
    2323platforms       darwin
    24 homepage        http://emacs-app.sourceforge.net/
     24homepage        http://www.gnu.org/software/emacs/
    2525master_sites    gnu:emacs
    2626distname        emacs-${version}
    2727use_bzip2       yes
    28 checksums           md5     057a0379f2f6b85fb114d8c723c79ce2 \
    29                     sha1    b46e6b33e1f5e24ede0ecd0d8703b64847c83946 \
    30                     rmd160  b7441be0a32e78e02f108dcb3b09b531c6849d95
     28checksums           md5     a673c163b4714362b94ff6096e4d784a \
     29                    sha1    de2c924655f0f4e012cc119840cd341a1d40e32c \
     30                    rmd160  bddaba77f543b41a91d133c6700078a9b41b0bf8
    3131
    3232depends_lib     port:ncurses
    3333use_parallel_build      yes
    3434
    3535configure.args  --with-ns --without-x --without-dbus
    3636
    37 patchfiles      patch-ns-win.el.diff \
    38                 patch-src_unexmacosx.c.diff
     37patchfiles      patch-src_unexmacosx.c.diff
    3938
    4039variant fullscreen description {Add fullscreen patch from http://gist.github.com/291150 as mentioned in http://www.sanityinc.com/full-screen-support-for-cocoa-emacs-on-osx} {
    4140    patchfiles-append patch-fullscreen.diff
  • files/patch-ns-win.el.diff

    diff -Nru emacs-app-orig/files/patch-ns-win.el.diff emacs-app/files/patch-ns-win.el.diff
    old new  
    1 --- lisp/term/ns-win.el.orig    2010-12-12 23:31:04.000000000 -0500
    2 +++ lisp/term/ns-win.el 2010-12-12 23:32:00.000000000 -0500
    3 @@ -785,7 +785,7 @@
    4    "Do a `find-file' with the `ns-input-file' as argument."
    5    (interactive)
    6    (let ((f) (file) (bufwin1) (bufwin2))
    7 -    (setq f (file-truename (car ns-input-file)))
    8 +    (setq f (file-truename (expand-file-name (car ns-input-file) command-line-default-directory)))
    9      (setq ns-input-file (cdr ns-input-file))
    10      (setq file (find-file-noselect f))
    11      (setq bufwin1 (get-buffer-window file 'visible))
  • files/site-start.el

    diff -Nru emacs-app-orig/files/site-start.el emacs-app/files/site-start.el
    old new  
    11(setq load-path (cons "__PREFIX__/share/emacs/site-lisp" load-path))
     2(if (file-readable-p "__PREFIX__/share/emacs/site-lisp/subdirs.el")
     3    (let ((default-directory "__PREFIX__/share/emacs/site-lisp"))
     4      (load "__PREFIX__/share/emacs/site-lisp/subdirs.el")))