Update to libical-3.0.6.

This commit is contained in:
ajacoutot 2019-09-15 14:27:13 +00:00
parent aba1994735
commit 2e4772b735
3 changed files with 12 additions and 12 deletions

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.41 2019/07/12 20:50:00 sthen Exp $
# $OpenBSD: Makefile,v 1.42 2019/09/15 14:27:13 ajacoutot Exp $
COMMENT-main= implementation of the iCalendar protocols and data units
COMMENT-glib= GObject wrapper for libical library
V= 3.0.5
V= 3.0.6
DISTNAME= libical-${V}
PKGNAME-main= ${PKGNAME}
PKGNAME-glib= libical-glib-${V}
SHARED_LIBS += ical 4.2
SHARED_LIBS += ical 4.3
SHARED_LIBS += icalss 4.0
SHARED_LIBS += icalvcal 3.0
SHARED_LIBS += ical_cxx 1.0

View File

@ -1,2 +1,2 @@
SHA256 (libical-3.0.5.tar.gz) = etVQyMScm5mDZY46s+aLHu4kOewXsWmmsebstSdOeOY=
SIZE (libical-3.0.5.tar.gz) = 881800
SHA256 (libical-3.0.6.tar.gz) = XIohwrcy7OSjPlyGKXC081qFSLvNpQ3laV9vwhGsTZc=
SIZE (libical-3.0.6.tar.gz) = 879939

View File

@ -1,25 +1,25 @@
$OpenBSD: patch-CMakeLists_txt,v 1.3 2019/05/17 03:31:26 ajacoutot Exp $
$OpenBSD: patch-CMakeLists_txt,v 1.4 2019/09/15 14:27:13 ajacoutot Exp $
base gcc does not understand -Wtype-limits and errors out.
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -419,7 +419,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}"
@@ -423,7 +423,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}"
check_c_compiler_flag(-Wsizeof-pointer-memaccess HAVE_GCC_POINTER_MEMACCESS)
check_c_compiler_flag(-Wformat-security HAVE_GCC_FORMAT_SECURITY)
check_c_compiler_flag(-Wredundant-decls HAVE_GCC_REDUNDANT_DECLS)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -Wno-deprecated -Wall -Wno-unknown-pragmas -Wextra -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Werror=return-type")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -Wno-deprecated -Wall -Wno-unknown-pragmas -Wextra -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wwrite-strings -Werror=return-type")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -Wno-deprecated -Wall -Wno-unknown-pragmas -Wextra -Winit-self -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Werror=return-type")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -Wno-deprecated -Wall -Wno-unknown-pragmas -Wextra -Winit-self -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Werror=return-type")
if(HAVE_GCC_UNUSED_BUT_SET)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused-but-set-variable")
endif()
@@ -451,7 +451,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_I
@@ -455,7 +455,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_I
check_cxx_compiler_flag(-Wreorder HAVE_GXX_REORDER)
check_cxx_compiler_flag(-Wformat-security HAVE_GXX_FORMAT_SECURITY)
check_cxx_compiler_flag(-Wredundant-decls HAVE_GXX_REDUNDANT_DECLS)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -Weffc++ -Wno-deprecated -Wall -Wextra -Woverloaded-virtual -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Werror=return-type")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -Weffc++ -Wno-deprecated -Wall -Wextra -Woverloaded-virtual -Winit-self -Wmissing-include-dirs -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wwrite-strings -Werror=return-type")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -Weffc++ -Wno-deprecated -Wall -Wextra -Woverloaded-virtual -Winit-self -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Werror=return-type")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -Weffc++ -Wno-deprecated -Wall -Wextra -Woverloaded-virtual -Winit-self -Wunused -Wno-div-by-zero -Wundef -Wpointer-arith -Wtype-limits -Werror=return-type")
if(HAVE_GXX_UNUSED_BUT_SET)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-but-set-variable")
endif()