Add patch to fix build for bip.
This commit is contained in:
parent
9ec69c077e
commit
03e6a6f85f
11
pkgs/applications/networking/irc/bip/bip-0.8.8-yyparse.patch
Normal file
11
pkgs/applications/networking/irc/bip/bip-0.8.8-yyparse.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- bip-0.8.8/src/lex.l.orig
|
||||||
|
+++ bip-0.8.8/src/lex.l
|
||||||
|
@@ -16,7 +16,7 @@
|
||||||
|
int linec;
|
||||||
|
#include "util.h"
|
||||||
|
extern list_t *root_list;
|
||||||
|
-void yyparse(void);
|
||||||
|
+int yyparse(void);
|
||||||
|
void free_conf(list_t*);
|
||||||
|
int conf_error;
|
||||||
|
typedef struct bip bip_t;
|
@ -36,6 +36,10 @@ in stdenv.mkDerivation {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patch -p1 < ${./bip-0.8.8-yyparse.patch}
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--disable-pie" ];
|
configureFlags = [ "--disable-pie" ];
|
||||||
|
|
||||||
buildInputs = [ bison flex autoconf automake openssl ];
|
buildInputs = [ bison flex autoconf automake openssl ];
|
||||||
@ -45,4 +49,4 @@ in stdenv.mkDerivation {
|
|||||||
homepage = http://bip.milkypond.org/;
|
homepage = http://bip.milkypond.org/;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user