Skip to content
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

gperf: fix PR #5835. Correct patch file name and apply patches #6254

Merged
merged 2 commits into from
Jul 10, 2021

Conversation

wdobbe
Copy link
Contributor

@wdobbe wdobbe commented Jul 9, 2021

…rce() method

Specify library name and version: gperf/3.1

PR #5835 added a patch to remove a register keyword. However the patch is never applied because:

  1. The name of the patch file in conandata.yml is wrong (looks like copy/paste error).
  2. The patch is never applied because the code to do so is missing in the source() method of conanfile.py.

I compiled gperf 3.1 successfully with clang12 (that uses C++17 by default) with this PR.


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@ghost
Copy link

ghost commented Jul 9, 2021

I detected other pull requests that are modifying gperf/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@wdobbe
Copy link
Contributor Author

wdobbe commented Jul 9, 2021

This PR might be obsoleted by PR #6226.

@wdobbe wdobbe closed this Jul 9, 2021
@wdobbe wdobbe reopened this Jul 9, 2021
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Comment on lines 33 to 34
for patch in self.conan_data.get("patches", {}).get(self.version, []):
tools.patch(**patch)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move the patching to the start of the build method.

@conan-center-bot
Copy link
Collaborator

All green in build 4 (13388afdefe72a96824245cfa8d4da8ade106760):

  • gperf/3.1@:
    All packages built successfully! (All logs)

@SSE4 SSE4 requested a review from uilianries July 10, 2021 17:35
@conan-center-bot conan-center-bot merged commit 087dcb5 into conan-io:master Jul 10, 2021
AndreyMlashkin pushed a commit to AndreyMlashkin/conan-center-index that referenced this pull request Jul 19, 2021
…and apply patches

* gperf: fix PR conan-io#5835. Correct patch file name and apply patches in source() method

* gperf: implement feedback from PR conan-io#6254, move patch code to build method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants