# ChangeLog for net-misc/linux-igd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/ChangeLog,v 1.17 2007/02/27 10:13:54 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/ChangeLog,v 1.18 2007/02/27 16:56:46 gurligebis Exp $
+
+ 27 Feb 2007; Bjarke Istrup Pedersen <gurligebis@gentoo.org> linux-igd-1.0-r1.ebuild,
+ +files/makefile-fix-1.0.diff:
+ Added patch to fix some compiler warnings.
27 Feb 2007; Bjarke Istrup Pedersen <gurligebis@gentoo.org> linux-igd-1.0-r1.ebuild:
Added ~amd64 keyword.
--- /dev/null
+--- Makefile 2007-02-27 16:49:24.000000000 +0000
++++ Makefile 2007-02-27 16:52:56.000000000 +0000
+@@ -27,7 +27,7 @@ upnpd: $(FILES)
+ @echo "make $@ finished on `date`"
+
+ %.o: %.c
+- $(CC) $(CFLAGS) $(INCLUDES) -c $<
++ $(CC) $(CFLAGS) $(INCLUDES) -D_GNU_SOURCE -c $<
+
+ clean:
+ rm -f *.o upnpd
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/linux-igd-1.0-r1.ebuild,v 1.3 2007/02/27 10:13:54 gurligebis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/linux-igd-1.0-r1.ebuild,v 1.4 2007/02/27 16:56:46 gurligebis Exp $
+inherit eutils
DESCRIPTION="Deamon that emulates Microsoft's Internet Connection Sharing (ICS)
for UPnP-aware clients"
HOMEPAGE="http://linux-igd.sourceforge.net"
S=${WORKDIR}/linuxigd-${PV}
src_compile() {
- sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" \
- -e "s|/usr/bin|${D}/usr/bin|" Makefile
+ epatch ${FILESDIR}/makefile-fix-${PVR}.diff
+ sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" -e "s|/usr/bin|${D}/usr/bin|" Makefile
sed -i -e "s|/etc/upnpd.conf|/etc/linuxigd/upnpd.conf|" globals.h
emake || die "compile failed"