diff options
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/poa/files/poa-2-fno-common.patch | 13 | ||||
-rw-r--r-- | sci-biology/poa/poa-2-r1.ebuild | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sci-biology/poa/files/poa-2-fno-common.patch b/sci-biology/poa/files/poa-2-fno-common.patch new file mode 100644 index 000000000000..ddd738a5524c --- /dev/null +++ b/sci-biology/poa/files/poa-2-fno-common.patch @@ -0,0 +1,13 @@ +--- a/black_flag.h ++++ b/black_flag.h +@@ -236,8 +236,8 @@ + int sourceline, + char sourcefile_revision[]); + +-char *Program_name; +-char *Program_version; ++extern char *Program_name; ++extern char *Program_version; + + void black_flag_init(char progname[],char progversion[]); + void black_flag_init_args(int narg,char *arg[],char progversion[]); diff --git a/sci-biology/poa/poa-2-r1.ebuild b/sci-biology/poa/poa-2-r1.ebuild index fc472ce96007..126272f06c60 100644 --- a/sci-biology/poa/poa-2-r1.ebuild +++ b/sci-biology/poa/poa-2-r1.ebuild @@ -21,6 +21,7 @@ S="${WORKDIR}/${MY_P}" src_prepare() { epatch "${FILESDIR}"/${PV}-respect-flags.patch + epatch "${FILESDIR}"/${P}-fno-common.patch } src_compile() { |