1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Apply patches by maintainer:

- Update maintainer's email address
- Fix a typecast problem

And my modifications:
- Change "version required" line in Makefile header
- Change patch to Imakefile to not override CC and CFLAGS.

PR:		6350
Submitted by:	David A. Bader <dbader@eece.unm.edu>
This commit is contained in:
Matthew Hunt 1998-04-19 18:03:27 +00:00
parent b24a4f4aad
commit d14c79c7f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10592
3 changed files with 36 additions and 9 deletions

View File

@ -1,9 +1,9 @@
# New ports collection makefile for: bibview
# Version required: 1.5
# Version required: 2.2
# Date created: 21 July 1997
# Whom: dbader@umiacs.umd.edu
# Whom: dbader@eece.unm.edu
#
# $Id: Makefile,v 1.2 1997/11/22 01:28:05 asami Exp $
# $Id: Makefile,v 1.3 1997/11/24 08:40:52 tg Exp $
#
DISTNAME= bibview-2.2
@ -11,7 +11,7 @@ CATEGORIES= databases print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= biblio/bibtex/utils/bibview-2.0
MAINTAINER= dbader@umiacs.umd.edu
MAINTAINER= dbader@eece.unm.edu
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/bibview-2.2

View File

@ -1,11 +1,20 @@
--- Imakefile.orig Mon Feb 27 14:41:19 1995
+++ Imakefile Mon Nov 24 09:30:53 1997
--- Imakefile.orig Mon Feb 27 08:41:19 1995
+++ Imakefile Sun Apr 19 13:51:51 1998
@@ -9,7 +9,7 @@
/* nothing needs to be modified below this point */
-CFLAGS = $(STD_CPP_DEFINES)
+CFLAGS = -I/usr/X11R6/include
+/* CFLAGS = $(STD_CPP_DEFINES) */
#ifdef NeXTArchitecture
SYS_LIBRARIES = XawClientLibs -lm -lsys_s
@@ -33,7 +33,7 @@
#else /* Others */ /* END SGIArchitecture */
-CC = gcc -fstrength-reduce -fpcc-struct-return
+/* CC = gcc -fstrength-reduce -fpcc-struct-return */
#endif
#endif

View File

@ -1,5 +1,5 @@
--- bibview.c.orig Fri Apr 21 18:49:15 1995
+++ bibview.c Thu Sep 11 13:08:28 1997
--- bibview.c.orig Fri Apr 21 10:49:15 1995
+++ bibview.c Sun Apr 19 07:33:25 1998
@@ -170,9 +170,9 @@
/* fallback resources */
static char *fallback_resources[] = {
@ -12,3 +12,21 @@
#endif
NULL
};
@@ -824,7 +824,7 @@
/* install signal handler */
for (i = 1; i<= 15; i++)
- signal(i, signalHandler);
+ signal(i, (sig_t)signalHandler);
/* install Xtoolkit handlers */
XtSetWarningHandler((XtErrorHandler)Xt_warningHandler);
@@ -891,7 +891,7 @@
static void
signalHandler (int s, int code)
{
- signal(s, signalHandler);
+ signal(s, (sig_t)signalHandler);
}