Add patches from rallaz

OBS-URL: https://build.opensuse.org/package/show/graphics/librecad?expand=0&rev=6
This commit is contained in:
2012-05-11 06:34:42 +00:00
committed by Git OBS Bridge
parent 0a9dabf40a
commit 0888b7cde0
7 changed files with 202 additions and 18 deletions

30
librecad-install.diff Normal file
View File

@@ -0,0 +1,30 @@
---
librecad.pro | 1 -
scripts/postprocess-unix.sh | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
Index: LibreCAD-LibreCAD-a5c34b2/librecad.pro
===================================================================
--- LibreCAD-LibreCAD-a5c34b2.orig/librecad.pro
+++ LibreCAD-LibreCAD-a5c34b2/librecad.pro
@@ -49,7 +49,6 @@ unix {
INCLUDEPATH += "/usr/include/muParser"
}
- QMAKE_POST_LINK = scripts/postprocess-unix.sh
}
}
win32 {
Index: LibreCAD-LibreCAD-a5c34b2/scripts/postprocess-unix.sh
===================================================================
--- LibreCAD-LibreCAD-a5c34b2.orig/scripts/postprocess-unix.sh
+++ LibreCAD-LibreCAD-a5c34b2/scripts/postprocess-unix.sh
@@ -1,7 +1,7 @@
#!/bin/bash
THISDIR="`pwd`"
-RESOURCEDIR="${THISDIR}/unix/resources"
+RESOURCEDIR=$BUILDDIR
TSDIR="${THISDIR}/ts"
DOCDIR="${THISDIR}/support/doc"