Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166573 Details for
Bug 176380
sys-apps/hal-0.5.9-r1 won't start for ppc64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the patch
0001-Fix-issue-on-64bit-big-endian-architectures.patch.txt (text/plain), 1.10 KB, created by
Markus Rothe (RETIRED)
on 2008-09-27 11:22:01 UTC
(
hide
)
Description:
the patch
Filename:
MIME Type:
Creator:
Markus Rothe (RETIRED)
Created:
2008-09-27 11:22:01 UTC
Size:
1.10 KB
patch
obsolete
>From 4e44e6ee79de160c70a1dc38dddbf4623f6a7965 Mon Sep 17 00:00:00 2001 >From: root <root@powerstation.mrothe.de> >Date: Sat, 27 Sep 2008 13:04:02 +0200 >Subject: [PATCH] Fix issue on 64bit big endian architectures. > >--- > hald/create_cache.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/hald/create_cache.c b/hald/create_cache.c >index d52f834..6903688 100644 >--- a/hald/create_cache.c >+++ b/hald/create_cache.c >@@ -305,15 +305,17 @@ static void remember_jump_position(struct fdi_context *fdi_ctx) > static void set_jump_position(struct fdi_context *fdi_ctx) > { > off_t offset; >+ u_int32_t offset32; > > if (fdi_ctx->depth <= 0) > DIE(("Rule depth underrun")); > > fdi_ctx->depth--; > offset = RULES_ROUND(lseek(fdi_ctx->cache_fd, 0, SEEK_END)); >+ offset32 = (u_int32_t)offset; > pad32_write(fdi_ctx->cache_fd, > fdi_ctx->match_at_depth[fdi_ctx->depth] + offsetof(struct rule, jump_position), >- &offset, sizeof(fdi_ctx->rule.jump_position)); >+ &offset32, sizeof(fdi_ctx->rule.jump_position)); > > if (haldc_verbose) > HAL_INFO(("modify rule=0x%08x, set jump to 0x%08x", >-- >1.6.0.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176380
:
117603
|
118457
|
118459
|
118506
|
165302
|
165304
|
166572
| 166573