Date: Fri, 22 Jan 1999 14:56:24 -0500 From: "Pedro F. Giffuni" <pfgiffun@bachue.usc.unal.edu.co> To: ports@FreeBSD.ORG Subject: Problems with XView Message-ID: <36A8D7E8.75C4491E@bachue.usc.unal.edu.co>
next in thread | raw e-mail | index | archive | help
Howdy, I require XView for an old port I'm working on (Robot), and I noticed that it's very buggy. One thing I don't understand is why we are building it without mmap() and locale() support. I heard there were some problems with mmap before 3.0, but hopefully they are gone now. I am still playing with this, and I am planning to make many changes there, but I would like some feedback from those interested in this change to the xview-config port: diff -rc xview-config.old/patches/patch-ab xview-config/patches/patch-ab *** xview-config.old/patches/patch-ab Fri Jan 22 09:38:01 1999 --- xview-config/patches/patch-ab Fri Jan 22 09:50:06 1999 *************** *** 1,6 **** ! diff -rc ../old/xview3.2p1-X11R6/config/XView.cf XView.cf ! *** ../old/xview3.2p1-X11R6/config/XView.cf Sun Jun 26 22:09:19 1994 ! --- XView.cf Sun Nov 20 13:38:58 1994 *************** *** 101,107 **** * the appropriate value. --- 1,5 ---- ! *** XView.cf.orig Sun Jun 26 21:09:19 1994 ! --- XView.cf Fri Jan 22 09:49:36 1999 *************** *** 101,107 **** * the appropriate value. *************** *** 36,74 **** /* * If you would like the XView man pages to be installed in *************** ! *** 305,311 **** ! * malloc() and read() will be used instead. */ ! #ifndef OsHasMmap ! ! #define OsHasMmap YES #endif /* ! * The implementation of internationalization support in XView depends ! --- 305,311 ---- ! * malloc() and read() will be used instead. */ ! #ifndef OsHasMmap ! ! #define OsHasMmap NO #endif /* ! * The implementation of internationalization support in XView depends ! *************** ! *** 315,321 **** ! * features disabled. ! */ ! #ifndef OsHasLocale ! ! #define OsHasLocale YES ! #endif ! /* ! * There are number of memory allocation macros in lib/libxview/base.h ! --- 315,321 ---- ! * features disabled. ! */ ! #ifndef OsHasLocale ! ! #define OsHasLocale NO ! #endif ! /* ! * There are number of memory allocation macros in lib/libxview/base.h *************** *** 360,366 **** * be defined as -PIC --- 35,56 ---- /* * If you would like the XView man pages to be installed in *************** ! *** 259,265 **** ! * following variable to YES. */ ! #ifndef InstallAllImages ! ! #define InstallAllImages NO #endif /* ! * If you do not already have the textsw extras menu installed in ! --- 259,265 ---- ! * following variable to YES. */ ! #ifndef InstallAllImages ! ! #define InstallAllImages YES #endif /* ! * If you do not already have the textsw extras menu installed in *************** *** 360,366 **** * be defined as -PIC *************** *** 82,88 **** * be defined as -PIC */ #ifndef PositionIndependentCodeFlag ! ! #define PositionIndependentCodeFlag -fpic #endif /* --- 64,70 ---- * be defined as -PIC */ #ifndef PositionIndependentCodeFlag ! ! #define PositionIndependentCodeFlag -fPIC #endif /* diff -rc xview-config.old/patches/patch-ae xview-config/patches/patch-ae *** xview-config.old/patches/patch-ae Fri Jan 22 09:38:01 1999 --- xview-config/patches/patch-ae Fri Jan 22 09:48:49 1999 *************** *** 1,5 **** ! *** XView.tmpl.orig Mon Sep 21 14:35:22 1998 ! --- XView.tmpl Mon Sep 21 14:38:43 1998 *************** *** 96,102 **** * Work around small conflict with Project.tmpl file --- 1,5 ---- ! *** XView.tmpl.orig Sun Jun 26 21:10:00 1994 ! --- XView.tmpl Fri Jan 22 09:44:47 1999 *************** *** 96,102 **** * Work around small conflict with Project.tmpl file *************** *** 126,128 **** --- 126,151 ---- # define SharedXViewRev 3 #else # define SharedXViewRev 3.2 + *************** + *** 449,460 **** + * Include the XView specific makefile macros. + */ + + - /* This is just needed here because X11 is installed with gcc as + - a default compiler. + - lumpi@dobag.in-berlin.de + - + #undef CcCmd + #define CcCmd cc + ! #define LibraryCcCmd cc */ + #include <XView.rules> + #endif /* XViewTmpl */ + --- 441,448 ---- + * Include the XView specific makefile macros. + */ + + #undef CcCmd + #define CcCmd cc + ! #define LibraryCcCmd cc + #include <XView.rules> + #endif /* XViewTmpl */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36A8D7E8.75C4491E>