summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-04-26 17:58:41 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-04-26 17:58:41 +0000
commit6098d939354fedb75dda00241974ab7c726d9057 (patch)
tree84dd9b79634d4512b5807e654e620ab16dd11d77 /app-emacs/httpd/files
parentBump patchset, to fix visibility of dvdnav plugin. (diff)
downloadgentoo-2-6098d939354fedb75dda00241974ab7c726d9057.tar.gz
gentoo-2-6098d939354fedb75dda00241974ab7c726d9057.tar.bz2
gentoo-2-6098d939354fedb75dda00241974ab7c726d9057.zip
Add compatibility function: open-network-stream-server; Resolves Bug #125322.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'app-emacs/httpd/files')
-rw-r--r--app-emacs/httpd/files/1.0-open-network-strea-server-gentoo.patch25
-rw-r--r--app-emacs/httpd/files/digest-httpd-1.0-r13
2 files changed, 28 insertions, 0 deletions
diff --git a/app-emacs/httpd/files/1.0-open-network-strea-server-gentoo.patch b/app-emacs/httpd/files/1.0-open-network-strea-server-gentoo.patch
new file mode 100644
index 000000000000..44706bb18fac
--- /dev/null
+++ b/app-emacs/httpd/files/1.0-open-network-strea-server-gentoo.patch
@@ -0,0 +1,25 @@
+diff -ur httpd-1.0.orig/httpd.el httpd-1.0/httpd.el
+--- httpd-1.0.orig/httpd.el 2005-02-01 01:41:38.000000000 -0600
++++ httpd-1.0/httpd.el 2006-04-26 12:55:47.000000000 -0500
+@@ -44,6 +44,21 @@
+
+ ;;; Code
+
++;; The following top-level form from
++;; http://bugs.gentoo.org/show_bug.cgi?id=125322
++
++(eval-and-compile
++ (unless (fboundp 'open-network-stream-server)
++ (defun open-network-stream-server (proc buff port sentl filtr)
++ "Compatibility function for httpd.el on newer emacsen"
++ (make-network-process :server t
++ :name proc
++ :buffer buff
++ :host "localhost"
++ :service port
++ :sentinel sentl
++ :filter filtr))))
++
+ (defvar httpd-document-root "/var/www")
+
+ (defvar httpd-path-handlers '()
diff --git a/app-emacs/httpd/files/digest-httpd-1.0-r1 b/app-emacs/httpd/files/digest-httpd-1.0-r1
new file mode 100644
index 000000000000..024bc20e56f2
--- /dev/null
+++ b/app-emacs/httpd/files/digest-httpd-1.0-r1
@@ -0,0 +1,3 @@
+MD5 ce522286683934172d947c3da8205882 httpd-1.0.tar.gz 3620
+RMD160 e9896cd8f3bda90a41fc07a81b876beacd5ce12d httpd-1.0.tar.gz 3620
+SHA256 2d5c4de259fc0ef3f513582c88d9eba195c443aa786cc18119709f2dc9b430a6 httpd-1.0.tar.gz 3620