Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376259 - dev-libs/libunique-1.1.6: please fix unique_message_data_get_filename and G_CONST_RETURN issues
Summary: dev-libs/libunique-1.1.6: please fix unique_message_data_get_filename and G_C...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://git.overlays.gentoo.org/gitweb...
Whiteboard:
Keywords:
Depends on:
Blocks: 384779
  Show dependency tree
 
Reported: 2011-07-24 19:30 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-10-20 22:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-07-24 19:30:05 UTC
Please add two patches for dev-libs/libunique-1.1.6 that I have added to the gnome-next branch of the gnome overlay (see http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=c7dfc27147455e0ec8f9396e52b91263fd7dfce8):

1. libunique-1.1.6-unique_message_data_get_filename-off-by-1.patch - fix an off-by-one in g_memdup usage. Taken from upstream git, unique-1.1 branch.

2. libunique-1.1.6-G_CONST_RETURN.patch - fixes building against glib-2.29.x by removing G_CONST_RETURN. Technically, this could also be solved by removing G_DISABLE_DEPRECATED from unique/Makefile.*, but then we would need to verify that all packages depending on libunique don't have G_DISABLE_DEPRECATED on, which would be a pain.
Comment 1 Pacho Ramos gentoo-dev 2011-07-25 15:18:02 UTC
+*libunique-1.1.6-r1 (25 Jul 2011)
+
+  25 Jul 2011; Pacho Ramos <pacho@gentoo.org> +libunique-1.1.6-r1.ebuild,
+  +files/libunique-1.1.6-G_CONST_RETURN.patch,
+  +files/libunique-1.1.6-compiler-warnings.patch,
+  +files/libunique-1.1.6-fix-test.patch,
+  +files/libunique-1.1.6-include-terminator.patch, -libunique-3.0.0.ebuild:
+  Include upstream patches committed to 1.1 branch and backport by tetromino
+  for working ok with latest glib-2.29.x (bug #376259 by Alexandre Rostovtsev).
+  Remove old.
+