pkgsrc/sysutils/fix4SA110rev2/patches/patch-aa
abs d6dec5289c - Fix build issue
- Add PKG_DESTDIR_SUPPORT
- Allow to build on any platform
- bump PKGREVISION
2009-02-10 12:49:56 +00:00

33 lines
962 B
Text

$NetBSD: patch-aa,v 1.2 2009/02/10 12:49:56 abs Exp $
--- fix4SA110rev2.c.orig 2009-02-10 12:46:34.000000000 +0000
+++ fix4SA110rev2.c
@@ -79,8 +79,8 @@
*/
#include <stdio.h>
-#include <a.out.h>
#include <stdlib.h>
+#include <a.out.h>
/* All programs are loaded at this base address. */
#define LOAD_ADDR 0x1000
@@ -100,7 +100,7 @@ int fixcount = 0;
static void usage(void)
{
- fprintf(stderr, "Usage: findbad <infile> <outfile>\n");
+ fprintf(stderr, "Usage: fix4SA110rev2 <infile> <outfile>\n");
}
fix *newfix(unsigned long where, unsigned long inst)
@@ -240,8 +240,7 @@ space
for instructions that do not appear elsewhere, and for the ldr pc
hackery. */
if (fixcount > i - 1)
- fprintf(stderr, "Insufficient space for patch instructions (need %d
-words)\n", fixcount);
+ fprintf(stderr, "Insufficient space for patch instructions (need %d words)\n", fixcount);
if ((out = fopen(argv[2], "w")) == NULL)
{