summaryrefslogtreecommitdiff
path: root/x11/gnome-libs/patches
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-libs/patches')
-rw-r--r--x11/gnome-libs/patches/patch-aa52
-rw-r--r--x11/gnome-libs/patches/patch-ab13
-rw-r--r--x11/gnome-libs/patches/patch-ac13
-rw-r--r--x11/gnome-libs/patches/patch-ad31
-rw-r--r--x11/gnome-libs/patches/patch-ae13
-rw-r--r--x11/gnome-libs/patches/patch-af13
-rw-r--r--x11/gnome-libs/patches/patch-ag94
-rw-r--r--x11/gnome-libs/patches/patch-ah22
-rw-r--r--x11/gnome-libs/patches/patch-ai13
-rw-r--r--x11/gnome-libs/patches/patch-aj36
-rw-r--r--x11/gnome-libs/patches/patch-ak13
-rw-r--r--x11/gnome-libs/patches/patch-al13
-rw-r--r--x11/gnome-libs/patches/patch-an13
-rw-r--r--x11/gnome-libs/patches/patch-ao14
-rw-r--r--x11/gnome-libs/patches/patch-ap55
-rw-r--r--x11/gnome-libs/patches/patch-aq60
-rw-r--r--x11/gnome-libs/patches/patch-ar13
-rw-r--r--x11/gnome-libs/patches/patch-as13
-rw-r--r--x11/gnome-libs/patches/patch-at12
-rw-r--r--x11/gnome-libs/patches/patch-au13
-rw-r--r--x11/gnome-libs/patches/patch-av12
-rw-r--r--x11/gnome-libs/patches/patch-aw13
-rw-r--r--x11/gnome-libs/patches/patch-ax22
-rw-r--r--x11/gnome-libs/patches/patch-ay71
-rw-r--r--x11/gnome-libs/patches/patch-az13
-rw-r--r--x11/gnome-libs/patches/patch-ba13
26 files changed, 0 insertions, 663 deletions
diff --git a/x11/gnome-libs/patches/patch-aa b/x11/gnome-libs/patches/patch-aa
deleted file mode 100644
index ecd77adabf0..00000000000
--- a/x11/gnome-libs/patches/patch-aa
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-aa,v 1.17 2002/08/25 18:40:32 jlam Exp $
-
---- configure.orig Tue Jan 22 14:35:12 2002
-+++ configure
-@@ -3271,12 +3271,9 @@
-
-
-
--GLIB_CFLAGS=`echo $GTK_CFLAGS | sed 's/^.*\(-I[^ ]*glib[^ ]* *-I[^ ]*\).*$/\1/'`
--GLIB_LDFLAGS=`echo $GTK_LIBS | sed -e 's/^.*-lgdk[^ ]* *\(-L[^ ]*\).*$/\1/' -e 's/^.* -lgdk[^ ]* .*$//'`
--if test -z "$GLIB_LDFLAGS" ; then
-- GLIB_LDFLAGS=`echo $GTK_LIBS | sed -e 's/\(-L[^ ]*\) .*$/\1/' -e 's/^.*\(-L[^ ]*\)$/\1/'`
--fi
--GLIB_LIBS="$GLIB_LDFLAGS `echo $GTK_LIBS | sed 's/^.*\(-lglib[^ ]*\).*$/\1/'`"
-+GLIB_CFLAGS="`glib-config --cflags`"
-+GLIB_LIBS="`glib-config --libs`"
-+GLIB_LDFLAGS="$GLIB_LIBS"
-
-
-
-@@ -5127,6 +5124,11 @@
- rm -f po/POTFILES
- sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
- < $srcdir/po/POTFILES.in > po/POTFILES
-+
-+# NetBSD: set DATADIRNAME to "share"
-+DATADIRNAME="${PKGLOCALEDIR}"
-+INTLDEPS=
-+INTLLIBS="-lintl"
-
- # AM_GNOME_GETTEXT above substs $DATADIRNAME
- # this is the directory where the *.{mo,gmo} files are installed
-@@ -9942,7 +9944,7 @@
- GTKXMHTML_LIBS="-lgtkxmhtml $LIBGTKXMHTML_LIBS"
- ZVT_LIBS="-lzvt $UTIL_LIBS $GTK_LIBS"
-
--GNOME_LIBDIR='-L${libdir}'
-+GNOME_LIBDIR='-L${libdir} -Wl,-R${libdir}'
- GNOME_INCLUDEDIR='-I${includedir}/gnome-1.0 -DNEED_GNOMESUPPORT_H -I${pkglibdir}/include'
- GNOME_IDLDIR='-I${datadir}/idl'
-
-@@ -10046,8 +10048,8 @@
- fi
- if test x$gnome_cv_orbit_found = xyes; then
-
-- ORBIT_CFLAGS=`orbit-config --cflags client server`
-- ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
-+ ORBIT_CFLAGS=`$ORBIT_CONFIG --cflags client server`
-+ ORBIT_LIBS=`$ORBIT_CONFIG --use-service=name --libs client server`
-
-
- else
diff --git a/x11/gnome-libs/patches/patch-ab b/x11/gnome-libs/patches/patch-ab
deleted file mode 100644
index 585bb2bc438..00000000000
--- a/x11/gnome-libs/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2004/11/10 14:49:36 sketch Exp $
-
---- gnome-data/Makefile.in.orig Sun Mar 24 13:17:54 2002
-+++ gnome-data/Makefile.in
-@@ -164,7 +164,7 @@
- gnome-make-postscript-mimes
-
-
--scoredir = $(localstatedir)/games
-+scoredir = @VARBASE@/games
- sysconf_DATA = paper.config mime-magic
-
- soundlistdir = $(sysconfdir)/sound/events
diff --git a/x11/gnome-libs/patches/patch-ac b/x11/gnome-libs/patches/patch-ac
deleted file mode 100644
index a4a70c0fb88..00000000000
--- a/x11/gnome-libs/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.13 2002/08/25 18:40:32 jlam Exp $
-
---- zvt/subshell-includes.h.orig Fri Jun 15 02:04:52 2001
-+++ zvt/subshell-includes.h Thu Aug 1 15:15:35 2002
-@@ -3,7 +3,7 @@
-
- #include <stdio.h>
- #include <fcntl.h> /* for close-on-exec stuff */
--#ifndef _XOPEN_SOURCE
-+#if !defined(__NetBSD__) && !defined(_XOPEN_SOURCE)
- #define _XOPEN_SOURCE 1
- #endif
- #define __EXTENSIONS__ 1 /* needed for winsize struct
diff --git a/x11/gnome-libs/patches/patch-ad b/x11/gnome-libs/patches/patch-ad
deleted file mode 100644
index c642c04d0eb..00000000000
--- a/x11/gnome-libs/patches/patch-ad
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ad,v 1.10 2002/03/24 19:53:44 rh Exp $
-
---- libgnome/Makefile.in.orig Fri Jan 25 09:58:07 2002
-+++ libgnome/Makefile.in
-@@ -156,7 +156,7 @@
-
- INCLUDES = -I.. -I$(srcdir)/.. $(SUPPORTINCS) \
- -I$(top_srcdir)/intl -I$(top_builddir)/intl \
-- -I$(includedir) $(GLIB_CFLAGS) $(GDK_IMLIB_CFLAGS) \
-+ $(GLIB_CFLAGS) $(GDK_IMLIB_CFLAGS) \
- $(AUDIOFILE_CFLAGS) $(ESD_CFLAGS) \
- -DGNOMELIBDIR=\""$(libdir)"\" \
- -DGNOMEDATADIR=\""$(datadir)"\" \
-@@ -303,7 +303,7 @@
- gnome_gen_mimedb_LDFLAGS =
- CFLAGS = @CFLAGS@
- COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
--LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) ${LIBGNOME_LTCOMPILE_FLAGS} $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- CCLD = $(CC)
- man1dir = $(mandir)/man1
- MANS = $(man_MANS)
-@@ -396,7 +396,7 @@
- maintainer-clean-libtool:
-
- libgnome.la: $(libgnome_la_OBJECTS) $(libgnome_la_DEPENDENCIES)
-- $(LINK) -rpath $(libdir) $(libgnome_la_LDFLAGS) $(libgnome_la_OBJECTS) $(libgnome_la_LIBADD) $(LIBS)
-+ $(LINK) ${LIBGNOME_LTLINK_FLAGS} -rpath $(libdir) $(libgnome_la_LDFLAGS) $(libgnome_la_OBJECTS) $(libgnome_la_LIBADD) $(LIBS)
-
- mostlyclean-binPROGRAMS:
-
diff --git a/x11/gnome-libs/patches/patch-ae b/x11/gnome-libs/patches/patch-ae
deleted file mode 100644
index 1b23b304c9d..00000000000
--- a/x11/gnome-libs/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.6 2002/03/24 19:53:45 rh Exp $
-
---- devel-docs/Makefile.in.orig Fri Jan 25 09:58:24 2002
-+++ devel-docs/Makefile.in
-@@ -169,7 +169,7 @@
- $(TEXT_FILES)
-
-
--docdir = $(prefix)/doc
-+docdir = $(datadir)/doc/gnome-libs
- doc_DATA = $(TEXT_FILES)
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
diff --git a/x11/gnome-libs/patches/patch-af b/x11/gnome-libs/patches/patch-af
deleted file mode 100644
index d54a7bb060b..00000000000
--- a/x11/gnome-libs/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.3 2002/03/24 19:53:45 rh Exp $
-
---- tools/gnome-doc/Makefile.in.orig Fri Jan 25 09:58:04 2002
-+++ tools/gnome-doc/Makefile.in
-@@ -148,7 +148,7 @@
-
- EXTRA_DIST = gnome-doc.el gnome-doc mkstub $(man_MANS)
-
--docdir = $(datadir)/doc
-+docdir = $(datadir)/doc/gnome-libs
-
- doc_DATA = $(EXTRA_DIST)
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/x11/gnome-libs/patches/patch-ag b/x11/gnome-libs/patches/patch-ag
deleted file mode 100644
index e86fd6c4845..00000000000
--- a/x11/gnome-libs/patches/patch-ag
+++ /dev/null
@@ -1,94 +0,0 @@
-$NetBSD: patch-ag,v 1.7 2004/02/18 11:56:02 jmmv Exp $
-
---- libgnomeui/gnome-messagebox.c.orig 2000-06-29 03:40:25.000000000 +0200
-+++ libgnomeui/gnome-messagebox.c
-@@ -109,7 +109,7 @@ gnome_message_box_new (const gchar
- if (strcmp(GNOME_MESSAGE_BOX_INFO, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Information"));
-- s = gnome_unconditional_pixmap_file("gnome-info.png");
-+ s = gnome_unconditional_pixmap_file("gnome1-info.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -118,7 +118,7 @@ gnome_message_box_new (const gchar
- else if (strcmp(GNOME_MESSAGE_BOX_WARNING, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Warning"));
-- s = gnome_unconditional_pixmap_file("gnome-warning.png");
-+ s = gnome_unconditional_pixmap_file("gnome1-warning.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -127,7 +127,7 @@ gnome_message_box_new (const gchar
- else if (strcmp(GNOME_MESSAGE_BOX_ERROR, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Error"));
-- s = gnome_unconditional_pixmap_file("gnome-error.png");
-+ s = gnome_unconditional_pixmap_file("gnome1-error.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -136,7 +136,7 @@ gnome_message_box_new (const gchar
- else if (strcmp(GNOME_MESSAGE_BOX_QUESTION, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Question"));
-- s = gnome_unconditional_pixmap_file("gnome-question.png");
-+ s = gnome_unconditional_pixmap_file("gnome1-question.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -155,7 +155,7 @@ gnome_message_box_new (const gchar
- if ( (pixmap == NULL) ||
- (GNOME_PIXMAP(pixmap)->pixmap == NULL) ) {
- if (pixmap) gtk_widget_destroy(pixmap);
-- s = gnome_unconditional_pixmap_file ("gnome-default-dlg.png");
-+ s = gnome_unconditional_pixmap_file ("gnome1-default-dlg.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -242,7 +242,7 @@ gnome_message_box_newv (const gchar
- if (strcmp(GNOME_MESSAGE_BOX_INFO, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Information"));
-- s = gnome_pixmap_file("gnome-info.png");
-+ s = gnome_pixmap_file("gnome1-info.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -251,7 +251,7 @@ gnome_message_box_newv (const gchar
- else if (strcmp(GNOME_MESSAGE_BOX_WARNING, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Warning"));
-- s = gnome_pixmap_file("gnome-warning.png");
-+ s = gnome_pixmap_file("gnome1-warning.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -260,7 +260,7 @@ gnome_message_box_newv (const gchar
- else if (strcmp(GNOME_MESSAGE_BOX_ERROR, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Error"));
-- s = gnome_pixmap_file("gnome-error");
-+ s = gnome_pixmap_file("gnome1-error");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -269,7 +269,7 @@ gnome_message_box_newv (const gchar
- else if (strcmp(GNOME_MESSAGE_BOX_QUESTION, message_box_type) == 0)
- {
- gtk_window_set_title (GTK_WINDOW (message_box), _("Question"));
-- s = gnome_pixmap_file("gnome-question.png");
-+ s = gnome_pixmap_file("gnome1-question.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
-@@ -288,7 +288,7 @@ gnome_message_box_newv (const gchar
- if ( (pixmap == NULL) ||
- (GNOME_PIXMAP(pixmap)->pixmap == NULL) ) {
- if (pixmap) gtk_widget_destroy(pixmap);
-- s = gnome_pixmap_file("gnome-default.png");
-+ s = gnome_pixmap_file("gnome1-default.png");
- if (s) {
- pixmap = gnome_pixmap_new_from_file(s);
- g_free(s);
diff --git a/x11/gnome-libs/patches/patch-ah b/x11/gnome-libs/patches/patch-ah
deleted file mode 100644
index ada602e0142..00000000000
--- a/x11/gnome-libs/patches/patch-ah
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ah,v 1.6 2004/02/18 11:56:02 jmmv Exp $
-
---- images/Makefile.in.orig 2002-08-16 00:25:24.000000000 +0200
-+++ images/Makefile.in
-@@ -185,12 +185,13 @@ install-pixmapDATA: $(pixmap_DATA)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(pixmapdir)
- @list='$(pixmap_DATA)'; for p in $$list; do \
-+ d=`echo $$p | sed -e 's|^gnome-|gnome1-|'`; \
- if test -f $(srcdir)/$$p; then \
-- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$p"; \
-- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$p; \
-+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$d"; \
-+ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$d; \
- else if test -f $$p; then \
-- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$p"; \
-- $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$p; \
-+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$d"; \
-+ $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$d; \
- fi; fi; \
- done
-
diff --git a/x11/gnome-libs/patches/patch-ai b/x11/gnome-libs/patches/patch-ai
deleted file mode 100644
index 83aad394ef3..00000000000
--- a/x11/gnome-libs/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.4 2005/04/27 09:11:36 wiz Exp $
-
---- libart_lgpl/libart.m4.orig 2000-04-05 10:14:15.000000000 +0200
-+++ libart_lgpl/libart.m4
-@@ -8,7 +8,7 @@
- dnl AM_PATH_LIBART([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
- dnl Test for LIBART, and define LIBART_CFLAGS and LIBART_LIBS
- dnl
--AC_DEFUN(AM_PATH_LIBART,
-+AC_DEFUN([AM_PATH_LIBART],
- [dnl
- dnl Get the cflags and libraries from the libart-config script
- dnl
diff --git a/x11/gnome-libs/patches/patch-aj b/x11/gnome-libs/patches/patch-aj
deleted file mode 100644
index 38198b9de0a..00000000000
--- a/x11/gnome-libs/patches/patch-aj
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-aj,v 1.4 2000/10/17 23:57:46 jlam Exp $
-
---- gnome-config.in.orig Wed Sep 27 19:59:01 2000
-+++ gnome-config.in
-@@ -40,6 +40,8 @@
- module_dirs="$extra:$module_dirs"
- done
-
-+module_dirs="@LOCALBASE@/lib:$module_dirs"
-+
- usage()
- {
- exit_code=$1
-@@ -173,11 +175,11 @@
- the_flags="$the_flags `gtk-config --cflags`"
- ;;
- gnome)
-- the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@"
-+ the_libs="$the_libs @GNOME_LIBDIR@ @GNOME_LIBS@ @INTLLIBS@"
- the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
- ;;
- gnomeui)
-- the_libs="$the_libs @GNOME_LIBDIR@ @GNOMEUI_LIBS@"
-+ the_libs="$the_libs @GNOME_LIBDIR@ @GNOMEUI_LIBS@ @INTLLIBS@"
- the_flags="$the_flags @GNOME_INCLUDEDIR@ @GTK_CFLAGS@"
- ;;
- gtkxmhtml)
-@@ -253,7 +255,7 @@
- case "$i" in
- # a library, save it for later, in reverse order
- -l*) rev_libs="$i $rev_libs" ;;
-- -L*|-R*)
-+ -L*|-R*|-Wl,-R*)
- if $libs_L; then
- case " $lib_L_flags " in
- *\ $i\ *) ;; # already there
diff --git a/x11/gnome-libs/patches/patch-ak b/x11/gnome-libs/patches/patch-ak
deleted file mode 100644
index 32dacd20393..00000000000
--- a/x11/gnome-libs/patches/patch-ak
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ak,v 1.2 2002/03/24 19:53:45 rh Exp $
-
---- libart_lgpl/configure.orig Tue Jan 22 14:35:13 2002
-+++ libart_lgpl/configure
-@@ -1625,7 +1625,7 @@
- fi
- fi
-
--LIBART_LIBDIR='-L${libdir}'
-+LIBART_LIBDIR='-L${libdir} -Wl,-R${libdir}'
- LIBART_INCLUDEDIR='-I${includedir}/gnome-1.0'
- LIBART_LIBS='-lart_lgpl -lm'
-
diff --git a/x11/gnome-libs/patches/patch-al b/x11/gnome-libs/patches/patch-al
deleted file mode 100644
index 74f86fb2a74..00000000000
--- a/x11/gnome-libs/patches/patch-al
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-al,v 1.4 2005/11/25 14:40:45 kristerw Exp $
-
---- gtk-xmhtml/colors.c.orig 2005-11-24 21:23:31.000000000 +0100
-+++ gtk-xmhtml/colors.c 2005-11-24 21:23:59.000000000 +0100
-@@ -295,7 +295,7 @@
- /* XXX: This function does an XQueryColors() the hard way, because there is
- * no corresponding function in Gdk.
- */
--#ifndef WITH_MOTIF
-+#if 0
- static void
- my_x_query_colors(GdkColormap *colormap,
- GdkColor *colors,
diff --git a/x11/gnome-libs/patches/patch-an b/x11/gnome-libs/patches/patch-an
deleted file mode 100644
index 5d2d5d9332b..00000000000
--- a/x11/gnome-libs/patches/patch-an
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-an,v 1.4 2004/11/10 14:49:36 sketch Exp $
-
---- libgnome/gnome-score.c.orig Sat Jun 17 12:53:33 2000
-+++ libgnome/gnome-score.c
-@@ -27,7 +27,7 @@
- #define NSCORES 10
- #endif
-
--#define SCORE_PATH GNOMELOCALSTATEDIR "/games"
-+#define SCORE_PATH "@VARBASE@/games"
-
- struct command
- {
diff --git a/x11/gnome-libs/patches/patch-ao b/x11/gnome-libs/patches/patch-ao
deleted file mode 100644
index 17d2d4201f7..00000000000
--- a/x11/gnome-libs/patches/patch-ao
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ao,v 1.2 2000/10/17 23:57:46 jlam Exp $
-
---- zvt/vt.c.orig Sat Mar 18 02:57:13 2000
-+++ zvt/vt.c
-@@ -1154,7 +1154,8 @@
-
- for (j = 0; j < vt->argcnt; j++) {
- i = vt->arg.num.intargs[j];
-- if (i==0 || i==27) {
-+ if (i==0) {
-+ /* \E[27m only clears reverse video, not all attributes - mycroft */
- vt->attr=VTATTR_CLEAR;
- } else if (i<9) {
- vt->attr |= mode_map[i]; /* add a mode */
diff --git a/x11/gnome-libs/patches/patch-ap b/x11/gnome-libs/patches/patch-ap
deleted file mode 100644
index 58604dafdaa..00000000000
--- a/x11/gnome-libs/patches/patch-ap
+++ /dev/null
@@ -1,55 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2000/11/11 02:07:57 mycroft Exp $
-
---- zvt/subshell.c.orig Sat Nov 11 01:59:48 2000
-+++ zvt/subshell.c Sat Nov 11 01:59:11 2000
-@@ -101,32 +101,43 @@
- #endif
- #endif /* CMSG_DATA */
-
--static struct cmsghdr *cmptr;
--#define CONTROLLEN sizeof (struct cmsghdr) + sizeof (int)
-+#define FD_LEN (sizeof(int) * 1)
-+
-+static void *cmptr;
-
- static int
- receive_fd (int helper_fd)
- {
- struct iovec iov [1];
- struct msghdr msg;
-+ struct cmsghdr *cmp;
- char buf [32];
-
-+ if (cmptr == NULL && (cmptr = g_malloc (CMSG_SPACE(FD_LEN))) == NULL)
-+ return -1;
-+
- iov [0].iov_base = buf;
- iov [0].iov_len = sizeof (buf);
-+
-+ memset(&msg, 0, sizeof(msg));
- msg.msg_iov = iov;
- msg.msg_iovlen = 1;
- msg.msg_name = NULL;
- msg.msg_namelen = 0;
--
-- if (cmptr == NULL && (cmptr = g_malloc (CONTROLLEN)) == NULL)
-- return -1;
- msg.msg_control = (caddr_t) cmptr;
-- msg.msg_controllen = CONTROLLEN;
-+ msg.msg_controllen = CMSG_LEN(FD_LEN);
-
-+ memset(cmptr, 0, CMSG_SPACE(FD_LEN));
- if (recvmsg (helper_fd, &msg, 0) <= 0)
- return -1;
-
-- return *(int *) CMSG_DATA (cmptr);
-+ for (cmp = CMSG_FIRSTHDR(&msg); cmp != NULL;
-+ cmp = CMSG_NXTHDR(&msg, cmp)) {
-+ if (cmp->cmsg_type == SCM_RIGHTS)
-+ return *(int *) CMSG_DATA (cmp);
-+ }
-+
-+ return -1;
- }
-
- static int
diff --git a/x11/gnome-libs/patches/patch-aq b/x11/gnome-libs/patches/patch-aq
deleted file mode 100644
index 3354f21a145..00000000000
--- a/x11/gnome-libs/patches/patch-aq
+++ /dev/null
@@ -1,60 +0,0 @@
-$NetBSD: patch-aq,v 1.2 2000/11/27 10:59:20 rh Exp $
-
---- zvt/gnome-pty-helper.c.orig Sat Mar 18 08:57:13 2000
-+++ zvt/gnome-pty-helper.c
-@@ -115,14 +115,20 @@
- #endif
- #endif /* CMSG_DATA */
-
--#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (int))
-+#ifndef CMSG_SPACE
-+#include <machine/param.h>
-+#define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l))
-+#define CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l))
-+#endif
-
--static struct cmsghdr *cmptr;
-+#define FD_LEN (sizeof(int) * 1)
-+
-+static void *cmptr;
-
- static int
- init_msg_pass ()
- {
-- cmptr = malloc (CONTROLLEN);
-+ cmptr = malloc (CMSG_SPACE(FD_LEN));
-
- if (cmptr)
- return 0;
-@@ -135,22 +141,26 @@
- {
- struct iovec iov[1];
- struct msghdr msg;
-+ struct cmsghdr *cmp;
- char buf [1];
-
- iov [0].iov_base = buf;
- iov [0].iov_len = 1;
-
-+ memset(&msg, 0, sizeof(msg));
- msg.msg_iov = iov;
- msg.msg_iovlen = 1;
- msg.msg_name = NULL;
- msg.msg_namelen = 0;
- msg.msg_control = (caddr_t) cmptr;
-- msg.msg_controllen = CONTROLLEN;
-+ msg.msg_controllen = CMSG_LEN(FD_LEN);
-
-- cmptr->cmsg_level = SOL_SOCKET;
-- cmptr->cmsg_type = SCM_RIGHTS;
-- cmptr->cmsg_len = CONTROLLEN;
-- *(int *)CMSG_DATA (cmptr) = fd;
-+ memset(cmptr, 0, CMSG_SPACE(FD_LEN));
-+ cmp = CMSG_FIRSTHDR(&msg);
-+ cmp->cmsg_level = SOL_SOCKET;
-+ cmp->cmsg_type = SCM_RIGHTS;
-+ cmp->cmsg_len = CMSG_LEN(FD_LEN);
-+ *(int *)CMSG_DATA (cmp) = fd;
-
- if (sendmsg (client_fd, &msg, 0) != 1)
- return -1;
diff --git a/x11/gnome-libs/patches/patch-ar b/x11/gnome-libs/patches/patch-ar
deleted file mode 100644
index 9850130fc93..00000000000
--- a/x11/gnome-libs/patches/patch-ar
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ar,v 1.5 2002/03/24 19:53:46 rh Exp $
-
---- gtk-xmhtml/Makefile.in.orig Fri Jan 25 09:58:13 2002
-+++ gtk-xmhtml/Makefile.in
-@@ -146,7 +146,7 @@
-
- libgtkxmhtmlincludedir = $(includedir)/gnome-1.0/gtk-xmhtml
-
--INCLUDES = -I.. -I$(srcdir)/.. -I$(includedir) @GTK_CFLAGS@ \
-+INCLUDES = -I.. -I$(srcdir)/.. @GTK_CFLAGS@ \
- -DWITH_GTK -DDEBUG -DGNOME_LIB
-
-
diff --git a/x11/gnome-libs/patches/patch-as b/x11/gnome-libs/patches/patch-as
deleted file mode 100644
index 011890fe247..00000000000
--- a/x11/gnome-libs/patches/patch-as
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-as,v 1.2 2002/03/24 19:53:46 rh Exp $
-
---- libgnomeui/Makefile.in.orig Fri Jan 25 09:58:10 2002
-+++ libgnomeui/Makefile.in
-@@ -160,7 +160,7 @@
-
- INCLUDES = -I.. -I$(srcdir)/.. $(SUPPORTINCS) \
- -I$(top_srcdir)/intl -I$(top_builddir)/intl \
-- -I$(includedir) $(GDK_IMLIB_CFLAGS) \
-+ $(GDK_IMLIB_CFLAGS) \
- $(AUDIOFILE_CFLAGS) $(ESD_CFLAGS) \
- -DGNOMELIBDIR=\""$(libdir)"\" \
- -DGNOMEDATADIR=\""$(datadir)"\" \
diff --git a/x11/gnome-libs/patches/patch-at b/x11/gnome-libs/patches/patch-at
deleted file mode 100644
index 6848cfd2bb3..00000000000
--- a/x11/gnome-libs/patches/patch-at
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-at,v 1.2 2002/03/24 19:53:47 rh Exp $
-
---- libgnorba/Makefile.in.orig Fri Jan 25 09:58:19 2002
-+++ libgnorba/Makefile.in
-@@ -163,7 +163,6 @@
- -I.. \
- -I$(srcdir)/.. \
- $(SUPPORTINCS) \
-- -I$(includedir) \
- $(GNOME_INCLUDES) \
- $(ORBIT_CFLAGS) \
- $(GLIB_INCLUDES) \
diff --git a/x11/gnome-libs/patches/patch-au b/x11/gnome-libs/patches/patch-au
deleted file mode 100644
index 8e99b729245..00000000000
--- a/x11/gnome-libs/patches/patch-au
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-au,v 1.2 2002/03/24 19:53:47 rh Exp $
-
---- test-gnome/Makefile.in.orig Fri Jan 25 09:58:22 2002
-+++ test-gnome/Makefile.in
-@@ -146,7 +146,7 @@
-
- INCLUDES = -I.. -I$(srcdir)/.. $(SUPPORTINCS) \
- -I$(top_srcdir)/intl -I$(top_builddir)/intl \
-- -I$(includedir) $(GDK_IMLIB_CFLAGS) \
-+ $(GDK_IMLIB_CFLAGS) \
- -DGNOMELOCALEDIR=\""$(gnomelocaledir)"\" \
- -DLOCALEDIR=\""$(gnomelocaledir)"\"
-
diff --git a/x11/gnome-libs/patches/patch-av b/x11/gnome-libs/patches/patch-av
deleted file mode 100644
index 45263f3ca08..00000000000
--- a/x11/gnome-libs/patches/patch-av
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-av,v 1.2 2002/03/24 19:53:48 rh Exp $
-
---- test-suite/tests/Makefile.in.orig Fri Jan 25 09:58:24 2002
-+++ test-suite/tests/Makefile.in
-@@ -150,7 +150,6 @@
- -I$(top_builddir) -I$(top_srcdir) \
- $(SUPPORTINCS) \
- $(GDK_IMLIB_CFLAGS) \
-- -I$(includedir) \
- @GTK_CFLAGS@
-
-
diff --git a/x11/gnome-libs/patches/patch-aw b/x11/gnome-libs/patches/patch-aw
deleted file mode 100644
index 68f4943c046..00000000000
--- a/x11/gnome-libs/patches/patch-aw
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aw,v 1.2 2002/03/24 19:53:48 rh Exp $
-
---- tools/convertrgb/Makefile.in.orig Fri Jan 25 09:58:03 2002
-+++ tools/convertrgb/Makefile.in
-@@ -145,7 +145,7 @@
- need_gnome_support = @need_gnome_support@
-
- INCLUDES = \
-- -I$(includedir) @GLIB_CFLAGS@
-+ @GLIB_CFLAGS@
-
-
- noinst_PROGRAMS = convertrgb
diff --git a/x11/gnome-libs/patches/patch-ax b/x11/gnome-libs/patches/patch-ax
deleted file mode 100644
index 8be46b3d209..00000000000
--- a/x11/gnome-libs/patches/patch-ax
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ax,v 1.3 2002/03/24 19:53:48 rh Exp $
-
---- zvt/Makefile.in.orig Fri Jan 25 09:58:16 2002
-+++ zvt/Makefile.in
-@@ -152,7 +152,7 @@
-
- INCLUDES = -I.. -I$(srcdir)/.. $(SUPPORTINCS) \
- -I$(top_srcdir)/intl -I$(top_builddir)/intl \
-- -I$(includedir) $(GTK_CFLAGS) \
-+ $(GTK_CFLAGS) \
- $(GDK_IMLIB_CFLAGS) \
- -DGNOMESBINDIR=\""$(sbindir)"\"
-
-@@ -595,7 +595,7 @@
-
- install-exec-local:
- -file=$(DESTDIR)$(sbindir)/gnome-pty-helper; \
-- chown root $$file && chgrp root $$file && chmod u+s $$file
-+ chown 0 $$file && chgrp 0 $$file && chmod u+s $$file
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/x11/gnome-libs/patches/patch-ay b/x11/gnome-libs/patches/patch-ay
deleted file mode 100644
index 683e039c520..00000000000
--- a/x11/gnome-libs/patches/patch-ay
+++ /dev/null
@@ -1,71 +0,0 @@
-$NetBSD: patch-ay,v 1.3 2002/05/05 22:52:12 martin Exp $
-
---- libgnome/gnome-url.c.orig Thu Jan 10 23:03:17 2002
-+++ libgnome/gnome-url.c Mon May 6 00:06:38 2002
-@@ -80,6 +80,8 @@
- return default_handler;
- }
-
-+static int gnome_url_show_with_handler (const gchar *url, const gchar *template);
-+
- /**
- * gnome_url_show
- * @url: URL to show
-@@ -105,11 +107,9 @@
- void
- gnome_url_show(const gchar *url)
- {
-- gint i;
- gchar *pos, *template;
- gboolean free_template = FALSE;
-- int argc;
-- char **argv;
-+ int status;
-
- g_return_if_fail (url != NULL);
- pos = strchr (url, ':');
-@@ -135,12 +135,26 @@
- } else /* no : ? -- this shouldn't happen. Use default handler */
- template = gnome_url_default_handler (NULL);
-
-+ status = gnome_url_show_with_handler (url, template);
-+ if (status == -1 && free_template)
-+ gnome_url_show_with_handler (url, gnome_url_default_handler (NULL));
-+
-+ if (free_template)
-+ g_free (template);
-+}
-+
-+static int
-+gnome_url_show_with_handler (const gchar *url, const gchar *template)
-+{
-+ int argc, i, status;
-+ char **argv;
-+
- /* we use a popt function as it does exactly what we want to do and
- gnome already uses popt */
- if(poptParseArgvString(template, &argc, &argv) != 0) {
- /* can't parse */
- g_warning("Parse error of '%s'", template);
-- return;
-+ return -1;
- }
-
- /* we can just replace the entry in the array since the
-@@ -154,13 +168,12 @@
-
- /* use execute async, and not the shell, shell is evil and a
- * security hole */
-- gnome_execute_async (NULL, argc, argv);
--
-- if (free_template)
-- g_free (template);
-+ status = gnome_execute_async (NULL, argc, argv);
-
- /* the way the poptParseArgvString works is that the entire thing
- * is allocated as one buffer, so just free will suffice, also
- * it must be free and not g_free */
- free(argv);
-+
-+ return status;
- }
diff --git a/x11/gnome-libs/patches/patch-az b/x11/gnome-libs/patches/patch-az
deleted file mode 100644
index f57724934cc..00000000000
--- a/x11/gnome-libs/patches/patch-az
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-az,v 1.2 2002/08/25 18:40:32 jlam Exp $
-
---- libart_lgpl/doc/Makefile.in 2002/06/28 10:35:09 1.1
-+++ libart_lgpl/doc/Makefile.in 2002/06/28 10:35:23
-@@ -371,8 +371,6 @@
- echo '-- Installing '$$i ; \
- $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
- done; \
-- echo '-- Installing $(srcdir)/html/index.sgml' ; \
-- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
- fi)
-
- #
diff --git a/x11/gnome-libs/patches/patch-ba b/x11/gnome-libs/patches/patch-ba
deleted file mode 100644
index 461ddd402b0..00000000000
--- a/x11/gnome-libs/patches/patch-ba
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2004/05/04 03:54:51 danw Exp $
-
---- gtk-xmhtml/XmHTMLP.h.orig Mon May 3 23:26:18 2004
-+++ gtk-xmhtml/XmHTMLP.h
-@@ -264,7 +264,7 @@
- # else
- typedef GdkColorContext *XCC;
- # endif
--# ifdef _ZCONF_H
-+# if defined(_ZCONF_H) || defined(ZCONF_H)
- # ifndef BYTE_ALREADY_TYPEDEFED
- # define BYTE_ALREADY_TYPEDEFED
- # endif /* BYTE_ALREADY_TYPEDEFED */