mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Fix build with -fno-common
This commit is contained in:
parent
13b5682cc6
commit
b2c27e0dc5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549570
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= libsml
|
||||
PORTVERSION= 0.1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= mail+freebsd@gerritbeine.de
|
||||
|
11
devel/libsml/files/patch-test_src_sml__boolean__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__boolean__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__buffer__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__buffer__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__file__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__file__test.c
Normal file
@ -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);
|
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__list__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__list__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__message__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__message__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__number__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__number__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__octet__string__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__octet__string__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__open__request__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__open__request__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__status__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__status__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__time__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__time__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__tree__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__tree__test.c
Normal file
@ -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);
|
11
devel/libsml/files/patch-test_src_sml__value__test.c
Normal file
11
devel/libsml/files/patch-test_src_sml__value__test.c
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user