FreeBSD Bugzilla – Attachment 52085 Details for
Bug 78960
[MAINTAINER] editors/xemacs-devel-mule: update to 21.5.b20
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
xemacs-devel-mule.diff
xemacs-devel-mule.diff (text/plain), 11.33 KB, created by
Andrey Slusar
on 2005-03-17 21:30:01 UTC
(
hide
)
Description:
xemacs-devel-mule.diff
Filename:
MIME Type:
Creator:
Andrey Slusar
Created:
2005-03-17 21:30:01 UTC
Size:
11.33 KB
patch
obsolete
>diff -ruN xemacs-devel-mule.old/Makefile editors/xemac-devel-mule/Makefile >--- editors/xemac-devel-mule.old/Makefile Sun Mar 6 22:45:49 2005 >+++ editors/xemac-devel-mule/Makefile Thu Mar 17 21:44:42 2005 >@@ -44,27 +44,27 @@ > .endif > > XEMACS_REL= 21.5 >-XEMACS_VER= ${XEMACS_REL}-b19 >-XEMACS_ARCH= ${CONFIGURE_TARGET} >+XEMACS_VER= ${XEMACS_REL}-b20 >+XEMACS_ARCH= ${MACHINE_ARCH}--freebsd > > WRKSRC= ${WRKDIR}/xemacs-${XEMACS_VER:S/-b/./} > STRIP= >-USE_AUTOCONF_VER=213 >-CONFIGURE_TARGET=${MACHINE_ARCH}--freebsd >+USE_AUTOCONF_VER=259 >+CONFIGURE_TARGET=--build=${XEMACS_ARCH} > >-CONFIGURE_ARGS= --with-mule \ >+CONFIGURE_ARGS= --enable-mule \ > --x-includes=${X11BASE}/include \ > --x-libraries=${X11BASE}/lib \ >- --site-libraries='${SITE_LIBRARIES}' \ >- --site-includes='${SITE_INCLUDES}' \ >- --with-sound=native \ >+ --with-site-libraries='${SITE_LIBRARIES}' \ >+ --with-site-includes='${SITE_INCLUDES}' \ >+ --enable-sound=native \ > --with-site-lisp \ > --with-pop \ > --with-xfs \ > --with-ldap=no \ >- --infopath=${LOCALBASE}/lib/xemacs/info:${LOCALBASE}/info:${X11BASE}/info:/usr/info:${LOCALBASE}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \ >- --with-clash-detection \ >- --with-database=berkdb \ >+ --with-infopath=${LOCALBASE}/lib/xemacs/info:${LOCALBASE}/info:${X11BASE}/info:/usr/info:${LOCALBASE}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \ >+ --enable-clash-detection \ >+ --enable-database=berkdb \ > ${WITH_XIM} \ > ${WITH_MENUBARS} ${WITH_SCROLLBARS} \ > ${WITH_DIALOGS} ${WITH_WIDGETS} >@@ -82,11 +82,16 @@ > .endif > > .if !defined(DEBUG) >-CONFIGURE_ARGS+=--debug=no --error-checking=none >+CONFIGURE_ARGS+=--enable-debug=no --enable-error-checking=no > .endif > > .if defined(WITH_GTK) > CONFIGURE_ARGS+=--with-gtk >+WITH_XIM= >+WITH_MENUBARS= --enable-menubars=gtk >+WITH_SCROLLBARS=--enable-scrollbars=gtk >+WITH_DIALOGS= --enable-dialogs=gtk >+WITH_WIDGETS= --enable-widgets=gtk > USE_GNOME+= gtk12 > .endif > >@@ -98,7 +103,7 @@ > > # Undump and malloc do not behave on amd64 and sparc64 > .if (${ARCH} == "amd64") || (${ARCH} == "sparc64") >-CONFIGURE_ARGS+=--with-system-malloc --pdump >+CONFIGURE_ARGS+=--with-system-malloc --enable-pdump > .endif > > pre-fetch: >@@ -106,7 +111,7 @@ > @${ECHO_MSG} "" > @${ECHO_MSG} "Set the environment variable WITHOUT_X11 if you " > @${ECHO_MSG} "do not want to use X11." >-CONFIGURE_ARGS+= --without-x11 >+CONFIGURE_ARGS+= --with-x11=no > .else > .if !defined(WITH_GTK) > @${ECHO_MSG} "If you want to use GTK, please set the environment variable WITH_GTK and recompile." >@@ -124,23 +129,23 @@ > > # hack to avoid shipping binaries linked with Motif > .if defined(MOTIF_STATIC) >-WITH_DIALOGS= --with-dialogs=athena >+WITH_DIALOGS?= --enable-dialogs=athena > .else >-WITH_DIALOGS= --with-dialogs=motif >+WITH_DIALOGS?= --enable-dialogs=motif > .endif > > .if defined(PACKAGE_BUILDING) > CONFIGURE_ARGS+=--with-offix=no > .endif >-WITH_MENUBARS?= --with-menubars=lucid >-WITH_SCROLLBARS?=--with-scrollbars=motif >-WITH_WIDGETS?= --with-widgets=motif >+WITH_MENUBARS?= --enable-menubars=lucid >+WITH_SCROLLBARS?=--enable-scrollbars=motif >+WITH_WIDGETS?= --enable-widgets=motif > .endif > WITH_XIM?= --with-xim=xlib >-WITH_MENUBARS?= --with-menubars=athena >-WITH_SCROLLBARS?=--with-scrollbars=athena >-WITH_DIALOGS?= --with-dialogs=athena >-WITH_WIDGETS?= --with-widgets=athena >+WITH_MENUBARS?= --enable-menubars=athena >+WITH_SCROLLBARS?=--enable-scrollbars=athena >+WITH_DIALOGS?= --enable-dialogs=athena >+WITH_WIDGETS?= --enable-widgets=athena > > .if defined(WITH_XAW3D) > CONFIGURE_ARGS+=--with-athena=3d >diff -ruN editors/xemac-devel-mule.old/distinfo editors/xemac-devel-mule/distinfo >--- editors/xemac-devel-mule.old/distinfo Fri Feb 25 23:01:20 2005 >+++ editors/xemac-devel-mule/distinfo Sat Mar 12 20:48:21 2005 >@@ -1,2 +1,2 @@ >-MD5 (xemacs/xemacs-21.5.19.tar.gz) = 75ca89c49b4d99ae00113f8cd1b2a287 >-SIZE (xemacs/xemacs-21.5.19.tar.gz) = 15564957 >+MD5 (xemacs/xemacs-21.5.20.tar.gz) = 8bf5f1af05588cb59a67bade939c4aeb >+SIZE (xemacs/xemacs-21.5.20.tar.gz) = 11872002 >diff -ruN editors/xemac-devel-mule.old/files/patch-af editors/xemac-devel-mule/files/patch-af >--- editors/xemac-devel-mule.old/files/patch-af Wed Feb 23 02:12:50 2005 >+++ editors/xemac-devel-mule/files/patch-af Thu Jan 1 03:00:00 1970 >@@ -1,53 +0,0 @@ >---- configure.in.orig Fri Feb 14 14:31:16 2003 >-+++ configure.in Tue Apr 29 21:52:41 2003 >-@@ -1133,6 +1133,7 @@ >- dnl Straightforward OS determination >- case "$canonical" in >- *-*-linux* ) opsys=linux ;; >-+ *-*-freebsd* ) opsys=freebsd ;; >- *-*-netbsd* ) opsys=netbsd ;; >- *-*-openbsd* ) opsys=openbsd ;; >- *-*-nextstep* ) opsys=nextstep ;; >-@@ -3920,20 +3921,24 @@ >- test "$ac_cv_func_crypt" != "yes" && { AC_CHECK_LIB(crypt, crypt) } >- fi >- dnl Back to our regularly scheduled wnn hunting >-- if test -z "$with_wnn" -o "$with_wnn" = "yes"; then >-- AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn, >-- AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4, >-- AC_CHECK_LIB(wnn6,jl_dic_list_e,libwnn=wnn6, >-- AC_CHECK_LIB(wnn6_fromsrc,dic_list_e,libwnn=wnn6_fromsrc,with_wnn=no)))) >-+ if test "$with_wnn6" = "yes"; then >-+ AC_CHECK_LIB(wnn6,jl_fi_dic_list_e,libwnn=wnn6, >-+ AC_CHECK_LIB(wnn6_fromsrc,jl_fi_dic_list_e,libwnn=wnn6_fromsrc, >-+AC_CHECK_LIB(wnn,jl_fi_dic_list_e,libwnn=wnn, [with_wnn6=no; with_wnn=no]))) >-+ else >-+ if test -z "$with_wnn" -o "$with_wnn" = "yes"; then >-+ AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn, >-+AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4, >-+ AC_CHECK_LIB(wnn6,jl_fi_dic_list_e,[libwnn=wnn6; with_wnn6=yes], >-+ AC_CHECK_LIB(wnn6_fromsrc,jl_fi_dic_list_e, [libwnn=wnn6_fromsrc; with_wnn6=yes],with_wnn=no)))) >-+ fi >- fi >- test -z "$with_wnn" && with_wnn=yes >- if test "$with_wnn" = "yes"; then >- AC_DEFINE(HAVE_WNN) >- XE_PREPEND(-l$libwnn, libs_x) >-- if test "$with_wnn6" != "no"; then >-- AC_CHECK_LIB($libwnn, jl_fi_dic_list, with_wnn6=yes) >-- test "$with_wnn6" = "yes" && AC_DEFINE(WNN6) >-- fi >-+ dnl XE_ADD_OBJS(mule-wnnfns.o) missing here >-+ test "$with_wnn6" = "yes" && AC_DEFINE(WNN6) >- fi >- >- dnl Autodetect canna >-@@ -4526,7 +4531,7 @@ >- dnl Check for Berkeley DB. >- if test "$with_database_berkdb" != "no"; then >- AC_MSG_CHECKING(for Berkeley db.h) >-- for header in "db/db.h" "db.h"; do >-+ for header in "/usr/include/db.h" "db/db.h" "db.h"; do >- AC_TRY_COMPILE([ >- #include <stdlib.h> >- #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) >diff -ruN editors/xemac-devel-mule.old/files/patch-configure.ac editors/xemac-devel-mule/files/patch-configure.ac >--- editors/xemac-devel-mule.old/files/patch-configure.ac Thu Jan 1 03:00:00 1970 >+++ editors/xemac-devel-mule/files/patch-configure.ac Thu Mar 17 22:20:20 2005 >@@ -0,0 +1,82 @@ >+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 >+ *-*-linux* ) opsys=linux ;; >++ *-*-freebsd* ) opsys=freebsd ;; >+ *-*-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 >+ AC_MSG_CHECKING(for Berkeley db.h) >+- for header in "db/db.h" "db.h"; do >++ for header in "/usr/include/db.h" "db/db.h" "db.h"; do >+ AC_TRY_COMPILE([ >+ #include <stdlib.h> >+ #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) >diff -ruN editors/xemac-devel-mule.old/files/patch-freebsd.h editors/xemac-devel-mule/files/patch-freebsd.h >--- editors/xemac-devel-mule.old/files/patch-freebsd.h Wed Feb 23 02:13:35 2005 >+++ editors/xemac-devel-mule/files/patch-freebsd.h Thu Jan 1 03:00:00 1970 >@@ -1,11 +0,0 @@ >---- src/s/freebsd.h.old Sun Dec 26 00:47:51 2004 >-+++ src/s/freebsd.h Sun Dec 26 00:48:27 2004 >-@@ -29,7 +29,7 @@ >- #ifndef __FreeBSD_version >- #include <osreldate.h> >- #endif >--#if __FreeBSD_version >= 199701 >-+#if __FreeBSD_version >= 199701 && __FreeBSD_version < 600006 >- #define LIBS_SYSTEM "-lutil -lxpg4" >- #else >- #define LIBS_SYSTEM "-lutil" >diff -ruN editors/xemac-devel-mule.old/pkg-plist editors/xemac-devel-mule/pkg-plist >--- editors/xemac-devel-mule.old/pkg-plist Fri Feb 25 18:24:42 2005 >+++ editors/xemac-devel-mule/pkg-plist Thu Mar 17 22:36:53 2005 >@@ -67,6 +67,7 @@ > lib/xemacs-%%XEMACS_VER%%/etc/VEGETABLES > lib/xemacs-%%XEMACS_VER%%/etc/XKeysymDB > lib/xemacs-%%XEMACS_VER%%/etc/cbx.png >+lib/xemacs-%%XEMACS_VER%%/etc/configure-2.13 > lib/xemacs-%%XEMACS_VER%%/etc/ctags.1 > lib/xemacs-%%XEMACS_VER%%/etc/custom/check0.xpm > lib/xemacs-%%XEMACS_VER%%/etc/custom/check1.xpm >@@ -899,7 +900,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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 78960
: 52085 |
52086