svn commit: r389739 - in head/graphics/libkdcraw-kde4: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon Jun 15 17:15:02 UTC 2015
Author: rakuco
Date: Mon Jun 15 17:15:00 2015
New Revision: 389739
URL: https://svnweb.freebsd.org/changeset/ports/389739
Log:
Add upstream patch to fix the GCC build after r388490.
libraw 0.16.1 started shipping some code that uses C++ exceptions. KDE code,
on the other hand, disables exceptions by default, and users must opt-in in
CMake to use them. clang is the exception and exceptions are always enabled
when using it, which is why the build did not break with it.
Import an upstream commit that does exactly that.
Bump PORTREVISION to make sure that all users build the port with exception
support.
Done in collaboration with alonso at .
PR: 200734
Added:
head/graphics/libkdcraw-kde4/files/
head/graphics/libkdcraw-kde4/files/patch-git_46898ec9 (contents, props changed)
Modified:
head/graphics/libkdcraw-kde4/Makefile
Modified: head/graphics/libkdcraw-kde4/Makefile
==============================================================================
--- head/graphics/libkdcraw-kde4/Makefile Mon Jun 15 17:01:28 2015 (r389738)
+++ head/graphics/libkdcraw-kde4/Makefile Mon Jun 15 17:15:00 2015 (r389739)
@@ -3,6 +3,7 @@
PORTNAME= libkdcraw
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= graphics kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
Added: head/graphics/libkdcraw-kde4/files/patch-git_46898ec9
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/libkdcraw-kde4/files/patch-git_46898ec9 Mon Jun 15 17:15:00 2015 (r389739)
@@ -0,0 +1,18 @@
+commit 46898ec97a0462eb08a5b6d09999450a86b27aae
+Author: Gilles Caulier <caulier.gilles at gmail.com>
+Date: Thu May 14 22:54:16 2015 +0200
+
+libraw 0.16.1 needs C++ exceptions rules while compilation
+BUGS: 347728
+FIXED-IN: 4.11.0
+--- libkdcraw/CMakeLists.txt
++++ libkdcraw/CMakeLists.txt
+@@ -22,6 +22,8 @@
+ #
+ # ============================================================
+
++add_definitions (${KDE4_ENABLE_EXCEPTIONS})
++
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h)
+
+ SET(kdcraw_LIB_SRCS kdcraw.cpp
More information about the svn-ports-all
mailing list