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

[2.0.y][Build] Add g_memdup2() support for glib >= 2.68 #3576

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

myungjoo
Copy link
Member

Update to fix build with glib version 2.68 and later

Legacy function:
gpointer g_memdup ( gconstpointer mem, guint byte_size )
is deprecated since version 2.68 and replaced by:
gpointer g_memdup2 ( gconstpointer mem, gsize byte_size )

Difference is byte_size argument type changed from guint to gsize.

Signed-off-by: Julien Vuillaumier julien.vuillaumier@nxp.com
Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com

This is a hotfix cherry-picking from main --> 2.0.y for #3218 (comment) (@ggardet )

Update to fix build with glib version 2.68 and later

Legacy function:
  gpointer g_memdup ( gconstpointer mem, guint byte_size )
is deprecated since version 2.68 and replaced by:
  gpointer g_memdup2 ( gconstpointer mem, gsize byte_size )

Difference is byte_size argument type changed from guint to gsize.

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
@taos-ci
Copy link
Collaborator

taos-ci commented Nov 25, 2021

📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #3576. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

@taos-ci
Copy link
Collaborator

taos-ci commented Nov 25, 2021

:octocat: cibot: @myungjoo, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer/ci/repo-workers/pr-checker/3576-202111251505120.53139090538025-62768d098f08e56ab5c2f28287f56050ccd29bee/.

@jaeyun-jung jaeyun-jung merged commit eaca989 into nnstreamer:lts/2.0.y Nov 30, 2021
@myungjoo myungjoo deleted the 2.0.y/fix1 branch January 3, 2024 08:02
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.

None yet

5 participants