diff options
Diffstat (limited to 'debian/patches/gnome-ssh-askpass2-link.patch')
-rw-r--r-- | debian/patches/gnome-ssh-askpass2-link.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/gnome-ssh-askpass2-link.patch b/debian/patches/gnome-ssh-askpass2-link.patch new file mode 100644 index 000000000..6b9909641 --- /dev/null +++ b/debian/patches/gnome-ssh-askpass2-link.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Description: Use x11.pc when compiling/linking gnome-ssh-askpass2 | ||
2 | This fixes linking with binutils-gold. | ||
3 | Author: Colin Watson <cjwatson@debian.org> | ||
4 | Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1725 | ||
5 | Bug-Debian: http://bugs.debian.org/555951 | ||
6 | Last-Update: 2010-03-01 | ||
7 | |||
8 | Index: b/contrib/Makefile | ||
9 | =================================================================== | ||
10 | --- a/contrib/Makefile | ||
11 | +++ b/contrib/Makefile | ||
12 | @@ -7,9 +7,9 @@ | ||
13 | `gnome-config --libs gnome gnomeui` | ||
14 | |||
15 | gnome-ssh-askpass2: gnome-ssh-askpass2.c | ||
16 | - $(CC) `pkg-config --cflags gtk+-2.0` \ | ||
17 | + $(CC) `pkg-config --cflags gtk+-2.0 x11` \ | ||
18 | gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \ | ||
19 | - `pkg-config --libs gtk+-2.0` | ||
20 | + `pkg-config --libs gtk+-2.0 x11` | ||
21 | |||
22 | clean: | ||
23 | rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass | ||