| Summary: | net-misc/memcached: ALLOW_SLABS_REASSIGN USE flag | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | werner maier <werner> |
| Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
ebuild and necessary file for the files/ directory as tgz.
diff to memcached-1.2.6.ebuild needed file for files/-section in portage |
||
|
Description
werner maier
2009-05-07 13:44:27 UTC
Created attachment 190621 [details]
ebuild and necessary file for the files/ directory as tgz.
the metadata.xml file might need to be patched:
<use>
<flag name="slabsreassign">define ALLOW_SLABS_REASSIGN</flag>
</use>
Please do NOT attach tarballs. There are security concerns in opening untrusted binary data on Bugzilla, additionally, it's a pain to do quick review in a web browser that is possible with diffs. Please re-attach as non-tarball. Individual files, diffs where possible > Please do NOT attach tarballs. There are security concerns [...]
> additionally, it's a pain to do quick review [...]
sorry about that.
Created attachment 190708 [details, diff]
diff to memcached-1.2.6.ebuild
adds a patch if use flag is given
Created attachment 190710 [details]
needed file for files/-section in portage
That patch is a yucky way of doing it. Here's a better one-liner for the ebuild: use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN > That patch is a yucky way of doing it. it was the best I knew :) > Here's a better one-liner for the ebuild: > use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN hey - nice day. learned something :) if done like this
> > Here's a better one-liner for the ebuild:
> > use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN
then a
inherit flag-o-matic
must also be added, else it won't be used.
btw: just discovered:
this won't compile with gcc-4.1+, but it compiles with gcc-3.3.5 (yes, I know it is ages old).
I'll file a bug at the memcached issue tracker.
In 1.3.3-r1 now. |