Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
5287bb9531
2 changed files with 20 additions and 0 deletions
  1. +5
    -0
      package/sparc/silo/silo.conf
  2. +15
    -0
      package/sparc/silo/use-system-ext2_err-h.patch

+ 5
- 0
package/sparc/silo/silo.conf

@ -33,6 +33,11 @@ pm_silo() {
}
hook_add postmake 3 pm_silo
# use the system's ext2_err.h includes, see also
# 'use-system-ext2_err-h.patch'
hook_add premake 1 "rm -f include/ext2fs/ext2_err.h"
var_append makeopt ' ' 'USELIB="-L $root/lib"'
var_append makeinstopt ' ' 'DESTDIR=$root'

+ 15
- 0
package/sparc/silo/use-system-ext2_err-h.patch

@ -0,0 +1,15 @@
use the system's ext2_err.h includes, they differ depending on
wether we have 2.4 or 2.6 kernel includes. note, ext2_err.h gets
deleted in silo.conf...
--- ./include/ext2fs/ext2fs.h.orig 2004-09-20 13:00:36.000000000 +0200
+++ ./include/ext2fs/ext2fs.h 2004-09-20 13:00:58.000000000 +0200
@@ -75,7 +75,7 @@
#else
#include "et/com_err.h"
#include "ext2fs/ext2_io.h"
-#include "ext2fs/ext2_err.h"
+#include <ext2fs/ext2_err.h>
#endif
/*

Loading…
Cancel
Save