aboutsummaryrefslogtreecommitdiffstats
path: root/community/w3m/file_handle.patch
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-11-27 21:02:56 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2016-11-28 19:12:13 +0000
commit3eca8a6ac59d3c27af76c7823868221204af1054 (patch)
treec21bb6485badb75018e909396c3e8e7c4369b7aa /community/w3m/file_handle.patch
parent4d4d5bc002981d8d33111bba7a132970f9368464 (diff)
downloadaports-3eca8a6ac59d3c27af76c7823868221204af1054.tar.bz2
aports-3eca8a6ac59d3c27af76c7823868221204af1054.tar.xz
community/w3m: switch to debian fork (0.5.3.20161120)
Diffstat (limited to 'community/w3m/file_handle.patch')
-rw-r--r--community/w3m/file_handle.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/community/w3m/file_handle.patch b/community/w3m/file_handle.patch
deleted file mode 100644
index 15422294f9..0000000000
--- a/community/w3m/file_handle.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff -Naur old/istream.c new/istream.c
---- old/istream.c 2011-01-04 20:22:22.000000000 +1100
-+++ new/istream.c 2012-07-04 21:50:51.529661517 +1000
-@@ -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 file_handle_rofl *handle);
-+static int file_read(struct file_handle_rofl *handle, char *buf, int len);
-
- static int str_read(Str handle, char *buf, int len);
-
-@@ -114,7 +114,7 @@
- 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 file_handle_rofl);
- stream->file.handle->f = f;
- if (closep)
- stream->file.handle->close = closep;
-@@ -658,13 +658,13 @@
- }
-
- static void
--file_close(struct file_handle *handle)
-+file_close(struct file_handle_rofl *handle)
- {
- handle->close(handle->f);
- }
-
- static int
--file_read(struct file_handle *handle, char *buf, int len)
-+file_read(struct file_handle_rofl *handle, char *buf, int len)
- {
- return fread(buf, 1, len, handle->f);
- }
-diff -Naur old/istream.h new/istream.h
---- old/istream.h 2003-10-21 02:41:56.000000000 +1000
-+++ new/istream.h 2012-07-04 21:50:51.529661517 +1000
-@@ -20,7 +20,7 @@
-
- typedef struct stream_buffer *StreamBuffer;
-
--struct file_handle {
-+struct file_handle_rofl {
- FILE *f;
- void (*close) ();
- };
-@@ -53,7 +53,7 @@
-
- struct file_stream {
- struct stream_buffer stream;
-- struct file_handle *handle;
-+ struct file_handle_rofl *handle;
- char type;
- char iseos;
- int (*read) ();