Subject: pkg/18640: graphics/gdk-pixbuf/patches/patch-aa won't apply cleanly on Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 10/13/2002 12:27:44
>Number:         18640
>Category:       pkg
>Synopsis:       graphics/gdk-pixbuf/patches/patch-aa won't apply cleanly on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 13 03:29:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        SunOS 5.9
>Organization:
>Environment:
>Description:

graphics/gdk-pixbuf/patches/patch-aa won't apply cleanly on Solaris due to
missing newline in original file.  althought it does on NetBSD.

>How-To-Repeat:

try to build graphics/gdk-pixbuf on Solaris machine

>Fix:

variant A:  remove newline from the last line of graphics/gdk-pixbuf/patches/patch-aa

variant B:  apply the following patch

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/gdk-pixbuf/Makefile.common,v
retrieving revision 1.28
diff -u -r1.28 Makefile.common
--- Makefile.common	2 Oct 2002 22:08:44 -0000	1.28
+++ Makefile.common	13 Oct 2002 10:20:31 -0000
@@ -25,6 +25,10 @@
 DISTINFO_FILE=		${.CURDIR}/../gdk-pixbuf/distinfo
 PATCHDIR=		${.CURDIR}/../gdk-pixbuf/patches
 
+# Add missing newline to make patch happy on Solaris
+pre-patch:
+	${ECHO} >> ${WRKSRC}/gdk-pixbuf/pixops/Makefile.am
+
 pre-configure:
 	cd ${WRKSRC};							\
 	${ACLOCAL};							\
>Release-Note:
>Audit-Trail:
>Unformatted: