diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/freenx/nxcompext/nxlib.patch | 13 | ||||
-rw-r--r-- | recipes/freenx/nxcompext_3.4.0-1.bb | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/recipes/freenx/nxcompext/nxlib.patch b/recipes/freenx/nxcompext/nxlib.patch new file mode 100644 index 0000000000..311e51679e --- /dev/null +++ b/recipes/freenx/nxcompext/nxlib.patch @@ -0,0 +1,13 @@ +Index: nxcompext/NXlib.c +=================================================================== +--- nxcompext.orig/NXlib.c ++++ nxcompext/NXlib.c +@@ -56,6 +56,8 @@ + + #include "MD5.h" + ++#define _XGetIOError(dpy) (dpy -> flags & XlibDisplayIOError) ++ + #define PANIC + #define WARNING + #undef TEST diff --git a/recipes/freenx/nxcompext_3.4.0-1.bb b/recipes/freenx/nxcompext_3.4.0-1.bb new file mode 100644 index 0000000000..63be2c4b13 --- /dev/null +++ b/recipes/freenx/nxcompext_3.4.0-1.bb @@ -0,0 +1,22 @@ +LICENSE = "GPL" +DEPENDS = "nxcomp xserver-common libx11 pixman" + +SRC_URI = "http://64.34.161.181/download/3.4.0/sources/${PN}-${PV}.tar.gz \ + file://nxlib.patch \ + " + +CC += "-I${STAGING_INCDIR}/X11 -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/pixman-1" +CXX += "-I${STAGING_INCDIR}/X11 -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/pixman-1" + +SRC_URI[md5sum] = "605a8e2a136f89477f0059a0d2af4582" +SRC_URI[sha256sum] = "75be77fe0cdc3aca21afd0b72590d600b131b849b8e65926c237c3d87dd1160e" + +S = "${WORKDIR}/${PN}" + +inherit autotools + +do_install () { + oe_runmake "bindir=${D}${bindir}" \ + "man1dir=${D}${mandir}" \ + install +} |