1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/print/bibview/files/patch-ab
Matthew Hunt d14c79c7f8 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>
1998-04-19 18:03:27 +00:00

33 lines
703 B
Plaintext

--- 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[] = {
#ifdef GERMAN
- #include "fb_ger.h"
+#include "fb_ger.h"
#else
- #include "fb_res.h"
+#include "fb_res.h"
#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);
}