commit
ea804dfb1a
2 changed files with 16 additions and 1 deletions
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" ];
|
||||
|
||||
buildInputs = [ bison flex autoconf automake openssl ];
|
||||
|
@ -45,4 +49,4 @@ in stdenv.mkDerivation {
|
|||
homepage = http://bip.milkypond.org/;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue