diff options
author | danw <danw> | 2003-09-27 21:05:22 +0000 |
---|---|---|
committer | danw <danw> | 2003-09-27 21:05:22 +0000 |
commit | 83d844b54c100db1506b9d4bad8d7e648355c338 (patch) | |
tree | d3886405f06807cdb8d3d730ed7b305bc56513dc /print/libgnomeprint | |
parent | 3249ad8d1d61b44eba7a9dd5156539b320fd4daa (diff) | |
download | pkgsrc-83d844b54c100db1506b9d4bad8d7e648355c338.tar.gz |
patches for darwin
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r-- | print/libgnomeprint/Makefile | 8 | ||||
-rw-r--r-- | print/libgnomeprint/distinfo | 4 | ||||
-rw-r--r-- | print/libgnomeprint/patches/patch-aa | 14 | ||||
-rw-r--r-- | print/libgnomeprint/patches/patch-ab | 17 |
4 files changed, 41 insertions, 2 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile index 62e21f47b2f..070b9924e83 100644 --- a/print/libgnomeprint/Makefile +++ b/print/libgnomeprint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2003/07/17 22:52:34 grant Exp $ +# $NetBSD: Makefile,v 1.17 2003/09/27 21:05:22 danw Exp $ # DISTNAME= libgnomeprint-2.2.1.2 @@ -36,6 +36,12 @@ CONFIGURE_ARGS+= --with-cups CONFIGURE_ARGS+= --without-cups .endif +.if ${OPSYS} == "Darwin" +# AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong +# answer here even if it did). +CONFIGURE_ENV+= libltdl_cv_shlibext=so +.endif + .include "../../devel/gettext-lib/buildlink2.mk" .include "../../devel/libbonobo/buildlink2.mk" .include "../../devel/pango/buildlink2.mk" diff --git a/print/libgnomeprint/distinfo b/print/libgnomeprint/distinfo index 68e457a4f3f..f3e870ade2b 100644 --- a/print/libgnomeprint/distinfo +++ b/print/libgnomeprint/distinfo @@ -1,4 +1,6 @@ -$NetBSD: distinfo,v 1.4 2003/03/12 13:03:30 jmmv Exp $ +$NetBSD: distinfo,v 1.5 2003/09/27 21:05:22 danw Exp $ SHA1 (libgnomeprint-2.2.1.2.tar.bz2) = f70ccfa4d0dc009dbaba4aea8e16df3086da7c85 Size (libgnomeprint-2.2.1.2.tar.bz2) = 555140 bytes +SHA1 (patch-aa) = 54cf15d9caa7834f06cae48a792fc4716bc8a3f9 +SHA1 (patch-ab) = f7ac5151f12e25fa0a4a616a32a5abac963d7a03 diff --git a/print/libgnomeprint/patches/patch-aa b/print/libgnomeprint/patches/patch-aa new file mode 100644 index 00000000000..b37f131034e --- /dev/null +++ b/print/libgnomeprint/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.3 2003/09/27 21:05:22 danw Exp $ + +--- libgnomeprint/gnome-print.c.orig Mon Sep 1 10:11:58 2003 ++++ libgnomeprint/gnome-print.c Mon Sep 1 10:11:35 2003 +@@ -38,8 +38,8 @@ + #include <libgnomeprint/gnome-print-frgba.h> + + /* For the buffer stuff, remove when the buffer stuff is moved out here */ +-#include <sys/mman.h> + #include <sys/types.h> ++#include <sys/mman.h> + #include <sys/stat.h> + #include <fcntl.h> + #include <unistd.h> diff --git a/print/libgnomeprint/patches/patch-ab b/print/libgnomeprint/patches/patch-ab new file mode 100644 index 00000000000..8bfde53b060 --- /dev/null +++ b/print/libgnomeprint/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.3 2003/09/27 21:05:22 danw Exp $ + +--- libgnomeprint/transports/Makefile.in.orig Mon Sep 1 10:27:21 2003 ++++ libgnomeprint/transports/Makefile.in Mon Sep 1 10:27:41 2003 +@@ -144,11 +144,8 @@ + $(CUSTOM_LIB) + + +-CPPFLAGS = \ +- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" +- +- + INCLUDES = \ ++ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ + -I$(top_srcdir) \ + $(LIBGNOMEPRINT_CFLAGS) + |