* Remove redundant definition of LayYY_prev_more_offset; flex already
generates it. svn path=/nixpkgs/trunk/; revision=6064
This commit is contained in:
parent
e0758ef36a
commit
a2c118e0e3
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
|||||||
url = http://nix.cs.uu.nl/dist/tarballs/Xaw3d-1.5E.tar.gz;
|
url = http://nix.cs.uu.nl/dist/tarballs/Xaw3d-1.5E.tar.gz;
|
||||||
md5 = "29ecfdcd6bcf47f62ecfd672d31269a1";
|
md5 = "29ecfdcd6bcf47f62ecfd672d31269a1";
|
||||||
};
|
};
|
||||||
patches = [./config.patch];
|
patches = [./config.patch ./laylex.patch];
|
||||||
buildInputs = [x11 imake gccmakedep libXmu libXpm libXp bison flex];
|
buildInputs = [x11 imake gccmakedep libXmu libXpm libXp bison flex];
|
||||||
propagatedBuildInputs = [x11 libXmu];
|
propagatedBuildInputs = [x11 libXmu];
|
||||||
}
|
}
|
||||||
|
13
pkgs/development/libraries/Xaw3d/laylex.patch
Normal file
13
pkgs/development/libraries/Xaw3d/laylex.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -rc xc-orig/lib/Xaw3d/laylex.l xc/lib/Xaw3d/laylex.l
|
||||||
|
*** xc-orig/lib/Xaw3d/laylex.l 2006-08-07 12:12:54.000000000 +0200
|
||||||
|
--- xc/lib/Xaw3d/laylex.l 2006-08-07 12:14:49.000000000 +0200
|
||||||
|
***************
|
||||||
|
*** 27,33 ****
|
||||||
|
static int count ();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
- static int LayYY_prev_more_offset = 0;
|
||||||
|
%}
|
||||||
|
%%
|
||||||
|
vertical return VERTICAL;
|
||||||
|
--- 27,32 ----
|
Loading…
x
Reference in New Issue
Block a user