Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a75ba5771e3b5b7521dae5dbc2be75d135b3a09a

commit a75ba5771e3b5b7521dae5dbc2be75d135b3a09a
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Fri Sep 28 18:12:38 2007 +0200

dhcdbd-3.0-1-i686
version bump
added a patch to compile with our dbus
(idea from http://avahi.org/changeset/1518?format=diff&new=1518)

diff --git a/source/network-extra/dhcdbd/FrugalBuild 
b/source/network-extra/dhcdbd/FrugalBuild
index e9d30de..5f02c76 100644
--- a/source/network-extra/dhcdbd/FrugalBuild
+++ b/source/network-extra/dhcdbd/FrugalBuild
@@ -2,17 +2,19 @@
# Maintainer: AlexExtreme <[EMAIL PROTECTED]>

pkgname=dhcdbd
-pkgver=2.8
+pkgver=3.0
pkgrel=1
pkgdesc="DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS, 
stores and presents DHCP options"
-url="http://people.redhat.com/dcantrel/dhcdbd/";
+url="http://dcantrel.fedorapeople.org/dhcdbd/";
depends=('dbus>=1.0.2' 'dhclient')
groups=('network-extra')
archs=('i686' 'x86_64')
-up2date="lynx -dump http://dcantrel.fedorapeople.org/dhcdbd/| grep '$pkgname' 
| Flasttarbz2"
-source=($url/$pkgname-$pkgver.tar.bz2 rc.dhcdbd rc.dhcdbd-hu.po)
-sha1sums=('d0ab01d5f6f64479b5c22ccefa725fe691cb4e34' \
+up2date="lynx -dump $url| grep '$pkgname' | Flasttarbz2"
+source=($url/$pkgname-$pkgver.tar.bz2 rc.dhcdbd rc.dhcdbd-hu.po \
+       dhcdbd-3.0-dbus.patch)
+sha1sums=('e00dd158d63a7f0e77ec8bbe4455c75fcea71c11' \
'd0812b8bfe81ebc90ed14f0f0e62d0126db6628a' \
-          '172e785bdc67183d074f608c7cea3e90914c0652')
+          '172e785bdc67183d074f608c7cea3e90914c0652' \
+          '47bbda2dd2dab5c448f87449271670a6d1153fe4')

# optimization OK
diff --git a/source/network-extra/dhcdbd/dhcdbd-3.0-dbus.patch 
b/source/network-extra/dhcdbd/dhcdbd-3.0-dbus.patch
new file mode 100644
index 0000000..8efce50
--- /dev/null
+++ b/source/network-extra/dhcdbd/dhcdbd-3.0-dbus.patch
@@ -0,0 +1,15 @@
+--- dhcdbd-3.0/src/dbus_service.c.orig 2007-09-28 18:09:03.000000000 +0200
++++ dhcdbd-3.0/src/dbus_service.c      2007-09-28 18:10:58.000000000 +0200
+@@ -33,6 +33,12 @@
+
+ #include "dbus_service.h"
+
++#if (DBUS_VERSION_MAJOR == 1 && DBUS_VERSION_MINOR == 1 && DBUS_VERSION_MICRO 
>= 1) || (DBUS_VERSION_MAJOR == 1 && DBUS_VERSION_MAJOR > 1) || 
(DBUS_VERSION_MAJOR > 1)
++#define dbus_watch_get_unix_fd dbus_watch_get_unix_fd
++#else
++#define dbus_watch_get_unix_fd dbus_watch_get_fd
++#endif
++
+ typedef struct dbcs_s {
+     DBusConnection *connection;
+     DBusDispatchStatus dispatchStatus;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to