Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2017 20:21:38 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433094 - in head/cad/alliance: . files
Message-ID:  <201702012021.v11KLcPA065666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Feb  1 20:21:38 2017
New Revision: 433094
URL: https://svnweb.freebsd.org/changeset/ports/433094

Log:
  cad/alliance: unbreak on 12.0 after base r308264
  
  In file included from /usr/include/math.h:20:0,
                   from rutacces.c:18:
  ruterror.h:49:14: error: expected identifier or '(' before '__builtin_choose_expr'
   extern char *basename();
                ^
  
  Reported by:	pkg-fallout

Added:
  head/cad/alliance/files/patch-rds_src_ruterror.h   (contents, props changed)
Modified:
  head/cad/alliance/Makefile   (contents, props changed)

Modified: head/cad/alliance/Makefile
==============================================================================
--- head/cad/alliance/Makefile	Wed Feb  1 20:21:29 2017	(r433093)
+++ head/cad/alliance/Makefile	Wed Feb  1 20:21:38 2017	(r433094)
@@ -3,7 +3,7 @@
 
 PORTNAME=	alliance
 DISTVERSION=	5.0-20120515
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	cad
 MASTER_SITES=	http://ftp.lyx.org/lip6/softs/alliance/distribution/5.0/ \
 		http://ftp.jussieu.fr/lip6/softs/alliance/distribution/5.0/ \

Added: head/cad/alliance/files/patch-rds_src_ruterror.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/alliance/files/patch-rds_src_ruterror.h	Wed Feb  1 20:21:38 2017	(r433094)
@@ -0,0 +1,11 @@
+--- rds/src/ruterror.h.orig	2002-04-25 14:13:59 UTC
++++ rds/src/ruterror.h
+@@ -46,7 +46,7 @@
+ |                                                             |
+ \------------------------------------------------------------*/
+ 
+-extern char *basename();
++#include <libgen.h>
+ 
+ # define ruterror( E, V ) (rut_error( (E), (V), basename(__FILE__), __LINE__ ))
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702012021.v11KLcPA065666>