mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
misc/yapet: Added a patch for gcc >= 6.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
ae1868bf18
commit
097b76696f
2 changed files with 14 additions and 0 deletions
11
misc/yapet/gcc6.patch
Normal file
11
misc/yapet/gcc6.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- yapet-1.0/yapet/cfg.h 2014-02-23 10:18:41.000000000 -0700
|
||||
+++ yapet-1.0/yapet/cfg.h 2016-04-14 07:06:49.665672169 -0700
|
||||
@@ -163,7 +163,7 @@
|
||||
locked = false;
|
||||
}
|
||||
|
||||
- void is_locked() const {
|
||||
+ bool is_locked() const {
|
||||
return locked;
|
||||
}
|
||||
|
|
@ -69,6 +69,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# From upstream
|
||||
patch -p1 < $CWD/gcc6.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in a new issue