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
reprepro 5.4.4 #171471
base: master
Are you sure you want to change the base?
reprepro 5.4.4 #171471
Conversation
32d156f
to
1c6a66e
Compare
Signed-off-by: Rui Chen <rui@chenrui.dev> autobump: add reprepro Signed-off-by: Rui Chen <rui@chenrui.dev> reprepro: add upstream patch pr ref Signed-off-by: Rui Chen <rui@chenrui.dev>
1c6a66e
to
55bb623
Compare
# Replace strcmp2 with strcmp for consistent string comparison | ||
# upstream patch PR, https://salsa.debian.org/debian/reprepro/-/merge_requests/10 | ||
patch do | ||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/5426d605c0d6b6bf4c2e315fed7a991f447caf1a/reprepro/5.4.4-strcmp2.patch" | ||
sha256 "cf1aacf08960cb89896a739086d170417820fe894044d0f446b4ff303a1182e5" | ||
end |
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 don't think the patch is correct; it seems likely to result in UB: https://salsa.debian.org/debian/reprepro/-/blob/21a227f5fb380672ba022d47628895d2f023bde9/globals.h#L97
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.
yeah, I thought the same thing, I will debug a bit today.
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.
Maybe it's just missing an
include "globals.h"
somewhere?
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?