From owner-freebsd-ports Fri Jan 22 14:53:56 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26892 for freebsd-ports-outgoing; Fri, 22 Jan 1999 14:53:56 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from bachue.usc.unal.edu.co (bachue.usc.unal.edu.co [168.176.3.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26881 for ; Fri, 22 Jan 1999 14:53:54 -0800 (PST) (envelope-from pfgiffun@bachue.usc.unal.edu.co) Received: from bachue.usc.unal.edu.co ([168.176.3.44]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.0) with ESMTP id AAA3420 for ; Fri, 22 Jan 1999 15:39:35 +0500 Message-ID: <36A8D7E8.75C4491E@bachue.usc.unal.edu.co> Date: Fri, 22 Jan 1999 14:56:24 -0500 From: "Pedro F. Giffuni" Organization: U. Nacional de Colombia X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: ports@FreeBSD.ORG Subject: Problems with XView Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 + #endif /* XViewTmpl */ + --- 441,448 ---- + * Include the XView specific makefile macros. + */ + + #undef CcCmd + #define CcCmd cc + ! #define LibraryCcCmd cc + #include + #endif /* XViewTmpl */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message