Subject: vte fix for solaris, was: Re: pkgsrc trouble list for solaris
To: tech-pkg <tech-pkg@NetBSD.org>
From: James <james@hicag.org>
List: tech-pkg
Date: 11/07/2004 14:54:01
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Thus spake Robert Lillack (lillack@mis.mpg.de):
> I assured some weeks ago, that i'll put together a list of packages which
> can not be built out-of-the-box on pkgsrc/Solaris.
Yay! Thank you very much for doing this. I'm also in the same boat --
Trying to get as much as possible to build and using the resulting
packages on my Solaris systems.
I see x11/vte on your trouble list. I recently made fix for this,
maybe it'll help you too. I haven't sent this to the maintainer yet
because I'm not certain I've done it the right way.
--
Back when I was a boy, it was 40 miles to everywhere, uphill both ways and
it was always snowing.
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pkgsrc-vte.patch"
diff -ruN vte.orig/distinfo vte/distinfo
--- vte.orig/distinfo 2004-05-07 06:13:16.000000000 -0500
+++ vte/distinfo 2004-10-23 21:15:52.062862000 -0500
@@ -2,10 +2,10 @@
SHA1 (vte-0.11.11.tar.bz2) = 655a7e2a4310a13caf3853dc51f07ee3b8fe3622
Size (vte-0.11.11.tar.bz2) = 888405 bytes
-SHA1 (patch-aa) = 9b4961c056c3bf46332490fc7f30ff3540f2dbd3
+SHA1 (patch-aa) = 845d7b1dff03795db82a4f2587278ef6fc469f1e
SHA1 (patch-ab) = 8c9c3189b53a87aa198fcb8b11f43a9aa5255eaf
SHA1 (patch-ac) = 3b357bf9d1bca93c24f5b09dae1adec82323be0d
SHA1 (patch-ad) = 6afc6ed139346d5e7effeb07c0f3e84c3e772d77
-SHA1 (patch-ae) = 7bc19459ab99bc71f0bc0e9fa36bcde49a512395
+SHA1 (patch-ae) = ffa6b2b906f9f2def7a97f0fa264c76653e554f7
SHA1 (patch-af) = 69ea7e022f6c495c3c9af681d05644b9d70e7bdc
-SHA1 (patch-ag) = a87e379e0ddc728bcd2db41856d669644be43bdc
+SHA1 (patch-ag) = a1da684ef44cfac12558e477f1708dbda5814959
diff -ruN vte.orig/patches/patch-aa vte/patches/patch-aa
--- vte.orig/patches/patch-aa 2003-12-13 11:54:15.000000000 -0600
+++ vte/patches/patch-aa 2004-10-23 21:15:17.407191000 -0500
@@ -1,9 +1,12 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/12/13 17:54:15 xtraeme Exp $
+$NetBSD$
---- src/pty.c.orig 2003-06-03 12:54:15.000000000 -0700
-+++ src/pty.c 2003-11-29 01:07:59.000000000 -0800
-@@ -1,3 +1,4 @@
+--- src/pty.c.orig Sat May 1 02:12:51 2004
++++ src/pty.c Sat Oct 23 20:54:49 2004
+@@ -1,3 +1,7 @@
++/* I think only NetBSD needs this here */
++#if defined(__NetBSD__)
+#include <sys/types.h>
++#endif
/*
* Copyright (C) 2001,2002 Red Hat, Inc.
*
diff -ruN vte.orig/patches/patch-ae vte/patches/patch-ae
--- vte.orig/patches/patch-ae 2004-05-07 06:13:16.000000000 -0500
+++ vte/patches/patch-ae 2004-10-23 21:15:27.946433000 -0500
@@ -1,20 +1,24 @@
-$NetBSD: patch-ae,v 1.2 2004/05/07 11:13:16 jmmv Exp $
+$NetBSD$
---- configure.orig 2004-05-02 08:44:03.000000000 +0200
-+++ configure
-@@ -25114,6 +25114,7 @@ fi
+--- configure.orig 2004-05-02 01:44:03.000000000 -0500
++++ configure 2004-10-23 21:12:48.388152000 -0500
+@@ -25114,16 +25114,19 @@
rm -f conftest*
-+if false; then
++# Solaris needs this
cat >>confdefs.h <<\_ACEOF
#define _XOPEN_SOURCE_EXTENDED 1
_ACEOF
-@@ -25127,6 +25128,7 @@ _ACEOF
+
+
++# ... and this
cat >>confdefs.h <<\_ACEOF
- #define __EXTENSIONS__ 1
+ #define _XOPEN_SOURCE 1
_ACEOF
-+fi
- # Check whether --enable-deprecation or --disable-deprecation was given.
++# ... and this too!
+ cat >>confdefs.h <<\_ACEOF
+ #define __EXTENSIONS__ 1
+ _ACEOF
diff -ruN vte.orig/patches/patch-ag vte/patches/patch-ag
--- vte.orig/patches/patch-ag 2004-05-07 06:13:16.000000000 -0500
+++ vte/patches/patch-ag 2004-10-23 21:15:34.446726000 -0500
@@ -1,20 +1,24 @@
-$NetBSD: patch-ag,v 1.1 2004/05/07 11:13:16 jmmv Exp $
+$NetBSD$
---- gnome-pty-helper/configure.orig 2004-05-02 08:44:08.000000000 +0200
-+++ gnome-pty-helper/configure
-@@ -6269,6 +6269,7 @@ fi
+--- gnome-pty-helper/configure.orig 2004-05-02 01:44:08.000000000 -0500
++++ gnome-pty-helper/configure 2004-10-23 21:13:32.697462000 -0500
+@@ -6269,16 +6269,19 @@
rm -f conftest*
-+if false; then
++# Solaris needs this
cat >>confdefs.h <<\_ACEOF
#define _XOPEN_SOURCE_EXTENDED 1
_ACEOF
-@@ -6282,6 +6283,7 @@ _ACEOF
+
+
++# ... and this
cat >>confdefs.h <<\_ACEOF
- #define __EXTENSIONS__ 1
+ #define _XOPEN_SOURCE 1
_ACEOF
-+fi
- ac_config_headers="$ac_config_headers config.h"
++# ... and this too!
+ cat >>confdefs.h <<\_ACEOF
+ #define __EXTENSIONS__ 1
+ _ACEOF
--3V7upXqbjpZ4EhLz--