-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pkg : libcoap : Update libcoap version #740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| From b3ef68af33cb65f36666a416b71d7eb768715eca Mon Sep 17 00:00:00 2001 | ||
| From: Martin Lenders <mail@martin-lenders.de> | ||
| Date: Thu, 31 Oct 2013 13:36:10 +0100 | ||
| Subject: [PATCH 1/4] Add RIOT Makefile | ||
|
|
||
| --- | ||
| Makefile | 5 +++++ | ||
| 1 file changed, 5 insertions(+) | ||
| create mode 100644 Makefile | ||
|
|
||
| diff --git a/Makefile b/Makefile | ||
| new file mode 100644 | ||
| index 0000000..f90baa1 | ||
| --- /dev/null | ||
| +++ b/Makefile | ||
| @@ -0,0 +1,5 @@ | ||
| +MODULE:=$(shell basename $(CURDIR)) | ||
| +INCLUDES += -I$(RIOTBASE) -I$(RIOTBASE)/sys/include -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/drivers/cc110x_ng/include -I$(RIOTBASE)/cpu/arm_common/include -I$(RIOTBASE)/sys/net/destiny/include -I$(RIOTBASE)/sys/net/sixlowpan/include/ -I$(RIOTBASE)/sys/net/ieee802154/include -I$(RIOTBASE)/sys/net/net_help -I$(RIOTBASE)/sys/posix/include -I$(RIOTBASE)/sys/posix/pnet/include | ||
| +CFLAGS += -DWITH_POSIX | ||
| + | ||
| +include $(RIOTBASE)/Makefile.base | ||
| -- | ||
| 1.8.3.2 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,150 @@ | ||
| From 8be22676f13bd7d254378e2c04119e1632ed55d7 Mon Sep 17 00:00:00 2001 | ||
| From: Martin Lenders <mail@martin-lenders.de> | ||
| Date: Thu, 31 Oct 2013 14:02:07 +0100 | ||
| Subject: [PATCH 2/4] Add config.h | ||
|
|
||
| --- | ||
| config.h | 131 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
| 1 file changed, 131 insertions(+) | ||
| create mode 100644 config.h | ||
|
|
||
| diff --git a/config.h b/config.h | ||
| new file mode 100644 | ||
| index 0000000..8915dd3 | ||
| --- /dev/null | ||
| +++ b/config.h | ||
| @@ -0,0 +1,131 @@ | ||
| +/* config.h. Generated from config.h.in by configure. */ | ||
| +/* config.h.in. Generated from configure.in by autoheader. */ | ||
| + | ||
| +/* Define if building universal (internal helper macro) */ | ||
| +/* #undef AC_APPLE_UNIVERSAL_BUILD */ | ||
| + | ||
| +/* Define to 1 if you have the <arpa/inet.h> header file. */ | ||
| +#define HAVE_ARPA_INET_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <assert.h> header file. */ | ||
| +#define HAVE_ASSERT_H 1 | ||
| + | ||
| +/* Define to 1 if you have the `getaddrinfo' function. */ | ||
| +/* #undef HAVE_GETADDRINFO */ | ||
| + | ||
| +/* Define to 1 if you have the <inttypes.h> header file. */ | ||
| +#define HAVE_INTTYPES_H 1 | ||
| + | ||
| +/* Define to 1 if you have the `coap' library (-lcoap). */ | ||
| +/* #undef HAVE_LIBCOAP */ | ||
| + | ||
| +/* Define to 1 if you have the <limits.h> header file. */ | ||
| +/* #undef HAVE_LIMITS_H */ | ||
| + | ||
| +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and | ||
| + to 0 otherwise. */ | ||
| +#define HAVE_MALLOC 0 | ||
| + | ||
| +/* Define to 1 if you have the <memory.h> header file. */ | ||
| +/* #undef HAVE_MEMORY_H */ | ||
| + | ||
| +/* Define to 1 if you have the `memset' function. */ | ||
| +#define HAVE_MEMSET 1 | ||
| + | ||
| +/* Define to 1 if you have the <netdb.h> header file. */ | ||
| +/* #undef HAVE_NETDB_H */ | ||
| + | ||
| +/* Define to 1 if you have the <netinet/in.h> header file. */ | ||
| +#define HAVE_NETINET_IN_H 1 | ||
| + | ||
| +/* Define to 1 if you have the `select' function. */ | ||
| +/* #undef HAVE_SELECT */ | ||
| + | ||
| +/* Define to 1 if you have the `socket' function. */ | ||
| +#define HAVE_SOCKET 1 | ||
| + | ||
| +/* Define to 1 if you have the <stdint.h> header file. */ | ||
| +#define HAVE_STDINT_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <stdlib.h> header file. */ | ||
| +#define HAVE_STDLIB_H 1 | ||
| + | ||
| +/* Define to 1 if you have the `strcasecmp' function. */ | ||
| +#define HAVE_STRCASECMP 1 | ||
| + | ||
| +/* Define to 1 if you have the <strings.h> header file. */ | ||
| +#define HAVE_STRINGS_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <string.h> header file. */ | ||
| +#define HAVE_STRING_H 1 | ||
| + | ||
| +/* Define to 1 if you have the `strnlen' function. */ | ||
| +#define HAVE_STRNLEN 1 | ||
| + | ||
| +/* Define to 1 if you have the `strrchr' function. */ | ||
| +#define HAVE_STRRCHR 1 | ||
| + | ||
| +/* Define to 1 if you have the <sys/socket.h> header file. */ | ||
| +#define HAVE_SYS_SOCKET_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
| +/* #undef HAVE_SYS_STAT_H */ | ||
| + | ||
| +/* Define to 1 if you have the <sys/time.h> header file. */ | ||
| +#define HAVE_SYS_TIME_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <sys/types.h> header file. */ | ||
| +#define HAVE_SYS_TYPES_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <sys/unistd.h> header file. */ | ||
| +#define HAVE_SYS_UNISTD_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <time.h> header file. */ | ||
| +#define HAVE_TIME_H 1 | ||
| + | ||
| +/* Define to 1 if you have the <unistd.h> header file. */ | ||
| +#define HAVE_UNISTD_H 1 | ||
| + | ||
| +/* Define to the address where bug reports for this package should be sent. */ | ||
| +#define PACKAGE_BUGREPORT "" | ||
| + | ||
| +/* Define to the full name of this package. */ | ||
| +#define PACKAGE_NAME "libcoap" | ||
| + | ||
| +/* Define to the full name and version of this package. */ | ||
| +#define PACKAGE_STRING "libcoap 4.1.1" | ||
| + | ||
| +/* Define to the one symbol short name of this package. */ | ||
| +#define PACKAGE_TARNAME "libcoap" | ||
| + | ||
| +/* Define to the home page for this package. */ | ||
| +#define PACKAGE_URL "" | ||
| + | ||
| +/* Define to the version of this package. */ | ||
| +#define PACKAGE_VERSION "4.1.1" | ||
| + | ||
| +/* Define to 1 if you have the ANSI C header files. */ | ||
| +#define STDC_HEADERS 1 | ||
| + | ||
| +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most | ||
| + significant byte first (like Motorola and SPARC, unlike Intel). */ | ||
| +#if defined AC_APPLE_UNIVERSAL_BUILD | ||
| +# if defined __BIG_ENDIAN__ | ||
| +# define WORDS_BIGENDIAN 1 | ||
| +# endif | ||
| +#else | ||
| +# ifndef WORDS_BIGENDIAN | ||
| +/* # undef WORDS_BIGENDIAN */ | ||
| +# endif | ||
| +#endif | ||
| + | ||
| +/* Define to rpl_malloc if the replacement function should be used. */ | ||
| +/* #undef malloc */ | ||
| + | ||
| +/* Define to `unsigned int' if <sys/types.h> does not define. */ | ||
| +/* #undef size_t */ | ||
| + | ||
| +/* Define to `int' if <sys/types.h> does not define. */ | ||
| +/* #undef ssize_t */ | ||
| + | ||
| +#define WITH_POSIX 1 | ||
| -- | ||
| 1.8.3.2 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've allowed myself to smuggle in this little change, since #576 seemed to forgot about that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you make a PR on its own out of that diff, then we can fast track it.
Maybe you could add spaces in the next line, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👎 (from @mehlis)