FreeBSD Bugzilla – Attachment 26833 Details for
Bug 45694
[bento-fix] : sysutils/xosview
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
xosview.diff
xosview.diff (text/plain), 1.89 KB, created by
Clement Laforet
on 2002-11-25 00:10:01 UTC
(
hide
)
Description:
xosview.diff
Filename:
MIME Type:
Creator:
Clement Laforet
Created:
2002-11-25 00:10:01 UTC
Size:
1.89 KB
patch
obsolete
>diff -Nru xosview.orig/Makefile xosview/Makefile >--- xosview.orig/Makefile Sun Nov 24 23:59:58 2002 >+++ xosview/Makefile Sun Nov 24 23:43:59 2002 >@@ -18,4 +18,11 @@ > GNU_CONFIGURE= yes > MAN1= xosview.1 > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+ >+.if ${OSVERSION} >= 500040 && (!defined(FORCE_BUILD) || !defined(CXX)) >+BROKEN= "Xosview is broken due to gcc bug. To install it on 5.X system \ >+ Use FORCE_BUILD=YES and use gcc =< 3.1 (ie define CXX="g++31")" >+.endif >+ >+.include <bsd.port.post.mk> >diff -Nru xosview.orig/files/patch-general.h xosview/files/patch-general.h >--- xosview.orig/files/patch-general.h Thu Jan 1 00:00:00 1970 >+++ xosview/files/patch-general.h Sun Nov 24 23:48:08 2002 >@@ -0,0 +1,35 @@ >+--- general.h.orig Fri Feb 14 07:22:03 1997 >++++ general.h Sun Nov 24 23:47:54 2002 >+@@ -1,5 +1,6 @@ >+ #ifndef General_h >+ #define General_h >++#include <sys/param.h> >+ >+ // Copyright (c) 1996, 1997 by Brian Grayson (bgrayson@ece.utexas.edu) >+ // >+@@ -20,8 +21,11 @@ >+ >+ #ifdef __GNUC__ >+ /* Grab _G_HAVE_BOOL, if possible. */ >++#if defined(__FreeBSD__) && (__FreeBSD_version < 500035) >+ #include <_G_config.h> >+ #endif >++#endif >++ >+ >+ #ifndef _G_HAVE_BOOL >+ /* Every GNU system has _G_config.h, I believe, which tells us >+@@ -33,7 +37,13 @@ >+ #undef false >+ #undef TRUE >+ #undef true >++#if defined(__FreeBSD__) && (__FreeBSD_version >= 500035) >++enum Bool {FALSE, TRUE}; >++#define false FALSE >++#define true TRUE >++#else >+ enum bool { FALSE = 0, false = 0, TRUE = 1, true = 1 }; >++#endif >+ #endif >+ >+ >diff -Nru xosview.orig/pkg-descr xosview/pkg-descr >--- xosview.orig/pkg-descr Sun Nov 24 23:59:58 2002 >+++ xosview/pkg-descr Sun Nov 24 23:57:13 2002 >@@ -10,7 +10,7 @@ > of the kernel needs to volunteer to help make this a fully functional > port! > >-WWW: http://lore.ece.utexas.edu/~bgrayson/xosview.html >+WWW: http://xosview.sourceforge.net/ > > -- > Brian Handy --> handy@physics.montana.edu
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 45694
: 26833