Add to patch to match "application/PDF".

This commit is contained in:
cube 2004-01-05 16:53:04 +00:00
parent 3d1b1ef267
commit 2bb10d0657
3 changed files with 17 additions and 2 deletions

View file

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.1.1.1 2004/01/02 09:16:33 cube Exp $
# $NetBSD: Makefile,v 1.2 2004/01/05 16:53:04 cube Exp $
#
DISTNAME= ghostscript-viewer-0.6
PKGNAME= sylpheed-claws-${DISTNAME}
PKGREVISION= 1
CATEGORIES= mail news x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sylpheed-claws/}
EXTRACT_SUFX= .tar.bz2

View file

@ -1,4 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2004/01/02 09:16:33 cube Exp $
$NetBSD: distinfo,v 1.2 2004/01/05 16:53:04 cube Exp $
SHA1 (ghostscript-viewer-0.6.tar.bz2) = dede76895d33c9bb120ec372f01165994f11e73a
Size (ghostscript-viewer-0.6.tar.bz2) = 244060 bytes
SHA1 (patch-aa) = 64816218e52857ccc65041e00201c761775343fe

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2004/01/05 16:53:04 cube Exp $
--- src/viewer.c.orig 2003-10-10 13:00:36.000000000 +0200
+++ src/viewer.c
@@ -322,7 +322,7 @@ MimeViewer *ghostscript_viewer_create(vo
}
static gchar *content_types[] =
- {"application/postscript", "application/pdf", NULL};
+ {"application/postscript", "application/pdf", "application/PDF", NULL};
MimeViewerFactory ghostscript_viewer_factory =
{