diff --git a/devel/libsml/Makefile b/devel/libsml/Makefile index 1628dbd23afe..c7488b23ecf4 100644 --- a/devel/libsml/Makefile +++ b/devel/libsml/Makefile @@ -3,6 +3,7 @@ PORTNAME= libsml PORTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= mail+freebsd@gerritbeine.de diff --git a/devel/libsml/files/patch-test_src_sml__boolean__test.c b/devel/libsml/files/patch-test_src_sml__boolean__test.c new file mode 100644 index 000000000000..c5b17d9b3870 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__boolean__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_boolean_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_boolean_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_boolean); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_boolean) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__buffer__test.c b/devel/libsml/files/patch-test_src_sml__buffer__test.c new file mode 100644 index 000000000000..895889ec2957 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__buffer__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_buffer_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_buffer_test.c +@@ -22,7 +22,7 @@ + TEST_GROUP(sml_buffer); + + int buffer_len = 512; +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_buffer) { + buf = sml_buffer_init(buffer_len); diff --git a/devel/libsml/files/patch-test_src_sml__file__test.c b/devel/libsml/files/patch-test_src_sml__file__test.c new file mode 100644 index 000000000000..6e7d6ff3943e --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__file__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_file_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_file_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_file); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_file) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__get__profile__pack__request__test.c b/devel/libsml/files/patch-test_src_sml__get__profile__pack__request__test.c new file mode 100644 index 000000000000..418e5437f0c4 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__get__profile__pack__request__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_get_profile_pack_request_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_get_profile_pack_request_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_get_profile_pack_request); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_get_profile_pack_request) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__list__test.c b/devel/libsml/files/patch-test_src_sml__list__test.c new file mode 100644 index 000000000000..4589ed24eae8 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__list__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_list_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_list_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_list); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_list) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__message__test.c b/devel/libsml/files/patch-test_src_sml__message__test.c new file mode 100644 index 000000000000..350e11d856ea --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__message__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_message_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_message_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_message); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_message) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__number__test.c b/devel/libsml/files/patch-test_src_sml__number__test.c new file mode 100644 index 000000000000..7490d325fb3e --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__number__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_number_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_number_test.c +@@ -23,7 +23,7 @@ + + TEST_GROUP(sml_number); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_number) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__octet__string__test.c b/devel/libsml/files/patch-test_src_sml__octet__string__test.c new file mode 100644 index 000000000000..7a04b288b365 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__octet__string__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_octet_string_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_octet_string_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_octet_string); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_octet_string) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__open__request__test.c b/devel/libsml/files/patch-test_src_sml__open__request__test.c new file mode 100644 index 000000000000..457f49056244 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__open__request__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_open_request_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_open_request_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_open_request); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_open_request) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__status__test.c b/devel/libsml/files/patch-test_src_sml__status__test.c new file mode 100644 index 000000000000..220a3093b477 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__status__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_status_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_status_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_status); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_status) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__time__test.c b/devel/libsml/files/patch-test_src_sml__time__test.c new file mode 100644 index 000000000000..372129b47e82 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__time__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_time_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_time_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_time); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_time) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__tree__test.c b/devel/libsml/files/patch-test_src_sml__tree__test.c new file mode 100644 index 000000000000..19c5e1bf071a --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__tree__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_tree_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_tree_test.c +@@ -23,7 +23,7 @@ + + TEST_GROUP(sml_tree); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_tree) { + buf = sml_buffer_init(512); diff --git a/devel/libsml/files/patch-test_src_sml__value__test.c b/devel/libsml/files/patch-test_src_sml__value__test.c new file mode 100644 index 000000000000..9ddd7af48f57 --- /dev/null +++ b/devel/libsml/files/patch-test_src_sml__value__test.c @@ -0,0 +1,11 @@ +--- test/src/sml_value_test.c.orig 2018-01-25 17:04:21 UTC ++++ test/src/sml_value_test.c +@@ -22,7 +22,7 @@ + + TEST_GROUP(sml_value); + +-sml_buffer *buf; ++extern sml_buffer *buf; + + TEST_SETUP(sml_value) { + buf = sml_buffer_init(512);