aboutsummaryrefslogtreecommitdiff
path: root/libraries/ogre
diff options
context:
space:
mode:
authorLockywolf <>2025-02-09 21:45:57 +0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-02-15 08:30:07 +0700
commit5e11f6c7978fceb575caba64cd2075245dfdbd6f (patch)
tree9bd7f733ba6512c1efb2d5d59512efb12d5a89b1 /libraries/ogre
parentd54b085e0fb15176017b07d165908052bb718445 (diff)
libraries/ogre: Add featuresummary patch
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ogre')
-rw-r--r--libraries/ogre/e34ef06bb0d49ce847efe3a80ebe01c9762ea0b1.patch25
-rw-r--r--libraries/ogre/ogre.SlackBuild6
2 files changed, 29 insertions, 2 deletions
diff --git a/libraries/ogre/e34ef06bb0d49ce847efe3a80ebe01c9762ea0b1.patch b/libraries/ogre/e34ef06bb0d49ce847efe3a80ebe01c9762ea0b1.patch
new file mode 100644
index 0000000000..b49026b0db
--- /dev/null
+++ b/libraries/ogre/e34ef06bb0d49ce847efe3a80ebe01c9762ea0b1.patch
@@ -0,0 +1,25 @@
+From e34ef06bb0d49ce847efe3a80ebe01c9762ea0b1 Mon Sep 17 00:00:00 2001
+From: Pavel Rojtberg <rojtberg@gmail.com>
+Date: Fri, 11 Feb 2022 20:26:57 +0100
+Subject: [PATCH] CMake: rename FeatureSummary.cmake to avoid name clashes
+
+---
+ CMake/{FeatureSummary.cmake => OgreFeatureSummary.cmake} | 0
+ CMakeLists.txt | 2 +-
+ 2 files changed, 1 insertion(+), 1 deletion(-)
+ rename CMake/{FeatureSummary.cmake => OgreFeatureSummary.cmake} (100%)
+
+diff --git a/CMake/FeatureSummary.cmake b/CMake/OgreFeatureSummary.cmake
+similarity index 100%
+rename from CMake/FeatureSummary.cmake
+rename to CMake/OgreFeatureSummary.cmake
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8583b8882f0..544a7643d68 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -512,4 +512,4 @@ include(Packaging)
+
+
+ # Show feature summary
+-include(FeatureSummary)
++include(OgreFeatureSummary)
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild
index d5311de09e..ae6fe728a7 100644
--- a/libraries/ogre/ogre.SlackBuild
+++ b/libraries/ogre/ogre.SlackBuild
@@ -96,9 +96,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+patch -p1 < $CWD/e34ef06bb0d49ce847efe3a80ebe01c9762ea0b1.patch
mkdir build
cd build