diff options
author | novel <novel@FreeBSD.org> | 2006-08-09 02:04:47 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2006-08-09 02:04:47 +0800 |
commit | 95f676fa737c83cb23c81a5b4cd7ca3aeea6817e (patch) | |
tree | 154c07c18d4f3f1eeb8a58eba3201022386f8a44 /devel/udis86 | |
parent | a9f4a74259774c6b8a405d1076b2b1b331d113a0 (diff) | |
download | freebsd-ports-gnome-95f676fa737c83cb23c81a5b4cd7ca3aeea6817e.tar.gz freebsd-ports-gnome-95f676fa737c83cb23c81a5b4cd7ca3aeea6817e.tar.zst freebsd-ports-gnome-95f676fa737c83cb23c81a5b4cd7ca3aeea6817e.zip |
Fix build on 4.x.
Reported by: pointyhat via kris
Diffstat (limited to 'devel/udis86')
-rw-r--r-- | devel/udis86/files/patch-udcli-udcli.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/udis86/files/patch-udcli-udcli.c b/devel/udis86/files/patch-udcli-udcli.c new file mode 100644 index 000000000000..9cbd802a7a11 --- /dev/null +++ b/devel/udis86/files/patch-udcli-udcli.c @@ -0,0 +1,12 @@ +--- udcli/udcli.c.orig Sun Aug 6 16:39:07 2006 ++++ udcli/udcli.c Sun Aug 6 16:39:31 2006 +@@ -95,8 +95,8 @@ + } + else if (strcmp(*argv,"-c") == 0) + if (--argc) { +- o_do_count= 1; + char* s = *(++argv); ++ o_do_count= 1; + if (sscanf(s, "%lld", &o_count) == 0) + fprintf(stderr, "Invalid value given for -c.\n"); + } else { |