nixpkgs/pkgs/tools/package-management/rpm/no-lua.patch
Eelco Dolstra 505c169238 * Revived RPM. Damn, RPM is nasty to build.
svn path=/nixpkgs/trunk/; revision=8407
2007-03-21 19:25:58 +00:00

16 lines
472 B
Diff

diff -rc rpm-4.4.8-orig/lib/poptALL.c rpm-4.4.8/lib/poptALL.c
*** rpm-4.4.8-orig/lib/poptALL.c 2007-03-21 19:46:31.000000000 +0100
--- rpm-4.4.8/lib/poptALL.c 2007-03-21 19:44:45.000000000 +0100
***************
*** 483,489 ****
--- 483,491 ----
rpmFreeMacros(NULL);
/*@i@*/ rpmFreeMacros(rpmCLIMacroContext);
rpmFreeRpmrc();
+ #ifdef WITH_LUA
(void) rpmluaFree(NULL);
+ #endif
rpmFreeFilesystems();
/*@i@*/ urlFreeCache();
rpmlogClose();