Ticket #38609: couchdb-devel.38609.1.patch

File couchdb-devel.38609.1.patch, 5.2 KB (added by jeff@…, 12 years ago)
  • Portfile

     
    66
    77name                    couchdb-devel
    88conflicts               couchdb
    9 version                 1.4.0a-20130227
    10 revision                2
     9version                 1.4.0a-20130330
    1110
    1211categories              databases
    1312platforms               darwin
     
    2524
    2625fetch.type              git
    2726git.url                 https://git-wip-us.apache.org/repos/asf/couchdb.git
    28 git.branch              5917dd80bce470f38b9b83bde46666324487a9b1
     27git.branch              97505126c90469e7588272d0eec451b93159cd9a
    2928
    3029depends_build           port:automake \
    3130                        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
    414@@ -17,6 +17,7 @@
    515 mochiwebebindir = $(localerlanglibdir)/mochiweb-1.4.1/ebin
    616 
     
    2636 %.beam: %.erl
    2737-       $(ERLC) $(ERLC_FLAGS) $<
    2838+       $(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
    3241@@ -13,6 +13,8 @@
    3342 -author('bob@mochimedia.com').
    3443 -export([get_value/2]).
     
    3847 get_value(Key, Rec) when is_tuple(Rec) and is_atom(element(1, Rec)) ->
    3948     try begin
    4049             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
    4452@@ -7,6 +7,8 @@
    4553 -author('bob@mochimedia.com').
    4654 -export([format/2, get_value/2, format_field/2, get_field/2, convert_field/2]).
     
    5058 format(Format, Args) ->
    5159     mochifmt:format(Format, Args, THIS).
    5260 
    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
    5663@@ -23,6 +23,8 @@
    5764 -export([accepted_encodings/1]).
    5865 -export([accepts_content_type/1]).
     
    6269 -define(SAVE_QS, mochiweb_request_qs).
    6370 -define(SAVE_PATH, mochiweb_request_path).
    6471 -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
    6874@@ -11,6 +11,8 @@
    6975 -export([get_header_value/1, get/1, dump/0]).
    7076 -export([send/1, write_chunk/1]).
     
    7480 %% @spec get_header_value(string() | atom() | binary()) -> string() | undefined
    7581 %% @doc Get the value of the given response header.
    7682 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
    8085@@ -0,0 +1,463 @@
    8186+%%
    8287+%% %CopyrightBegin%