summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-14 18:00:19 +0000
committerChris Larson <clarson@kergoth.com>2003-10-14 18:00:19 +0000
commit6c8f3a3dbfa05db632848a62156c00ecc7f8e560 (patch)
tree7dcde7c2908e5bf3c9e701af0e0d11f7f265afff
parentb5db8182558fbd4ddf6d8da6185fdbe1dc6df898 (diff)
zcip: compile fix, and correct a char signedness assumption -- same bug as in tmdns.
BKrev: 3f8c39b3l6PGKhgZCcbglwU7U2tXIQ
-rw-r--r--zcip/zcip-4.oe18
-rw-r--r--zcip/zcip-4/char-signed-idiocy.patch0
-rw-r--r--zcip/zcip-4/linux-types.patch0
3 files changed, 18 insertions, 0 deletions
diff --git a/zcip/zcip-4.oe b/zcip/zcip-4.oe
index e69de29bb2..6116ed3967 100644
--- a/zcip/zcip-4.oe
+++ b/zcip/zcip-4.oe
@@ -0,0 +1,18 @@
+DEPENDS = virtual/libc libpcap libnet-1.0.2a
+RDEPENDS = libc6
+
+SRC_URI := ${SOURCEFORGE_MIRROR}/zeroconf/zcip-4.tar.gz \
+ file://${FILESDIR}/compile.patch;patch=1 \
+ file://${FILESDIR}/linux-types.patch;patch=1 \
+ file://${FILESDIR}/char-signed-idiocy.patch;patch=1
+S := ${WORKDIR}/${P}
+
+CPPFLAGS_append = " -DLIBNET_LIL_ENDIAN"
+do_compile () {
+ oe_runmake 'LIBS=${STAGING_LIBDIR}/libpcap.a ${STAGING_LIBDIR}/libnet.a'
+}
+
+do_install () {
+ install -d ${D}/${sbindir}
+ install -m 0744 make-arp zcip ${D}/${sbindir}/
+}
diff --git a/zcip/zcip-4/char-signed-idiocy.patch b/zcip/zcip-4/char-signed-idiocy.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/zcip/zcip-4/char-signed-idiocy.patch
diff --git a/zcip/zcip-4/linux-types.patch b/zcip/zcip-4/linux-types.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/zcip/zcip-4/linux-types.patch