diff options
author | mita <mita@FreeBSD.org> | 2002-01-20 12:00:33 +0000 |
---|---|---|
committer | mita <mita@FreeBSD.org> | 2002-01-20 12:00:33 +0000 |
commit | aca2a1bd4dc92d3255796a35ff98c1cedbf00052 (patch) | |
tree | 7e9ab2b967fd071511839ca38c54be064c403293 /japanese | |
parent | 6f6d99d02d665e48114e331461fb2bfa351a75b5 (diff) | |
download | FreeBSD-ports-aca2a1bd4dc92d3255796a35ff98c1cedbf00052.zip FreeBSD-ports-aca2a1bd4dc92d3255796a35ff98c1cedbf00052.tar.gz |
PR contained also a new file.
PR: ports/33991
Submitted by: tetsushi nakai <tnakai@yo.rim.or.jp>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/xdvik-vflib/files/patch-HTReader.c | 27 | ||||
-rw-r--r-- | japanese/xdvik/files/patch-HTReader.c | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/japanese/xdvik-vflib/files/patch-HTReader.c b/japanese/xdvik-vflib/files/patch-HTReader.c new file mode 100644 index 0000000..96c16d2 --- /dev/null +++ b/japanese/xdvik-vflib/files/patch-HTReader.c @@ -0,0 +1,27 @@ +--- xdvik-22.15/libs/libwww/HTReader.c.orig Tue Jan 19 17:56:33 1999 ++++ xdvik-22.15/libs/libwww/HTReader.c Wed Jan 16 06:36:58 2002 +@@ -60,6 +60,7 @@ + return HT_ERROR; + } + ++#ifdef FIND_SIGNATURE + /* Push data from a socket down a stream + ** ------------------------------------- + ** +@@ -76,7 +77,7 @@ + ** HT_WOULD_BLOCK if read or write would block + ** HT_PAUSE if stream is paused + */ +-char * strnstr(char * haystack, int *pLen, char * needle) ++PRIVATE char * strnstr(char * haystack, int *pLen, char * needle) + { + int found = 0; + int need = strlen(needle); +@@ -94,6 +95,7 @@ + *pLen = 0; + return NULL; + } ++#endif + + /* int DebugBufferSize = INPUT_BUFFER_SIZE; */ + diff --git a/japanese/xdvik/files/patch-HTReader.c b/japanese/xdvik/files/patch-HTReader.c new file mode 100644 index 0000000..96c16d2 --- /dev/null +++ b/japanese/xdvik/files/patch-HTReader.c @@ -0,0 +1,27 @@ +--- xdvik-22.15/libs/libwww/HTReader.c.orig Tue Jan 19 17:56:33 1999 ++++ xdvik-22.15/libs/libwww/HTReader.c Wed Jan 16 06:36:58 2002 +@@ -60,6 +60,7 @@ + return HT_ERROR; + } + ++#ifdef FIND_SIGNATURE + /* Push data from a socket down a stream + ** ------------------------------------- + ** +@@ -76,7 +77,7 @@ + ** HT_WOULD_BLOCK if read or write would block + ** HT_PAUSE if stream is paused + */ +-char * strnstr(char * haystack, int *pLen, char * needle) ++PRIVATE char * strnstr(char * haystack, int *pLen, char * needle) + { + int found = 0; + int need = strlen(needle); +@@ -94,6 +95,7 @@ + *pLen = 0; + return NULL; + } ++#endif + + /* int DebugBufferSize = INPUT_BUFFER_SIZE; */ + |