diff options
author | sem <sem@FreeBSD.org> | 2005-06-04 17:56:18 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-06-04 17:56:18 +0800 |
commit | 53dd11d3703d5f061884241000599b62b593dea3 (patch) | |
tree | 3dc31abc031ccde4caacb30e53de0d0fa563f509 /editors | |
parent | ade85252c999c746f16660f09cfcc78583c890dd (diff) | |
download | freebsd-ports-gnome-53dd11d3703d5f061884241000599b62b593dea3.tar.gz freebsd-ports-gnome-53dd11d3703d5f061884241000599b62b593dea3.tar.zst freebsd-ports-gnome-53dd11d3703d5f061884241000599b62b593dea3.zip |
* Update to 21.5-b21 "corn"
* Unbreak on non-i386 platforms
* Update EMACS_VER on editors/xemacs-devel-mule
* Fix EMACS_VER on editors/xemacs-devel
PR: ports/81866
Submitted by: Andrey Slusar <anrays@gmail.com> (maintainer)
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-devel-mule/Makefile | 11 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/distinfo | 4 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-ai | 20 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-ak | 17 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-alloc.c | 16 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-configure.ac | 63 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-regex.c | 11 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/pkg-plist | 2 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/pkg-plist.arch-dep | 1 |
9 files changed, 17 insertions, 128 deletions
diff --git a/editors/xemacs-devel-mule/Makefile b/editors/xemacs-devel-mule/Makefile index 7aa044b98ef9..acaa23e7133d 100644 --- a/editors/xemacs-devel-mule/Makefile +++ b/editors/xemacs-devel-mule/Makefile @@ -48,7 +48,7 @@ USE_XPM= yes .endif XEMACS_REL= 21.5 -XEMACS_VER= ${XEMACS_REL}-b20 +XEMACS_VER= ${XEMACS_REL}-b21 XEMACS_ARCH= ${MACHINE_ARCH}--freebsd WRKSRC= ${WRKDIR}/xemacs-${XEMACS_VER:S/-b/./} @@ -105,15 +105,6 @@ PLIST_SUB= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH} .include <bsd.port.pre.mk> -# Undump and malloc do not behave on amd64 and sparc64 -.if (${ARCH} == "amd64") || (${ARCH} == "sparc64") -CONFIGURE_ARGS+=--with-system-malloc --enable-pdump -.endif - -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64" -BROKEN= "Does not build on amd64, sparc64 or ia64" -.endif - pre-fetch: .if defined(WITHOUT_X11) @${ECHO_MSG} "" diff --git a/editors/xemacs-devel-mule/distinfo b/editors/xemacs-devel-mule/distinfo index 1d8d2eb6c3a5..dc628ed5ab6f 100644 --- a/editors/xemacs-devel-mule/distinfo +++ b/editors/xemacs-devel-mule/distinfo @@ -1,2 +1,2 @@ -MD5 (xemacs/xemacs-21.5.20.tar.gz) = 8bf5f1af05588cb59a67bade939c4aeb -SIZE (xemacs/xemacs-21.5.20.tar.gz) = 11872002 +MD5 (xemacs/xemacs-21.5.21.tar.gz) = 5941238fe8eda3a120bc5735cc50a94d +SIZE (xemacs/xemacs-21.5.21.tar.gz) = 14963507 diff --git a/editors/xemacs-devel-mule/files/patch-ai b/editors/xemacs-devel-mule/files/patch-ai deleted file mode 100644 index c91881639c5e..000000000000 --- a/editors/xemacs-devel-mule/files/patch-ai +++ /dev/null @@ -1,20 +0,0 @@ ---- lib-src/fakemail.c.orig Tue Mar 23 22:09:58 1999 -+++ lib-src/fakemail.c Tue Mar 23 22:12:20 1999 -@@ -157,9 +157,17 @@ - extern char *malloc (), *realloc (); - #endif - -+#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 -+#define CURRENT_USER -+#endif -+ - #ifdef CURRENT_USER - extern struct passwd *getpwuid (); -+#if defined(__FreeBSD_version) && __FreeBSD_version >= 400000 -+extern uid_t geteuid (); -+#else - extern unsigned short geteuid (); -+#endif - static struct passwd *my_entry; - #define cuserid(s) \ - (my_entry = getpwuid (((int) geteuid ())), \ diff --git a/editors/xemacs-devel-mule/files/patch-ak b/editors/xemacs-devel-mule/files/patch-ak deleted file mode 100644 index 1284f826cc7e..000000000000 --- a/editors/xemacs-devel-mule/files/patch-ak +++ /dev/null @@ -1,17 +0,0 @@ ---- ./src/unexelf.c~ Sun Aug 15 03:29:56 1999 -+++ ./src/unexelf.c Tue Nov 2 10:24:55 1999 -@@ -515,6 +515,14 @@ - # include <sys/exec_elf.h> - #endif - -+#if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__)) -+# ifdef __STDC__ -+# define ElfW(type) Elf64_##type -+# else -+# define ElfW(type) Elf64_/**/type -+# endif -+#endif -+ - #if __GNU_LIBRARY__ - 0 >= 6 - # include <link.h> /* get ElfW etc */ - #endif diff --git a/editors/xemacs-devel-mule/files/patch-alloc.c b/editors/xemacs-devel-mule/files/patch-alloc.c deleted file mode 100644 index 5041461ccc60..000000000000 --- a/editors/xemacs-devel-mule/files/patch-alloc.c +++ /dev/null @@ -1,16 +0,0 @@ -Index: src/alloc.c -=================================================================== -RCS file: /pack/xemacscvs/XEmacs/xemacs/src/alloc.c,v -retrieving revision 1.106 -diff -u -r1.106 alloc.c ---- src/alloc.c 2005/02/03 16:14:04 1.106 -+++ src/alloc.c 2005/02/23 00:01:18 -@@ -349,7 +349,7 @@ - - #else /* ERROR_CHECK_MALLOC */ - --#define MALLOC_BEGIN(block) -+#define MALLOC_BEGIN() - #define FREE_OR_REALLOC_BEGIN(block) - #define MALLOC_END() - diff --git a/editors/xemacs-devel-mule/files/patch-configure.ac b/editors/xemacs-devel-mule/files/patch-configure.ac index e27c99fdbaab..a716503ed86d 100644 --- a/editors/xemacs-devel-mule/files/patch-configure.ac +++ b/editors/xemacs-devel-mule/files/patch-configure.ac @@ -1,19 +1,5 @@ -Index: configure.ac -=================================================================== -RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v -retrieving revision 1.2 -diff -u -r1.2 configure.ac --- configure.ac 2005/03/11 11:19:01 1.2 +++ configure.ac 2005/03/17 20:16:50 -@@ -11,7 +11,7 @@ - xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' - xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' - ac_cpp='$CPP '"$xe_cppflags" --ac_compile='$CC -c $CFLAGS'"$xe_cppflags"' conftest.$ac_ext >&AS_MESSAGE_LOG_FD' -+ac_compile='$CC -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext >&AS_MESSAGE_LOG_FD' - ac_link='$CC -o conftest$ac_exeext $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' >&AS_MESSAGE_LOG_FD' - ac_compiler_gnu=$ac_cv_c_compiler_gnu - ]) @@ -1148,6 +1148,7 @@ dnl Straightforward OS determination case "$ac_cv_build" in @@ -22,55 +8,6 @@ diff -u -r1.2 configure.ac *-*-netbsd* ) opsys=netbsd ;; *-*-openbsd* ) opsys=openbsd ;; *-*-nextstep* ) opsys=nextstep ;; -@@ -1706,12 +1707,12 @@ - else cflags_warning_specified=no; - fi - --if test "${cflags_optimization-unset}" != unset -+if test "${with_cflags_optimization-unset}" != unset - then cflags_optimization_specified=yes; - else cflags_optimization_specified=no; - fi - --if test "${cflags_debugging-unset}" != unset -+if test "${with_cflags_debugging-unset}" != unset - then cflags_debugging_specified=yes; - else cflags_debugging_specified=no; - fi -@@ -2048,11 +2049,11 @@ - dnl Calculate optimization flags. These will be off by default in beta - dnl versions and on in release versions. - --if test -z "$with_optimization" ; then -- if test -n "$emacs_is_beta" ; then -- with_optimization=no -- else -+if test -z "$with_optimization"; then -+ if test -z "$emacs_is_beta" -o "$cflags_optimization_specified" = "yes"; then - with_optimization=yes -+ else -+ with_optimization=no - fi - fi - -@@ -3811,7 +3812,7 @@ - png_problem="" - test -z "$with_png" && { AC_CHECK_FUNC(pow, ,with_png=no) } - test -z "$with_png" && { AC_CHECK_HEADER(png.h, ,with_png=no) } -- test -z "$with_png" && { AC_CHECK_LIB(png, png_read_image,[:],with_png=no) } -+ test -z "$with_png" && { AC_CHECK_LIB(png, png_read_image,[:],with_png=no,[-lz]) } - if test -z "$with_png"; then - AC_MSG_CHECKING(for workable png version information) - xe_check_libs="-lpng -lz" -@@ -3847,7 +3848,7 @@ - - dnl autodetect TIFF - test -z "$with_tiff" && { AC_CHECK_HEADER(tiffio.h, ,with_tiff=no) } -- test -z "$with_tiff" && { AC_CHECK_LIB(tiff, TIFFClientOpen,[:],with_tiff=no) } -+ test -z "$with_tiff" && { AC_CHECK_LIB(tiff, TIFFClientOpen,[:],with_tiff=no,[-lz]) } - test -z "$with_tiff" && with_tiff=yes - if test "$with_tiff" = "yes"; then - AC_DEFINE(HAVE_TIFF) @@ -4943,7 +4950,7 @@ dnl Check for Berkeley DB. if test "$enable_database_berkdb" != "no"; then diff --git a/editors/xemacs-devel-mule/files/patch-regex.c b/editors/xemacs-devel-mule/files/patch-regex.c new file mode 100644 index 000000000000..b546281d5559 --- /dev/null +++ b/editors/xemacs-devel-mule/files/patch-regex.c @@ -0,0 +1,11 @@ +--- src/regex.c.orig Sun Apr 18 22:19:13 2004 ++++ src/regex.c Sun Apr 18 22:18:40 2004 +@@ -1322,7 +1322,7 @@ + exactly that if always used MAX_FAILURE_SPACE each time we failed. + This is a variable only so users of regex can assign to it; we never + change it ourselves. */ +-#if defined (MATCH_MAY_ALLOCATE) ++#if defined (MATCH_MAY_ALLOCATE) || defined (REGEX_MALLOC) + /* 4400 was enough to cause a crash on Alpha OSF/1, + whose default stack limit is 2mb. */ + int re_max_failures = 20000; diff --git a/editors/xemacs-devel-mule/pkg-plist b/editors/xemacs-devel-mule/pkg-plist index bc210152e457..4b9a3a43fef5 100644 --- a/editors/xemacs-devel-mule/pkg-plist +++ b/editors/xemacs-devel-mule/pkg-plist @@ -583,6 +583,7 @@ lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lisp-union.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lisp.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lrecord.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lstream.h +lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/mc-alloc.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/m/7300.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/m/README lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/m/acorn.h @@ -900,6 +901,7 @@ lib/xemacs-%%XEMACS_VER%%/info/lispref.info-6 lib/xemacs-%%XEMACS_VER%%/info/lispref.info-7 lib/xemacs-%%XEMACS_VER%%/info/lispref.info-8 lib/xemacs-%%XEMACS_VER%%/info/lispref.info-9 +lib/xemacs-%%XEMACS_VER%%/info/lispref.info-10 lib/xemacs-%%XEMACS_VER%%/info/new-users-guide.info lib/xemacs-%%XEMACS_VER%%/info/standards.info lib/xemacs-%%XEMACS_VER%%/info/term.info diff --git a/editors/xemacs-devel-mule/pkg-plist.arch-dep b/editors/xemacs-devel-mule/pkg-plist.arch-dep index bd27a7c7af4e..2f2fe9da556e 100644 --- a/editors/xemacs-devel-mule/pkg-plist.arch-dep +++ b/editors/xemacs-devel-mule/pkg-plist.arch-dep @@ -105,6 +105,7 @@ lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lisp-union.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lisp.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lrecord.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/lstream.h +lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/mc-alloc.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/m/7300.h lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/m/README lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/include/m/acorn.h |