Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 376259

Summary: dev-libs/libunique-1.1.6: please fix unique_message_data_get_filename and G_CONST_RETURN issues
Product: Gentoo Linux Reporter: Alexandre Rostovtsev (RETIRED) <tetromino>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=c7dfc27147455e0ec8f9396e52b91263fd7dfce8
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 384779    

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.
+