-
Notifications
You must be signed in to change notification settings - Fork 7.5k
libdotconf: init at 1.4.1 #51126
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
libdotconf: init at 1.4.1 #51126
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| diff --git a/src/Makefile.am b/src/Makefile.am | ||
| index dd99233..8463e1f 100644 | ||
| --- a/src/Makefile.am | ||
| +++ b/src/Makefile.am | ||
| @@ -1,6 +1,6 @@ | ||
| lib_LTLIBRARIES = libdotconf.la | ||
| libdotconf_la_CFLAGS = $(WARNING_CFLAGS) | ||
| -libdotconf_la_LDFLAGS = -version-info $(DC_CURRENT):$(DC_REVISION):$(DC_AGE) | ||
| +libdotconf_la_LDFLAGS = -no-undefined -version-info $(DC_CURRENT):$(DC_REVISION):$(DC_AGE) | ||
| libdotconf_la_SOURCES = dotconf.c \ | ||
| dotconf.h \ | ||
| dotconf_priv.h \ |
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,26 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO williamh/dotconf | ||
| REF ed5c5a1707ed55b45904f875f6b25ce9076f4fa6 | ||
| SHA512 06cd30eda123839e73793f397a9393d975968584ba15773f63eb984650c86bcbd7ceb0d20421a02e8f79a9c7b9a0ffd3c6f4dcc24eec613a3bf1b1e270df4bdd | ||
| HEAD_REF master | ||
| PATCHES | ||
| remove-docs-and-examples.patch | ||
| no-undefined.patch | ||
| ) | ||
| vcpkg_make_configure( | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| AUTORECONF | ||
| OPTIONS | ||
| ac_cv_func_malloc_0_nonnull=yes | ||
| ac_cv_func_realloc_0_nonnull=yes | ||
| ac_cv_func_strtod=yes | ||
|
ethindp marked this conversation as resolved.
|
||
| WARNING_CFLAGS= | ||
| ) | ||
| vcpkg_make_install() | ||
| vcpkg_fixup_pkgconfig() | ||
| file(REMOVE_RECURSE | ||
| "${CURRENT_PACKAGES_DIR}/debug/include" | ||
| "${CURRENT_PACKAGES_DIR}/debug/share" | ||
| ) | ||
| vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") | ||
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,9 @@ | ||
| diff --git a/Makefile.am b/Makefile.am | ||
| --- a/Makefile.am | ||
| +++ b/Makefile.am | ||
| @@ -1,4 +1,4 @@ | ||
| -SUBDIRS = doc examples src | ||
| +SUBDIRS = src | ||
|
|
||
| pkgconfigdir = $(libdir)/pkgconfig | ||
| pkgconfig_DATA = dotconf.pc |
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,14 @@ | ||
| { | ||
| "name": "libdotconf", | ||
| "version": "1.4.1", | ||
| "description": "dot.conf configuration file parser", | ||
| "homepage": "https://github.com/williamh/dotconf", | ||
| "license": "LGPL-2.1-only", | ||
| "supports": "!uwp & !xbox", | ||
| "dependencies": [ | ||
| { | ||
| "name": "vcpkg-make", | ||
| "host": true | ||
| } | ||
| ] | ||
| } |
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,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "2966c8a18463fc435695ad54c3be674ea2fab012", | ||
| "version": "1.4.1", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
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.
FTR the skipped checks are normally try-run configuration tests and a barrier for crossbuilds. They test whether these function return a valid pointer when called for zero (aka "compatible with GNU libc").
Answering "yes" means to either know the target platform, or to know that code does not rely on this particular property.
https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Particular-Functions.html