OpenBricks/openbricks — Issue #6: mesa fails to patch
Author: vitalogy
Created: 2012-02-01 13:40:21+00:00
State: open

mesa fails to patch

~/openbricks $ ./scripts/unpack mesa
CLEAN mesa
UNPACK mesa
## Applying patch: packages/mesa/patches/10_cross-compile.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur Mesa-7.8.2.orig/bin/mklib Mesa-7.8.2/bin/mklib
|--- Mesa-7.8.2.orig/bin/mklib	2010-08-01 00:03:10.278990646 +0200
|+++ Mesa-7.8.2/bin/mklib	2010-08-01 00:08:19.886491443 +0200
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur Mesa-7.8.2.orig/configs/linux-dri Mesa-7.8.2/configs/linux-dri
|--- Mesa-7.8.2.orig/configs/linux-dri	2010-08-01 00:03:10.278990646 +0200
|+++ Mesa-7.8.2/configs/linux-dri	2010-08-01 00:11:08.873417880 +0200
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored

the dir mesa-8.0-rc2 in the build-dir shows two src-dirs for Mesa
one from MesaLib (Mesa-8.0-rc2) and one from MesaGlut (Mesa-8.0-rc1)

~/openbricks $ ll build/build.s100.eglibc/mesa-8.0-rc2/
insgesamt 16K
drwxr-xr-x 4 michael michael 4,0K 1. Feb 14:33 .
drwxr-xr-x 114 michael michael 4,0K 1. Feb 14:33 ..
drwxr-xr-x 4 michael michael 4,0K 15. Jan 15:33 Mesa-8.0-rc1
drwxr-xr-x 10 michael michael 4,0K 1. Feb 14:33 Mesa-8.0-rc2

a look into MesaGlut-8.0-rc2.tar.bz2 shows a dir Mesa-8.0-rc1
so MesaGlut-8.0-rc2.tar.bz2 should be repacked!