Package: wmii
Version: 3.6+debian-4
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

Hi,

Your package currently fails to build in Ubuntu, and sid, due to
changes in the libixp API. The most expedient way I found to fix this
was define IXP_NEEDAPI to 88, lower than the change which is causing
the trouble. Attached is a patch to do this. Please consider applying
it.

Upstream has re-written the file in hg, so it apparently uses the
updated API now.

Thanks,

James

MAKE all cmd/wmii/
make[3]: Entering directory `/tmp/buildd/wmii-3.6+debian/cmd/wmii'
CC cmd/wmii/area.o
CC cmd/wmii/bar.o
CC cmd/wmii/client.o
CC cmd/wmii/column.o
CC cmd/wmii/event.o
CC cmd/wmii/frame.o
CC cmd/wmii/fs.o
cmd/wmii/fs.c:175: error: 'Fcall' has no member named 'offset'
cmd/wmii/fs.c:178: error: 'Fcall' has no member named 'offset'
cmd/wmii/fs.c:179: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:180: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:181: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:182: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:182: error: 'Fcall' has no member named 'offset'
cmd/wmii/fs.c:183: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:191: error: 'Fcall' has no member named 'offset'
cmd/wmii/fs.c:192: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:193: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:197: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:208: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:209: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:219: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:220: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:224: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:225: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:240: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:253: warning: pointer targets in passing argument 1 of
'ixp_message' differ in signedness
cmd/wmii/fs.c:266: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:267: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:491: error: 'Fcall' has no member named 'qid'
cmd/wmii/fs.c:502: error: 'Fcall' has no member named 'nwname'
cmd/wmii/fs.c:503: error: 'Fcall' has no member named 'wname'
cmd/wmii/fs.c:510: error: 'Fcall' has no member named 'wname'
cmd/wmii/fs.c:514: error: 'Fcall' has no member named 'wname'
cmd/wmii/fs.c:519: error: 'Fcall' has no member named 'wqid'
cmd/wmii/fs.c:520: error: 'Fcall' has no member named 'wqid'
cmd/wmii/fs.c:523: error: 'Fcall' has no member named 'nwname'
cmd/wmii/fs.c:532: error: 'Fcall' has no member named 'fid'
cmd/wmii/fs.c:532: error: 'Fcall' has no member named 'newfid'
cmd/wmii/fs.c:541: error: 'Fcall' has no member named 'nwqid'
cmd/wmii/fs.c:580: error: 'Fcall' has no member named 'nstat'
cmd/wmii/fs.c:583: warning: pointer targets in passing argument 1 of
'ixp_message' differ in signedness
cmd/wmii/fs.c:586: error: 'Fcall' has no member named 'stat'
cmd/wmii/fs.c:609: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:611: warning: pointer targets in passing argument 1 of
'ixp_message' differ in signedness
cmd/wmii/fs.c:618: error: 'Fcall' has no member named 'offset'
cmd/wmii/fs.c:630: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:631: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:668: error: 'Fcall' has no member named 'offset'
cmd/wmii/fs.c:672: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:673: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:673: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:706: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:729: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:732: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:737: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:738: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:744: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:744: error: 'Fcall' has no member named 'offset'
cmd/wmii/fs.c:749: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:754: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:759: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:763: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:763: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:764: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:764: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:766: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:766: error: 'Fcall' has no member named 'data'
cmd/wmii/fs.c:767: error: 'Fcall' has no member named 'count'
cmd/wmii/fs.c:796: error: 'Fcall' has no member named 'mode'
cmd/wmii/fs.c:800: error: 'Fcall' has no member named 'mode'
cmd/wmii/fs.c:804: error: 'Fcall' has no member named 'mode'
cmd/wmii/fs.c:808: error: 'Fcall' has no member named 'mode'
cmd/wmii/fs.c:824: error: 'Fcall' has no member named 'name'
cmd/wmii/fs.c:828: error: 'Fcall' has no member named 'name'
cmd/wmii/fs.c:829: error: 'Fcall' has no member named 'name'
cmd/wmii/fs.c:834: error: 'Fcall' has no member named 'qid'
cmd/wmii/fs.c:835: error: 'Fcall' has no member named 'qid'
cmd/wmii/fs.c:895: warning: pointer targets in passing argument 1 of
'ixp_message' differ in signedness
make[3]: *** [fs.o] Error 1
make[3]: Leaving directory `/tmp/buildd/wmii-3.6+debian/cmd/wmii'
make[2]: *** [dall] Error 2
make[2]: Leaving directory `/tmp/buildd/wmii-3.6+debian/cmd'
make[1]: *** [dall] Error 2
make[1]: Leaving directory `/tmp/buildd/wmii-3.6+debian'
make: *** [build-stamp] Error 2
diff -u wmii-3.6+debian/debian/changelog wmii-3.6+debian/debian/changelog
diff -u wmii-3.6+debian/debian/patches/00list 
wmii-3.6+debian/debian/patches/00list
--- wmii-3.6+debian/debian/patches/00list
+++ wmii-3.6+debian/debian/patches/00list
@@ -4,0 +5 @@
+05-ixp-api.dpatch
only in patch2:
unchanged:
--- wmii-3.6+debian.orig/debian/patches/05-ixp-api.dpatch
+++ wmii-3.6+debian/debian/patches/05-ixp-api.dpatch
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05-ixp-api.dpatch by  <james.wes...@canonical.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+...@dpatch@
+diff -urNad wmii-3.6+debian~/cmd/wmii/dat.h wmii-3.6+debian/cmd/wmii/dat.h
+--- wmii-3.6+debian~/cmd/wmii/dat.h    2007-11-16 13:59:15.000000000 +0000
++++ wmii-3.6+debian/cmd/wmii/dat.h     2009-01-15 21:39:17.000000000 +0000
+@@ -5,6 +5,7 @@
+ #define _XOPEN_SOURCE 600
+ #define IXP_P9_STRUCTS
+ #define IXP_NO_P9_
++#define IXP_NEEDAPI 88
+ #include <regexp9.h>
+ #include <stdint.h>
+ #include <ixp.h>
+diff -urNad wmii-3.6+debian~/cmd/wmiir.c wmii-3.6+debian/cmd/wmiir.c
+--- wmii-3.6+debian~/cmd/wmiir.c       2007-11-16 13:59:15.000000000 +0000
++++ wmii-3.6+debian/cmd/wmiir.c        2009-01-15 21:39:35.000000000 +0000
+@@ -3,6 +3,7 @@
+  */
+ #define IXP_NO_P9_
+ #define IXP_P9_STRUCTS
++#define IXP_NEEDAPI 88
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>

Reply via email to