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

patch0: Avoid multiple definitions of the verbose variable #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

speidy
Copy link

@speidy speidy commented Sep 5, 2022

This makes gcc 11.2.0 on Ubuntu 22.04 to fail the build as a result of
multiple definitions of this variable.
We now define it once in unsquashfs.c and extern it in error.h header file.

This makes gcc 11.2.0 on Ubuntu 22.04 to fail the build as a result of
multiple definitions of this variable.
We now define it once in unsquashfs.c and extern it in error.h header file.
@@ -38724,3 +38728,2821 @@ diff --strip-trailing-cr -NBbaur squashfs-tools/unsquashfs.c squashfs-tools-patc
ERROR("\nDecompressors available:\n");
display_compressors("", "");
}
diff --color --strip-trailing-cr -NBbaur squashfs-tools/unsquashfs.c.orig squashfs-tools-patched/unsquashfs.c.orig
Copy link

@TannerFilip TannerFilip Dec 4, 2022

Choose a reason for hiding this comment

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

I'm guessing this isn't all supposed to be here? Otherwise this worked fine for me.

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.

2 participants