aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/070_glibc2.14.patch
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-01-24 14:36:40 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-01-24 14:37:05 +0000
commit8595cb4102d547388d0d9e699d10a14f8f7aa71c (patch)
treecd27e4b710769000b651b9af4db2704a1cd328dd /debian/patches/070_glibc2.14.patch
parentUpdate Vcs-Browser (diff)
downloadw3m-8595cb4102d547388d0d9e699d10a14f8f7aa71c.tar.gz
w3m-8595cb4102d547388d0d9e699d10a14f8f7aa71c.zip
Integrate Debian changes into 020_debian.patch (closes: #776112)
(debian/patches/*.patch except 010_upstream.patch are merged)
Diffstat (limited to '')
-rw-r--r--debian/patches/070_glibc2.14.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/debian/patches/070_glibc2.14.patch b/debian/patches/070_glibc2.14.patch
deleted file mode 100644
index 25e480a..0000000
--- a/debian/patches/070_glibc2.14.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-Description: Unbreak compilation with eglibc 2.14
-Author: Reinhard Tartler <siretart@tauware.de>
-Origin: Ubuntu
-Bug-Ubuntu: https://launchpad.net/bugs/935540
-
---- w3m-0.5.3.orig/istream.c
-+++ w3m-0.5.3/istream.c
-@@ -22,8 +22,8 @@
- static void basic_close(int *handle);
- static int basic_read(int *handle, char *buf, int len);
-
--static void file_close(struct file_handle *handle);
--static int file_read(struct file_handle *handle, char *buf, int len);
-+static void file_close(struct io_file_handle *handle);
-+static int file_read(struct io_file_handle *handle, char *buf, int len);
-
- static int str_read(Str handle, char *buf, int len);
-
-@@ -114,7 +114,7 @@ newFileStream(FILE * f, void (*closep) (
- stream = New(union input_stream);
- init_base_stream(&stream->base, STREAM_BUF_SIZE);
- stream->file.type = IST_FILE;
-- stream->file.handle = New(struct file_handle);
-+ stream->file.handle = New(struct io_file_handle);
- stream->file.handle->f = f;
- if (closep)
- stream->file.handle->close = closep;
-@@ -658,13 +658,13 @@ basic_read(int *handle, char *buf, int l
- }
-
- static void
--file_close(struct file_handle *handle)
-+file_close(struct io_file_handle *handle)
- {
- handle->close(handle->f);
- }
-
- static int
--file_read(struct file_handle *handle, char *buf, int len)
-+file_read(struct io_file_handle *handle, char *buf, int len)
- {
- return fread(buf, 1, len, handle->f);
- }
---- w3m-0.5.3.orig/istream.h
-+++ w3m-0.5.3/istream.h
-@@ -20,7 +20,7 @@ struct stream_buffer {
-
- typedef struct stream_buffer *StreamBuffer;
-
--struct file_handle {
-+struct io_file_handle {
- FILE *f;
- void (*close) ();
- };
-@@ -53,7 +53,7 @@ struct base_stream {
-
- struct file_stream {
- struct stream_buffer stream;
-- struct file_handle *handle;
-+ struct io_file_handle *handle;
- char type;
- char iseos;
- int (*read) ();