Ticket #38395: couchdb-and-couchdb-devel.38395.2.patch
File couchdb-and-couchdb-devel.38395.2.patch, 8.3 KB (added by jeff@…, 12 years ago) |
---|
-
couchdb/Portfile
7 7 name couchdb 8 8 conflicts couchdb-devel 9 9 version 1.2.1 10 revision 210 revision 3 11 11 categories databases 12 12 platforms darwin 13 13 license Apache-2 -
couchdb/files/patch-parameterized-modules-r16b-bug.38395.patch
1 1 diff -ruN ../apache-couchdb-1.2.1-orig/src/etap/Makefile.in ./src/etap/Makefile.in 2 2 --- ../apache-couchdb-1.2.1-orig/src/etap/Makefile.in 2012-12-20 15:28:49.000000000 -0600 3 +++ ./src/etap/Makefile.in 2013-03-1 6 11:10:15.000000000 -05003 +++ ./src/etap/Makefile.in 2013-03-17 01:46:46.000000000 -0500 4 4 @@ -109,7 +109,7 @@ 5 5 ERL = @ERL@ 6 6 ERLANG_FLAGS = @ERLANG_FLAGS@ … … 26 26 etap.beam \ 27 27 etap_application.beam \ 28 28 etap_can.beam \ 29 @@ -486,6 +488,7 @@ 30 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ 31 uninstall uninstall-am uninstall-etapebinDATA 32 33 +etap_request.beam : pmod_pt.beam 34 35 %.beam: %.erl 36 $(ERLC) $(ERLC_FLAGS) $< 29 37 diff -ruN ../apache-couchdb-1.2.1-orig/src/etap/etap_request.erl ./src/etap/etap_request.erl 30 38 --- ../apache-couchdb-1.2.1-orig/src/etap/etap_request.erl 2012-12-20 15:24:07.000000000 -0600 31 +++ ./src/etap/etap_request.erl 2013-03-1 6 10:47:54.000000000 -050039 +++ ./src/etap/etap_request.erl 2013-03-17 01:46:16.000000000 -0500 32 40 @@ -33,6 +33,8 @@ 33 41 body_has_string/2 34 42 ]). … … 40 48 41 49 diff -ruN ../apache-couchdb-1.2.1-orig/src/etap/pmod_pt.erl ./src/etap/pmod_pt.erl 42 50 --- ../apache-couchdb-1.2.1-orig/src/etap/pmod_pt.erl 1969-12-31 18:00:00.000000000 -0600 43 +++ ./src/etap/pmod_pt.erl 2013-03-1 6 11:08:17.000000000 -050051 +++ ./src/etap/pmod_pt.erl 2013-03-17 01:46:16.000000000 -0500 44 52 @@ -0,0 +1,463 @@ 45 53 +%% 46 54 +%% %CopyrightBegin% … … 507 515 + []. 508 516 diff -ruN ../apache-couchdb-1.2.1-orig/src/mochiweb/Makefile.in ./src/mochiweb/Makefile.in 509 517 --- ../apache-couchdb-1.2.1-orig/src/mochiweb/Makefile.in 2012-12-20 15:28:49.000000000 -0600 510 +++ ./src/mochiweb/Makefile.in 2013-03-1 6 11:16:07.000000000 -0500518 +++ ./src/mochiweb/Makefile.in 2013-03-17 01:46:16.000000000 -0500 511 519 @@ -109,7 +109,7 @@ 512 520 ERL = @ERL@ 513 521 ERLANG_FLAGS = @ERLANG_FLAGS@ … … 519 527 FLAGS = @FLAGS@ 520 528 diff -ruN ../apache-couchdb-1.2.1-orig/src/mochiweb/mochifmt_records.erl ./src/mochiweb/mochifmt_records.erl 521 529 --- ../apache-couchdb-1.2.1-orig/src/mochiweb/mochifmt_records.erl 2012-12-20 15:24:07.000000000 -0600 522 +++ ./src/mochiweb/mochifmt_records.erl 2013-03-1 6 11:13:48.000000000 -0500530 +++ ./src/mochiweb/mochifmt_records.erl 2013-03-17 01:46:16.000000000 -0500 523 531 @@ -13,6 +13,8 @@ 524 532 -author('bob@mochimedia.com'). 525 533 -export([get_value/2]). … … 531 539 Atom = list_to_existing_atom(Key), 532 540 diff -ruN ../apache-couchdb-1.2.1-orig/src/mochiweb/mochifmt_std.erl ./src/mochiweb/mochifmt_std.erl 533 541 --- ../apache-couchdb-1.2.1-orig/src/mochiweb/mochifmt_std.erl 2012-12-20 15:24:07.000000000 -0600 534 +++ ./src/mochiweb/mochifmt_std.erl 2013-03-1 6 11:14:31.000000000 -0500542 +++ ./src/mochiweb/mochifmt_std.erl 2013-03-17 01:46:16.000000000 -0500 535 543 @@ -7,6 +7,8 @@ 536 544 -author('bob@mochimedia.com'). 537 545 -export([format/2, get_value/2, format_field/2, get_field/2, convert_field/2]). … … 543 551 544 552 diff -ruN ../apache-couchdb-1.2.1-orig/src/mochiweb/mochiweb_request.erl ./src/mochiweb/mochiweb_request.erl 545 553 --- ../apache-couchdb-1.2.1-orig/src/mochiweb/mochiweb_request.erl 2012-12-20 15:24:07.000000000 -0600 546 +++ ./src/mochiweb/mochiweb_request.erl 2013-03-1 6 11:15:19.000000000 -0500554 +++ ./src/mochiweb/mochiweb_request.erl 2013-03-17 01:46:16.000000000 -0500 547 555 @@ -23,6 +23,8 @@ 548 556 -export([accepted_encodings/1]). 549 557 -export([accepts_content_type/1]). … … 555 563 -define(SAVE_RECV, mochiweb_request_recv). 556 564 diff -ruN ../apache-couchdb-1.2.1-orig/src/mochiweb/mochiweb_response.erl ./src/mochiweb/mochiweb_response.erl 557 565 --- ../apache-couchdb-1.2.1-orig/src/mochiweb/mochiweb_response.erl 2012-12-20 15:24:07.000000000 -0600 558 +++ ./src/mochiweb/mochiweb_response.erl 2013-03-1 6 11:15:32.000000000 -0500566 +++ ./src/mochiweb/mochiweb_response.erl 2013-03-17 01:46:16.000000000 -0500 559 567 @@ -11,6 +11,8 @@ 560 568 -export([get_header_value/1, get/1, dump/0]). 561 569 -export([send/1, write_chunk/1]). -
couchdb-devel/Portfile
7 7 name couchdb-devel 8 8 conflicts couchdb 9 9 version 1.4.0a-20130227 10 revision 210 revision 3 11 11 12 12 categories databases 13 13 platforms darwin -
couchdb-devel/files/patch-parameterized-modules-r16b-bug.38395.patch
1 1 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/Makefile.am ./src/mochiweb/Makefile.am 2 2 --- ../couchdb-5917dd8-orig/src/mochiweb/Makefile.am 2013-02-27 16:06:51.000000000 -0600 3 +++ ./src/mochiweb/Makefile.am 2013-03-1 6 13:20:40.000000000 -05003 +++ ./src/mochiweb/Makefile.am 2013-03-17 01:44:16.000000000 -0500 4 4 @@ -17,6 +17,7 @@ 5 5 mochiwebebindir = $(localerlanglibdir)/mochiweb-1.4.1/ebin 6 6 … … 17 17 mochifmt.beam \ 18 18 mochifmt_records.beam \ 19 19 mochifmt_std.beam \ 20 @@ -107,4 +109,4 @@ 20 @@ -106,5 +108,7 @@ 21 mochijson2.beam: mochijson2.erl 21 22 $(ERLC) $(ERLC_FLAGS) $(MOCHIJSON_ERLC_FLAGS) $< 22 23 24 +mochifmt_records.beam mochifmt_std.beam mochiweb_request.beam mochiweb_response.beam: pmod_pt.beam 25 + 23 26 %.beam: %.erl 24 27 - $(ERLC) $(ERLC_FLAGS) $< 25 28 + $(ERLC) $(ERLC_FLAGS) -pa . $< 26 29 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_records.erl ./src/mochiweb/mochifmt_records.erl 27 30 --- ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_records.erl 2013-02-27 16:06:51.000000000 -0600 28 +++ ./src/mochiweb/mochifmt_records.erl 2013-03-1 6 13:23:15.000000000 -050031 +++ ./src/mochiweb/mochifmt_records.erl 2013-03-17 01:43:55.000000000 -0500 29 32 @@ -13,6 +13,8 @@ 30 33 -author('bob@mochimedia.com'). 31 34 -export([get_value/2]). … … 37 40 Atom = list_to_existing_atom(Key), 38 41 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_std.erl ./src/mochiweb/mochifmt_std.erl 39 42 --- ../couchdb-5917dd8-orig/src/mochiweb/mochifmt_std.erl 2013-02-27 16:06:51.000000000 -0600 40 +++ ./src/mochiweb/mochifmt_std.erl 2013-03-1 6 13:23:15.000000000 -050043 +++ ./src/mochiweb/mochifmt_std.erl 2013-03-17 01:43:55.000000000 -0500 41 44 @@ -7,6 +7,8 @@ 42 45 -author('bob@mochimedia.com'). 43 46 -export([format/2, get_value/2, format_field/2, get_field/2, convert_field/2]). … … 49 52 50 53 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_request.erl ./src/mochiweb/mochiweb_request.erl 51 54 --- ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_request.erl 2013-02-27 16:06:51.000000000 -0600 52 +++ ./src/mochiweb/mochiweb_request.erl 2013-03-1 6 13:23:15.000000000 -050055 +++ ./src/mochiweb/mochiweb_request.erl 2013-03-17 01:43:55.000000000 -0500 53 56 @@ -23,6 +23,8 @@ 54 57 -export([accepted_encodings/1]). 55 58 -export([accepts_content_type/1]). … … 61 64 -define(SAVE_RECV, mochiweb_request_recv). 62 65 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_response.erl ./src/mochiweb/mochiweb_response.erl 63 66 --- ../couchdb-5917dd8-orig/src/mochiweb/mochiweb_response.erl 2013-02-27 16:06:51.000000000 -0600 64 +++ ./src/mochiweb/mochiweb_response.erl 2013-03-1 6 13:23:15.000000000 -050067 +++ ./src/mochiweb/mochiweb_response.erl 2013-03-17 01:43:55.000000000 -0500 65 68 @@ -11,6 +11,8 @@ 66 69 -export([get_header_value/1, get/1, dump/0]). 67 70 -export([send/1, write_chunk/1]). … … 73 76 get_header_value(K) -> 74 77 diff -ruN ../couchdb-5917dd8-orig/src/mochiweb/pmod_pt.erl ./src/mochiweb/pmod_pt.erl 75 78 --- ../couchdb-5917dd8-orig/src/mochiweb/pmod_pt.erl 1969-12-31 18:00:00.000000000 -0600 76 +++ ./src/mochiweb/pmod_pt.erl 2013-03-1 6 13:19:00.000000000 -050079 +++ ./src/mochiweb/pmod_pt.erl 2013-03-17 01:43:55.000000000 -0500 77 80 @@ -0,0 +1,463 @@ 78 81 +%% 79 82 +%% %CopyrightBegin%