diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/distcc/Makefile | 1 | ||||
-rw-r--r-- | devel/distcc/files/patch-src::arg.c | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile index 25e85df8..63de728 100644 --- a/devel/distcc/Makefile +++ b/devel/distcc/Makefile @@ -7,6 +7,7 @@ PORTNAME= distcc PORTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://distcc.samba.org/ftp/distcc/ diff --git a/devel/distcc/files/patch-src::arg.c b/devel/distcc/files/patch-src::arg.c new file mode 100644 index 0000000..d5a319c --- /dev/null +++ b/devel/distcc/files/patch-src::arg.c @@ -0,0 +1,20 @@ +--- src/arg.c.orig Thu Aug 15 10:52:19 2002 ++++ src/arg.c Sun Aug 25 23:32:17 2002 +@@ -200,12 +200,13 @@ + /* FIXME: This doesn't handle a.out, but that doesn't matter. + */ + char *ofile; +- if (seen_opt_c) { +- if (dcc_output_from_source(*input_file, ".o", &ofile)) +- return -1; +- } else if (seen_opt_s) { ++ /* -S takes precedence over -c. */ ++ if (seen_opt_s) { + if (dcc_output_from_source(*input_file, ".s", &ofile)) + return -1; ++ } else if (seen_opt_c) { ++ if (dcc_output_from_source(*input_file, ".o", &ofile)) ++ return -1; + } else { + rs_log_crit("this can't be happening(%d)!", __LINE__); + return -1; |