aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-02 04:36:12 +0800
committerpav <pav@FreeBSD.org>2003-12-02 04:36:12 +0800
commit3a58a6f9364e714347c740f346bc6e21a74efe57 (patch)
tree2bc52715a8a7edb105a497f4f33ed06fc6121af8
parentd43d64e0d750dd367e31407c7d92004f3f94620f (diff)
downloadfreebsd-ports-gnome-3a58a6f9364e714347c740f346bc6e21a74efe57.tar.gz
freebsd-ports-gnome-3a58a6f9364e714347c740f346bc6e21a74efe57.tar.zst
freebsd-ports-gnome-3a58a6f9364e714347c740f346bc6e21a74efe57.zip
- Unbreak on 5.x (gcc 3.3 preprocessor)
PR: ports/59781 Submitted by: Tony Maher <tonymaher@optushome.com.au> (maintainer) Approved by: marcus (portmgr)
-rw-r--r--math/xgobi/files/patch-Imakefile67
1 files changed, 62 insertions, 5 deletions
diff --git a/math/xgobi/files/patch-Imakefile b/math/xgobi/files/patch-Imakefile
index 3116cc2e00de..ee78e49a64c3 100644
--- a/math/xgobi/files/patch-Imakefile
+++ b/math/xgobi/files/patch-Imakefile
@@ -1,11 +1,68 @@
---- Imakefile.orig Sat Oct 12 12:26:37 2002
-+++ Imakefile Sat Oct 12 12:28:33 2002
-@@ -13,7 +13,7 @@
+--- Imakefile.orig Sat Nov 29 11:40:11 2003
++++ Imakefile Sat Nov 29 11:42:31 2003
+@@ -1,22 +1,23 @@
+-/**/#
+-/**/# This is an Imakefile for the XGobi program. The only change that
+-/**/# might need to be made is for the XGOBID variable.
+-/**/#
+-
+-/**/# Remove the comment delimeters on the second to next line to
+-/**/# compile for CORBA.
+-/**/# Requires some Omegahat code - see README.corba.
+-/**/#define USE_CORBA 1
+-
+-/**/# Set XGOBID to the directory containing
+-/**/# the xgobi directories src, help, ps, etc.
++/*
++** This is an Imakefile for the XGobi program. The only change that
++** might need to be made is for the XGOBID variable.
++**
++** Remove the comment delimeters on the fourth to next line to
++** compile for CORBA.
++** Requires some Omegahat code - see README.corba.
++*/
++/*#define USE_CORBA 1 */
++/*
++** Set XGOBID to the directory containing
++** the xgobi directories src, help, ps, etc.
++*/
XGOBID = $(PWD)/..
- /**/# Use the gnu C compiler
+-/**/# Use the gnu C compiler
- CC = gcc
++/* Use the gnu C compiler */
+ CC ?= gcc
CCOPTIONS = -ansi -w
- /**/# Or use the C compiler on your system, and whatever options it requires.
+-/**/# Or use the C compiler on your system, and whatever options it requires.
++/* Or use the C compiler on your system, and whatever options it requires.*/
+ # CC = cc
+ # CCOPTIONS = -xansi -n32
+
+@@ -29,17 +30,19 @@
+ #endif /* End of USE_CORBA */
+
+
+-/**/#
+-/**/# RPC: Remote Procedure Calls
+-/**/#
++/*
++** RPC: Remote Procedure Calls
++*/
++
++/* If you plan to use RPC, uncomment this #define
++** RPC is the define for any kind of RPC
++*/
+
+-/**/# If you plan to use RPC, uncomment this #define
+-/**/# RPC is the define for any kind of RPC
+ /* #define RPC */
+
+-/**/# Special RPCs
++/* Special RPCs */
+ /* #define DCE_RPC */
+-/**/# If you plan to use XPLORE, uncomment this #define
++/* If you plan to use XPLORE, uncomment this #define */
+ /* #define XPLORE */
+
+ #ifdef HPArchitecture