Tue Mar 3 13:47:14 2015 UTC ()
Bump PKGREVISION.

* Support firefox-36.0 or later with upstream patch.


(ryoon)
diff -r1.32 -r1.33 pkgsrc/editors/emacs24/Makefile
diff -r1.17 -r1.18 pkgsrc/editors/emacs24/distinfo
diff -r1.1 -r1.2 pkgsrc/editors/emacs24/patches/patch-lisp_net_browse-url.el

cvs diff -r1.32 -r1.33 pkgsrc/editors/emacs24/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/editors/emacs24/Attic/Makefile 2015/02/23 14:03:25 1.32
+++ pkgsrc/editors/emacs24/Attic/Makefile 2015/03/03 13:47:14 1.33
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2015/02/23 14:03:25 ryoon Exp $
+# $NetBSD: Makefile,v 1.33 2015/03/03 13:47:14 ryoon Exp $
 
-PKGREVISION=	2
+PKGREVISION=	3
 
 CONFLICTS+=	emacs24-nox11-[0-9]*
 

cvs diff -r1.17 -r1.18 pkgsrc/editors/emacs24/Attic/distinfo (expand / switch to context diff)
--- pkgsrc/editors/emacs24/Attic/distinfo 2015/02/23 14:03:25 1.17
+++ pkgsrc/editors/emacs24/Attic/distinfo 2015/03/03 13:47:14 1.18
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.17 2015/02/23 14:03:25 ryoon Exp $
+$NetBSD: distinfo,v 1.18 2015/03/03 13:47:14 ryoon Exp $
 
 SHA1 (emacs-24.4.tar.gz) = df540d889a685a3ccaae94682b3ff131968e2706
 RMD160 (emacs-24.4.tar.gz) = 52bec18c5f8e4ee7ea3b765620c0f19d2ee524c9
 Size (emacs-24.4.tar.gz) = 59020082 bytes
 SHA1 (patch-gnu_readlinkat.c) = 9252c92290ccf1d4094bbd3972d8309ebf9e57d6
-SHA1 (patch-lisp_net_browse-url.el) = ff9e3a12852b6b54ce80ba35f2ed6cf8dc2e6cf8
+SHA1 (patch-lisp_net_browse-url.el) = 89f41e36df2fb875d22efa38d9b586aea46d7f9e
 SHA1 (patch-src_inotify.c) = 9dfddb9db39e84f376cad1d5a5a32861e7838cac

cvs diff -r1.1 -r1.2 pkgsrc/editors/emacs24/patches/Attic/patch-lisp_net_browse-url.el (expand / switch to context diff)
--- pkgsrc/editors/emacs24/patches/Attic/patch-lisp_net_browse-url.el 2015/02/23 14:03:25 1.1
+++ pkgsrc/editors/emacs24/patches/Attic/patch-lisp_net_browse-url.el 2015/03/03 13:47:14 1.2
@@ -1,14 +1,69 @@
-$NetBSD: patch-lisp_net_browse-url.el,v 1.1 2015/02/23 14:03:25 ryoon Exp $
+$NetBSD: patch-lisp_net_browse-url.el,v 1.2 2015/03/03 13:47:14 ryoon Exp $
 
 * Support firefox 36.0 or later.
   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19921
 
---- lisp/net/browse-url.el.orig	2015-02-22 06:52:03.000000000 +0000
+--- lisp/net/browse-url.el.orig	2014-05-14 02:59:18.000000000 +0000
 +++ lisp/net/browse-url.el
-@@ -1137,15 +1137,12 @@ URL in a new window."
- 		 (append
- 		  browse-url-firefox-arguments
- 		  (if use-remote
+@@ -337,6 +337,9 @@ Defaults to the value of `browse-url-fir
+   :type '(repeat (string :tag "Argument"))
+   :group 'browse-url)
+ 
++(make-obsolete-variable 'browse-url-firefox-startup-arguments
++                        "it no longer has any effect." "24.5")
++
+ (defcustom browse-url-chromium-program
+   (let ((candidates '("chromium" "chromium-browser")))
+     (while (and candidates (not (executable-find (car candidates))))
+@@ -1102,68 +1105,39 @@ used instead of `browse-url-new-window-f
+ ;;;###autoload
+ (defun browse-url-firefox (url &optional new-window)
+   "Ask the Firefox WWW browser to load URL.
+-Default to the URL around or before point.  The strings in
+-variable `browse-url-firefox-arguments' are also passed to
+-Firefox.
++Defaults to the URL around or before point.  Passes the strings
++in the variable `browse-url-firefox-arguments' to Firefox.
+ 
+-When called interactively, if variable
+-`browse-url-new-window-flag' is non-nil, load the document in a
+-new Firefox window, otherwise use a random existing one.  A
+-non-nil interactive prefix argument reverses the effect of
+-`browse-url-new-window-flag'.
++Interactively, if the variable `browse-url-new-window-flag' is non-nil,
++loads the document in a new Firefox window.  A non-nil prefix argument
++reverses the effect of `browse-url-new-window-flag'.
+ 
+ If `browse-url-firefox-new-window-is-tab' is non-nil, then
+ whenever a document would otherwise be loaded in a new window, it
+ is loaded in a new tab in an existing window instead.
+ 
+-When called non-interactively, optional second argument
+-NEW-WINDOW is used instead of `browse-url-new-window-flag'.
++Non-interactively, this uses the optional second argument NEW-WINDOW
++instead of `browse-url-new-window-flag'.
+ 
+-On MS-Windows systems the optional `new-window' parameter is
+-ignored.  Firefox for Windows does not support the \"-remote\"
+-command line parameter.  Therefore, the
+-`browse-url-new-window-flag' and `browse-url-firefox-new-window-is-tab'
+-are ignored as well.  Firefox on Windows will always open the requested
+-URL in a new window."
++On MS Windows, this ignores `browse-url-new-window-flag' and
++`browse-url-firefox-new-window-is-tab', as well as the NEW-WINDOW argument.
++It always uses a new window."
+   (interactive (browse-url-interactive-arg "URL: "))
+   (setq url (browse-url-encode-url url))
+-  (let* ((process-environment (browse-url-process-environment))
+-	 (use-remote
+-	  (not (memq system-type '(windows-nt ms-dos))))
+-	 (process
+-	  (apply 'start-process
+-		 (concat "firefox " url) nil
+-		 browse-url-firefox-program
+-		 (append
+-		  browse-url-firefox-arguments
+-		  (if use-remote
 -		      (list "-remote"
 -			    (concat
 -			     "openURL("
@@ -18,12 +73,38 @@
 -				     ",new-tab"
 -				   ",new-window"))
 -			     ")"))
-+		      (list
+-		    (list url))))))
-+		       (if (browse-url-maybe-new-window new-window)
+-    ;; If we use -remote, the process exits with status code 2 if
-+			   (if browse-url-firefox-new-window-is-tab
+-    ;; Firefox is not already running.  The sentinel runs firefox
-+			       "--new-tab"
+-    ;; directly if that happens.
-+			     "--new-window"))
+-    (when use-remote
-+		       url)
+-      (set-process-sentinel process
- 		    (list url))))))
+-			    `(lambda (process change)
-     ;; If we use -remote, the process exits with status code 2 if
+-			       (browse-url-firefox-sentinel process ,url))))))
-     ;; Firefox is not already running.  The sentinel runs firefox
+-
+-(defun browse-url-firefox-sentinel (process url)
+-  "Handle a change to the process communicating with Firefox."
+-  (or (eq (process-exit-status process) 0)
+-      (let* ((process-environment (browse-url-process-environment)))
+-	;; Firefox is not running - start it
+-	(message "Starting Firefox...")
+-	(apply 'start-process (concat "firefox " url) nil
+-	       browse-url-firefox-program
+-	       (append browse-url-firefox-startup-arguments (list url))))))
++  (let* ((process-environment (browse-url-process-environment)))
++    (apply 'start-process
++           (concat "firefox " url) nil
++           browse-url-firefox-program
++           (append
++            browse-url-firefox-arguments
++            ;; FIXME someone should check if this limitation
++            ;; still applies.
++            (unless (memq system-type '(windows-nt ms-dos))
++              (if (browse-url-maybe-new-window new-window)
++                  (if browse-url-firefox-new-window-is-tab
++                      '("-new-tab")
++                    '("-new-window"))))
++            (list url)))))
+ 
+ ;;;###autoload
+ (defun browse-url-chromium (url &optional _new-window)