Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52213 Details for
Bug 81231
PyPanel 2.2 is out
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pypanel-2.2-amd64-compatibility.patch
pypanel-2.2-amd64-compatibility.patch (text/plain), 1.03 KB, created by
Przemyslaw Maciag (RETIRED)
on 2005-02-26 18:51:25 UTC
(
hide
)
Description:
pypanel-2.2-amd64-compatibility.patch
Filename:
MIME Type:
Creator:
Przemyslaw Maciag (RETIRED)
Created:
2005-02-26 18:51:25 UTC
Size:
1.03 KB
patch
obsolete
>diff -Naur PyPanel-2.2.orig/ppmodule.c PyPanel-2.2/ppmodule.c >--- PyPanel-2.2.orig/ppmodule.c 2005-02-02 00:23:14.000000000 +0000 >+++ PyPanel-2.2/ppmodule.c 2005-02-26 19:20:09.000000000 +0000 >@@ -22,6 +22,7 @@ > #include <X11/Xlib.h> > #include <X11/Xutil.h> > #include <Imlib2.h> >+#include <dlfcn.h> > > typedef unsigned long CARD32; > >@@ -229,6 +230,7 @@ > static PyObject * _ppinit(PyObject *self, PyObject *args) { > /*--------------------------------------------------------*/ > Window panel; >+ void *handle; > XGCValues gcv; > char *font, *icon; > Imlib_Load_Error rc; >@@ -246,6 +248,13 @@ > imlib_context_set_visual(DefaultVisual(dsp, scr)); > imlib_context_set_colormap(DefaultColormap(dsp, scr)); > imlib_context_set_dither(1); >+ >+ /* Attempt to call dlopen from C rather than Python */ >+ handle = dlopen("/usr/lib/libImlib2.so", RTLD_NOW|RTLD_GLOBAL); >+ >+ if (!handle) { >+ printf("dlopen failed: %s\n", dlerror()); >+ } > > dflt_icon = imlib_load_image_with_error_return(icon, &rc); > if (!dflt_icon)
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 81231
: 52213 |
52214