Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 fbi (2.07-10) unstable; urgency=low
 .
   * Build-depend on libpng-dev (Closes: #662321)
   * Bump standards version
Author: Moritz Muehlenhoff <jmm@debian.org>
Bug-Debian: http://bugs.debian.org/662321

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- fbi-2.07.orig/GNUmakefile
+++ fbi-2.07/GNUmakefile
@@ -37,7 +37,7 @@ HAVE_NEW_EXIF	:= $(call ac_header,libexi
 HAVE_GLIBC	:= $(call ac_func,fopencookie)
 HAVE_STRCASESTR	:= $(call ac_func,strcasestr)
 HAVE_LIBPCD	:= $(call ac_lib,pcd_open,pcd)
-HAVE_LIBUNGIF	:= $(call ac_lib,DGifOpenFileName,ungif)
+HAVE_LIBUNGIF	:= $(call ac_lib,DGifOpenFileName,gif)
 HAVE_LIBPNG	:= $(call ac_lib,png_read_info,png,-lz)
 HAVE_LIBTIFF	:= $(call ac_lib,TIFFOpen,tiff)
 #HAVE_LIBMAGICK	:= $(call ac_binary,Magick-config)
@@ -76,7 +76,7 @@ fbi_libs	= PCD UNGIF PNG TIFF CURL LIRC
 PNG_LDLIBS	:= -lpng -lz
 TIFF_LDLIBS	:= -ltiff
 PCD_LDLIBS	:= -lpcd
-UNGIF_LDLIBS	:= -lungif
+UNGIF_LDLIBS	:= -lgif
 SANE_LDLIBS	:= -lsane
 CURL_LDLIBS	:= -lcurl
 LIRC_LDLIBS     := -llirc_client
--- fbi-2.07.orig/Make.config
+++ fbi-2.07/Make.config
@@ -1,4 +1,4 @@
-LIB		:= lib
+-e LIB		:= lib
 RESDIR		:= /etc/X11
 HAVE_ENDIAN_H	:= yes
 HAVE_LINUX_FB_H	:= yes
