Ticket #38609: couchdb-devel.38609.1.patch
File couchdb-devel.38609.1.patch, 5.2 KB (added by jeff@…, 12 years ago) |
---|
-
Portfile
6 6 7 7 name couchdb-devel 8 8 conflicts couchdb 9 version 1.4.0a-20130227 10 revision 2 9 version 1.4.0a-20130330 11 10 12 11 categories databases 13 12 platforms darwin … … 25 24 26 25 fetch.type git 27 26 git.url https://git-wip-us.apache.org/repos/asf/couchdb.git 28 git.branch 5917dd80bce470f38b9b83bde46666324487a9b127 git.branch 97505126c90469e7588272d0eec451b93159cd9a 29 28 30 29 depends_build port:automake \ 31 30 port:autoconf \ -
files/patch-parameterized-modules-r16b-bug.38395.patch
1 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/Makefile.am ./src/mochiweb/Makefile.am 2 --- ../couchdb-5917dd8-orig/src/mochiweb/Makefile.am 2013-02-27 16:06:51.000000000 -0600 3 +++ ./src/mochiweb/Makefile.am 2013-03-17 01:44:16.000000000 -0500 1 --- ../couchdb-devel-1.4.0a-20130327.orig/configure.ac 2013-03-29 09:37:24.000000000 -0500 2 +++ ./configure.ac 2013-03-29 09:37:56.000000000 -0500 3 @@ -420,7 +420,7 @@ 4 as_fn_error $? "$erlang_version_error" "$LINENO" 5 5 fi 6 7 -if test $minor_version -lt 7 -o $minor_version -gt 9; then 8 +if test $minor_version -lt 7; then 9 as_fn_error $? "$erlang_version_error" "$LINENO" 5 10 fi 11 12 --- ../couchdb-devel-1.4.0a-20130327.orig/src/mochiweb/Makefile.am 2013-03-29 09:37:24.000000000 -0500 13 +++ ./src/mochiweb/Makefile.am 2013-03-29 09:37:33.000000000 -0500 4 14 @@ -17,6 +17,7 @@ 5 15 mochiwebebindir = $(localerlanglibdir)/mochiweb-1.4.1/ebin 6 16 … … 26 36 %.beam: %.erl 27 37 - $(ERLC) $(ERLC_FLAGS) $< 28 38 + $(ERLC) $(ERLC_FLAGS) -pa . $< 29 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_records.erl ./src/mochiweb/mochifmt_records.erl 30 --- ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_records.erl 2013-02-27 16:06:51.000000000 -0600 31 +++ ./src/mochiweb/mochifmt_records.erl 2013-03-17 01:43:55.000000000 -0500 39 --- ../couchdb-devel-1.4.0a-20130327.orig/src/mochiweb/mochifmt_records.erl 2013-03-29 09:37:24.000000000 -0500 40 +++ ./src/mochiweb/mochifmt_records.erl 2013-03-29 09:37:33.000000000 -0500 32 41 @@ -13,6 +13,8 @@ 33 42 -author('bob@mochimedia.com'). 34 43 -export([get_value/2]). … … 38 47 get_value(Key, Rec) when is_tuple(Rec) and is_atom(element(1, Rec)) -> 39 48 try begin 40 49 Atom = list_to_existing_atom(Key), 41 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_std.erl ./src/mochiweb/mochifmt_std.erl 42 --- ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_std.erl 2013-02-27 16:06:51.000000000 -0600 43 +++ ./src/mochiweb/mochifmt_std.erl 2013-03-17 01:43:55.000000000 -0500 50 --- ../couchdb-devel-1.4.0a-20130327.orig/src/mochiweb/mochifmt_std.erl 2013-03-29 09:37:24.000000000 -0500 51 +++ ./src/mochiweb/mochifmt_std.erl 2013-03-29 09:37:33.000000000 -0500 44 52 @@ -7,6 +7,8 @@ 45 53 -author('bob@mochimedia.com'). 46 54 -export([format/2, get_value/2, format_field/2, get_field/2, convert_field/2]). … … 50 58 format(Format, Args) -> 51 59 mochifmt:format(Format, Args, THIS). 52 60 53 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_request.erl ./src/mochiweb/mochiweb_request.erl 54 --- ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_request.erl 2013-02-27 16:06:51.000000000 -0600 55 +++ ./src/mochiweb/mochiweb_request.erl 2013-03-17 01:43:55.000000000 -0500 61 --- ../couchdb-devel-1.4.0a-20130327.orig/src/mochiweb/mochiweb_request.erl 2013-03-29 09:37:24.000000000 -0500 62 +++ ./src/mochiweb/mochiweb_request.erl 2013-03-29 09:37:33.000000000 -0500 56 63 @@ -23,6 +23,8 @@ 57 64 -export([accepted_encodings/1]). 58 65 -export([accepts_content_type/1]). … … 62 69 -define(SAVE_QS, mochiweb_request_qs). 63 70 -define(SAVE_PATH, mochiweb_request_path). 64 71 -define(SAVE_RECV, mochiweb_request_recv). 65 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_response.erl ./src/mochiweb/mochiweb_response.erl 66 --- ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_response.erl 2013-02-27 16:06:51.000000000 -0600 67 +++ ./src/mochiweb/mochiweb_response.erl 2013-03-17 01:43:55.000000000 -0500 72 --- ../couchdb-devel-1.4.0a-20130327.orig/src/mochiweb/mochiweb_response.erl 2013-03-29 09:37:24.000000000 -0500 73 +++ ./src/mochiweb/mochiweb_response.erl 2013-03-29 09:37:33.000000000 -0500 68 74 @@ -11,6 +11,8 @@ 69 75 -export([get_header_value/1, get/1, dump/0]). 70 76 -export([send/1, write_chunk/1]). … … 74 80 %% @spec get_header_value(string() | atom() | binary()) -> string() | undefined 75 81 %% @doc Get the value of the given response header. 76 82 get_header_value(K) -> 77 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/pmod_pt.erl ./src/mochiweb/pmod_pt.erl 78 --- ../couchdb-5917dd8-orig/src/mochiweb/pmod_pt.erl 1969-12-31 18:00:00.000000000 -0600 79 +++ ./src/mochiweb/pmod_pt.erl 2013-03-17 01:43:55.000000000 -0500 83 --- ../couchdb-devel-1.4.0a-20130327.orig/src/mochiweb/pmod_pt.erl 1969-12-31 18:00:00.000000000 -0600 84 +++ ./src/mochiweb/pmod_pt.erl 2013-03-29 09:37:33.000000000 -0500 80 85 @@ -0,0 +1,463 @@ 81 86 +%% 82 87 +%% %CopyrightBegin%