summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild')
-rw-r--r--net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild b/net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild
index 8c8b9b14585e..82d8b7ee2b30 100644
--- a/net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild
+++ b/net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild,v 1.5 2006/11/12 04:54:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/gnome-cups-manager-0.31-r1.ebuild,v 1.6 2006/11/16 21:45:42 genstef Exp $
inherit eutils gnome2 flag-o-matic
@@ -49,6 +49,11 @@ src_unpack() {
mkdir ${WORKDIR}/ubuntu
cd ${WORKDIR}/ubuntu
cp -r ${S}/{po,ChangeLog,gnome-cups-manager} .
+ # Remove the ubuntu functions that require external
+ # scripts fixing bug 147972 (removes LAN browsing detection)
+ sed -i \
+ -e '/^---.*ui_browse_share_ctl.patch/,/^---/{/^---.*ui_browse_share_ctl.patch/!d;}' \
+ ${WORKDIR}/gnome-cups-manager_0.31-1.1ubuntu14.diff
epatch ${WORKDIR}/gnome-cups-manager_0.31-1.1ubuntu14.diff
# gksudo does not always work
sed -i "s:gksudo:gksu:" debian/patches/change-su-command.patch