summaryrefslogtreecommitdiff
path: root/source/d
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-05-09 01:39:14 +0000
committerEric Hameleers <alien@slackware.com>2019-05-09 08:59:47 +0200
commitb292896e382b8394ef147b105de0eccd4bd78be7 (patch)
tree8f8295cc85f6b0c5c5cd15e5c5b8e3c961720d59 /source/d
parent1968344c50013aecdd7bc3b446baae57c056c1b0 (diff)
downloadcurrent-b292896e382b8394ef147b105de0eccd4bd78be7.tar.gz
Thu May 9 01:39:14 UTC 201920190509013914
a/hwdata-0.323-noarch-1.txz: Upgraded. a/kernel-generic-4.19.41-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.41-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.41-x86_64-1.txz: Upgraded. a/usbutils-012-x86_64-1.txz: Upgraded. ap/lsof-4.93.2-x86_64-1.txz: Upgraded. d/gcc-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-brig-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-g++-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-gdc-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-gfortran-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-gnat-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-go-9.1.0-x86_64-4.txz: Rebuilt. d/gcc-objc-9.1.0-x86_64-4.txz: Rebuilt. Add support for Objective-C++. Thanks to USUARIONUEVO. d/kernel-headers-4.19.41-x86-1.txz: Upgraded. d/python-pip-19.1.1-x86_64-1.txz: Upgraded. k/kernel-source-4.19.41-noarch-1.txz: Upgraded. l/gegl-0.4.16-x86_64-1.txz: Upgraded. l/vte-0.56.3-x86_64-1.txz: Upgraded. xap/mozilla-firefox-60.6.3esr-x86_64-1.txz: Upgraded. This update provides further improvements to re-enable web extensions which had been disabled for users with a master password set (Bug 1549249). For more information, see: https://www.mozilla.org/en-US/firefox/60.6.3/releasenotes/ isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/d')
-rwxr-xr-xsource/d/gcc/gcc.SlackBuild14
-rw-r--r--source/d/gcc/slack-desc.gcc-objc12
2 files changed, 18 insertions, 8 deletions
diff --git a/source/d/gcc/gcc.SlackBuild b/source/d/gcc/gcc.SlackBuild
index 8d45967d..0866c201 100755
--- a/source/d/gcc/gcc.SlackBuild
+++ b/source/d/gcc/gcc.SlackBuild
@@ -57,7 +57,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gcc
SRCVER=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
VERSION=$(echo $SRCVER | cut -f 1 -d _)
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# How many jobs to run in parallel:
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -234,6 +234,15 @@ cat $CWD/slack-desc.gcc-gdc > $PKG10/install/slack-desc
touch -r ChangeLog $PKG6/usr/doc/gcc-${VERSION}/gcc/objc/ChangeLog
fi
)
+ ( cd objcp || exit 0
+ cp -a \
+ README* \
+ $PKG6/usr/doc/gcc-${VERSION}/gcc/objcp
+ if [ -r ChangeLog ]; then
+ cat ChangeLog | head -n 1000 > $PKG6/usr/doc/gcc-${VERSION}/gcc/objcp/ChangeLog
+ touch -r ChangeLog $PKG6/usr/doc/gcc-${VERSION}/gcc/objcp/ChangeLog
+ fi
+ )
mkdir -p $PKG8/usr/doc/gcc-${VERSION}/gcc/go
( cd go || exit 0
@@ -339,7 +348,7 @@ cat $CWD/slack-desc.gcc-gdc > $PKG10/install/slack-desc
--infodir=/usr/info \
--enable-shared \
--enable-bootstrap \
- --enable-languages=ada,brig,c,c++,d,fortran,go,lto,objc \
+ --enable-languages=ada,brig,c,c++,d,fortran,go,lto,objc,obj-c++ \
--enable-threads=posix \
--enable-checking=release \
--enable-objc-gc \
@@ -549,6 +558,7 @@ rm -f $PKG1/{,usr/}lib${LIBDIRSUFFIX}/*.la
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/cc1obj usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include/objc usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
+ mv $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include/cc1objplus usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include
)
## NOTE: Thought about this, because the precompiled headers are so large.
diff --git a/source/d/gcc/slack-desc.gcc-objc b/source/d/gcc/slack-desc.gcc-objc
index 6cf5a317..ac48f8bd 100644
--- a/source/d/gcc/slack-desc.gcc-objc
+++ b/source/d/gcc/slack-desc.gcc-objc
@@ -6,14 +6,14 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-gcc-objc: gcc-objc (Objective-C support for GCC)
+gcc-objc: gcc-objc (Objective-C/C++ support for GCC)
gcc-objc:
-gcc-objc: Objective-C support for the GNU Compiler Collection.
+gcc-objc: Objective-C/C++ support for the GNU Compiler Collection.
gcc-objc:
gcc-objc: This package contains those parts of the compiler collection needed to
-gcc-objc: compile code written in Objective-C. Objective-C was originally
-gcc-objc: developed to add object-oriented extensions to the C language, and is
-gcc-objc: best known as the native language of the NeXT computer.
-gcc-objc:
+gcc-objc: compile code written in Objective-C and Objective-C++. Objective-C was
+gcc-objc: originally developed to add object-oriented extensions to the C
+gcc-objc: language, and is best known as the native language of the NeXT
+gcc-objc: computer.
gcc-objc:
gcc-objc: