summaryrefslogtreecommitdiff
path: root/sysutils/mc/patches
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-19 23:31:15 +0000
committerjlam <jlam>2000-10-19 23:31:15 +0000
commit7fe06aaa01ee1d048487734ad1284420b353453d (patch)
tree4d63cd2f9f976777f1add99180af31a35fb58d89 /sysutils/mc/patches
parent74c5640572ea7c7af6ef25ad1273c581d9bf15f7 (diff)
downloadpkgsrc-7fe06aaa01ee1d048487734ad1284420b353453d.tar.gz
Update {g,}mc to 0.4.51. This is a maintenance release from version 0.4.50
and has no list of changes. Restructure packages to use a common Makefile and patch directory. Set the maintainer to me, as this is a non-trivial change. Compile in the samba vfs code.
Diffstat (limited to 'sysutils/mc/patches')
-rw-r--r--sysutils/mc/patches/patch-aa60
-rw-r--r--sysutils/mc/patches/patch-ab8
-rw-r--r--sysutils/mc/patches/patch-ad42
-rw-r--r--sysutils/mc/patches/patch-af21
-rw-r--r--sysutils/mc/patches/patch-ag8
-rw-r--r--sysutils/mc/patches/patch-ah8
6 files changed, 78 insertions, 69 deletions
diff --git a/sysutils/mc/patches/patch-aa b/sysutils/mc/patches/patch-aa
index 7cca71d21ca..f3104db9d20 100644
--- a/sysutils/mc/patches/patch-aa
+++ b/sysutils/mc/patches/patch-aa
@@ -1,13 +1,49 @@
-$NetBSD: patch-aa,v 1.8 1999/03/14 23:07:55 tron Exp $
+$NetBSD: patch-aa,v 1.9 2000/10/19 23:31:18 jlam Exp $
---- configure.orig Mon May 25 06:16:04 1998
-+++ configure Sun Oct 4 13:10:51 1998
-@@ -3073,7 +3073,7 @@
- USE_INCLUDED_LIBINTL=yes
- CATOBJEXT=.cat
- INSTOBJEXT=.cat
-- DATADIRNAME=lib
-+ DATADIRNAME=share
- INTLDEPS='$(top_builddir)/intl/libintl.a'
- INTLLIBS=$INTLDEPS
- LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+--- configure.orig Mon Jul 3 10:31:57 2000
++++ configure
+@@ -3543,6 +3543,11 @@
+
+
+
++# Set DATADIRNAME to "${LOCALEBASE}"
++DATADIRNAME="${LOCALEBASE}"
++INTLDEPS=
++INTLLIBS="-lintl"
++
+ cc_uses_g=yes
+ if test x$GCC = xyes; then
+ if test x$ac_cv_prog_gcc_g = xyes; then
+@@ -9409,11 +9414,15 @@
+
+
+ # Check whether --with-gnome or --without-gnome was given.
++gnomecodedirs=
++gnomeunixdirs=
+ if test "${with_gnome+set}" = set; then
+ withval="$with_gnome"
+ if test x$withval = xyes; then
+ want_gnome=yes
+
++ gnomecodedirs='gnome idl'
++ gnomeunixdirs='doc-gnome'
+ mx=mx
+ gmcdep=gmcdep
+ libgtkedit="libgtkedit.a"
+@@ -11891,6 +11900,7 @@
+ s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
+ $ac_vpsub
+ $extrasub
++s%@LOCALBASE@%$LOCALBASE%g
+ s%@SHELL@%$SHELL%g
+ s%@CFLAGS@%$CFLAGS%g
+ s%@CPPFLAGS@%$CPPFLAGS%g
+@@ -12019,6 +12029,8 @@
+ s%@GNOME_DOCKLETS_LIBS@%$GNOME_DOCKLETS_LIBS%g
+ s%@GNOME_CAPPLET_LIBS@%$GNOME_CAPPLET_LIBS%g
+ s%@gnomeicondir@%$gnomeicondir%g
++s%@gnomecodedirs@%$gnomecodedirs%g
++s%@gnomeunixdirs@%$gnomeunixdirs%g
+ s%@mx@%$mx%g
+ s%@gmcdep@%$gmcdep%g
+ s%@libgtkedit@%$libgtkedit%g
diff --git a/sysutils/mc/patches/patch-ab b/sysutils/mc/patches/patch-ab
index 7d35765f0fe..7cf94ceb285 100644
--- a/sysutils/mc/patches/patch-ab
+++ b/sysutils/mc/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.9 1999/10/23 11:52:07 tron Exp $
+$NetBSD: patch-ab,v 1.10 2000/10/19 23:31:18 jlam Exp $
---- vfs/Make-mc.in.orig Wed Sep 29 22:39:34 1999
-+++ vfs/Make-mc.in Sat Oct 23 13:36:10 1999
+--- vfs/Make-mc.in.orig Mon Jul 3 10:31:58 2000
++++ vfs/Make-mc.in
@@ -16,6 +16,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 755
@@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.9 1999/10/23 11:52:07 tron Exp $
AR = @AR@
#
-@@ -336,11 +337,11 @@
+@@ -342,11 +343,11 @@
$(DESTDIR)$(extfsdir)/$$I; \
done
for I in $(EXTFS_CONST) ; do \
diff --git a/sysutils/mc/patches/patch-ad b/sysutils/mc/patches/patch-ad
index 04a7ea2f68d..cd0bfee2974 100644
--- a/sysutils/mc/patches/patch-ad
+++ b/sysutils/mc/patches/patch-ad
@@ -1,30 +1,14 @@
-$NetBSD: patch-ad,v 1.5 1999/03/14 20:59:42 tron Exp $
+$NetBSD: patch-ad,v 1.6 2000/10/19 23:31:18 jlam Exp $
---- intl/xopen-msg.sed.orig Thu Jun 18 13:21:49 1998
-+++ intl/xopen-msg.sed Thu Jun 18 13:32:08 1998
-@@ -81,6 +81,8 @@
- G
- s/^[^\n]*$/& /
- s/\(.*\)\n\([0-9]*\)/\2 \1/
-+# Change escaped quotes into regular quotes.
-+ s/\\"/"/g
- # Clear flag from last substitution.
- tb
- # Append the next line.
-@@ -90,12 +92,16 @@
- s/\(.*\n\)"\(.*\)"/\1\2/
- # Yes, then branch.
- ta
-+# Comment out if no message exists.
-+ s/^\([0-9]* *\n\)/$ \1/
- P
- D
- # Note that `D' includes a jump to the start!!
- # We found a continuation line. But before printing insert '\'.
- :a
- s/\(.*\)\(\n.*\)/\1\\\2/
-+# Change escaped quotes into regular quotes.
-+ s/\\"/"/g
- P
- # We cannot use the sed command `D' here
- s/.*\n\(.*\)/\1/
+--- vfs/smbfs.c.orig Mon Jul 3 10:31:59 2000
++++ vfs/smbfs.c
+@@ -375,7 +375,8 @@
+ static int
+ smbfs_init(vfs *me)
+ {
+- char *servicesf = "/etc/smb.conf";
++ /* This must match what net/samba uses. */
++ char *servicesf = "/etc/samba/smb.conf";
+
+ /* DEBUGLEVEL = 4; */
+
diff --git a/sysutils/mc/patches/patch-af b/sysutils/mc/patches/patch-af
index 464a475b7db..d046fdabccb 100644
--- a/sysutils/mc/patches/patch-af
+++ b/sysutils/mc/patches/patch-af
@@ -1,15 +1,15 @@
-$NetBSD: patch-af,v 1.10 1999/10/23 11:52:07 tron Exp $
+$NetBSD: patch-af,v 1.11 2000/10/19 23:31:18 jlam Exp $
---- Makefile.in.orig Wed Sep 29 22:39:33 1999
-+++ Makefile.in Sat Oct 23 13:25:35 1999
+--- Makefile.in.orig Mon Jul 3 10:31:57 2000
++++ Makefile.in
@@ -5,14 +5,15 @@
@MCFGR@@MCF@
foreigndirs=pc
-codedirs=vfs lib doc slang gtkedit edit src gnome new_icons icons idl syntax
-unixdirs=intl $(codedirs) doc-gnome @POSUB@
-+codedirs=vfs lib doc slang edit src new_icons icons syntax
-+unixdirs=intl $(codedirs) @POSUB@
++codedirs=vfs lib doc slang gtkedit edit src new_icons icons syntax @gnomecodedirs@
++unixdirs=intl $(codedirs) @gnomeunixdirs@ @POSUB@
alldirs=$(unixdirs) $(foreigndirs)
subdirs=$(alldirs)
@@ -29,14 +29,3 @@ $NetBSD: patch-af,v 1.10 1999/10/23 11:52:07 tron Exp $
chmod +x $(DESTDIR)$(suppbindir)/mcfn_install
@echo "Please verify that the configuration values are correctly"
@echo "set in the mc.ext file in $(mclibdir)"
-@@ -57,9 +58,8 @@
- installdirs:
- $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mclibdir)
- $(MKINSTALLDIRS) $(DESTDIR)$(mandir) $(DESTDIR)$(man8dir)
-- $(MKINSTALLDIRS) $(DESTDIR)$(icondir) $(DESTDIR)$(suppbindir)
-+ $(MKINSTALLDIRS) $(DESTDIR)$(suppbindir) $(DESTDIR)$(syntaxdir)
- $(MKINSTALLDIRS) $(DESTDIR)$(tidir) $(DESTDIR)$(extfsdir)
-- $(MKINSTALLDIRS) $(DESTDIR)$(idldir) $(DESTDIR)$(syntaxdir)
-
- mcfninstall:
- -/bin/sh ./mcfn_install
diff --git a/sysutils/mc/patches/patch-ag b/sysutils/mc/patches/patch-ag
index 1a199e4cd77..20120497898 100644
--- a/sysutils/mc/patches/patch-ag
+++ b/sysutils/mc/patches/patch-ag
@@ -1,13 +1,13 @@
-$NetBSD: patch-ag,v 1.7 2000/03/03 23:56:42 tron Exp $
+$NetBSD: patch-ag,v 1.8 2000/10/19 23:31:18 jlam Exp $
---- vfs/extfs/uzip.in.orig Tue Dec 7 00:49:56 1999
-+++ vfs/extfs/uzip.in Thu Mar 2 22:25:30 2000
+--- vfs/extfs/uzip.in.orig Mon Jul 3 10:32:00 2000
++++ vfs/extfs/uzip.in
@@ -7,7 +7,7 @@
#
#
-DZIP=/usr/bin
-+DZIP=@prefix@/bin
++DZIP=@LOCALBASE@
XZIP="$DZIP/zip -g"
XDZIP="$DZIP/zip -d"
XUNZIP="$DZIP/unzip"
diff --git a/sysutils/mc/patches/patch-ah b/sysutils/mc/patches/patch-ah
index adb5da80f13..07ebe57587d 100644
--- a/sysutils/mc/patches/patch-ah
+++ b/sysutils/mc/patches/patch-ah
@@ -1,13 +1,13 @@
-$NetBSD: patch-ah,v 1.2 2000/03/03 23:56:42 tron Exp $
+$NetBSD: patch-ah,v 1.3 2000/10/19 23:31:18 jlam Exp $
---- vfs/extfs/urar.in.orig Tue Dec 7 00:49:56 1999
-+++ vfs/extfs/urar.in Thu Mar 2 22:29:44 2000
+--- vfs/extfs/urar.in.orig Mon Jul 3 10:32:00 2000
++++ vfs/extfs/urar.in
@@ -5,7 +5,7 @@
# Updated by christian.gennerat@alcatel.fr 1999
# beta version 2.0
#
-DRAR=/usr/bin
-+DRAR=@prefix@/bin
++DRAR=@LOCALBASE@
RAR=$DRAR/rar
UNRAR=$DRAR/unrar # Prefer unrar (freeware)
#