Package: gtk-led-askpass
Severity: normal

Attached is the patch that I failed to send in the original bug report. 

Thanks for considering it.

Best regards, 

Sebastian Carneiro
[email protected]

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u gtk-led-askpass-0.10/debian/changelog gtk-led-askpass-0.10/debian/changelog
--- gtk-led-askpass-0.10/debian/changelog
+++ gtk-led-askpass-0.10/debian/changelog
@@ -1,3 +1,10 @@
+gtk-led-askpass (0.10-2ubuntu2) oneiric; urgency=low
+
+  * Makefile: moved library parameters passed to ld to the end, 
+    fixing FTBFS when building with ld --as-needed flag. (LP: 770853)
+
+ -- Sebastian Carneiro <[email protected]>  Fri, 08 Jul 2011 12:18:11 -0300
+
 gtk-led-askpass (0.10-2ubuntu1) lucid; urgency=low
 
   * Fix FTBFS caused by "error: format not a string literal and no format
only in patch2:
unchanged:
--- gtk-led-askpass-0.10.orig/Makefile
+++ gtk-led-askpass-0.10/Makefile
@@ -7,7 +7,7 @@
 all: gtk-led-askpass gtk-led-askpass.1.gz
 
 gtk-led-askpass: gtk-led-askpass.o
-	$(CC) $(cflags) $(CFLAGS) $(ldflags) $(LDFLAGS) $< -o $@
+	$(CC) $(cflags) $(CFLAGS) $< -o $@ $(ldflags) $(LDFLAGS)
 
 gtk-led-askpass.o: gtk-led-askpass.c
 	$(CC) $(cflags) $(CFLAGS) -c $< -o $@

Reply via email to