[SCM] Paraview packaging branch, master, updated. upstream/3.10.1-49-gb8b5e8b

Anton Gladky gladky.anton at gmail.com
Sat Aug 13 14:35:32 UTC 2011


The following commit has been merged in the master branch:
commit 19d9bc51ecea4aac417631e7cd5ea633a6bd877a
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sat Aug 13 14:33:23 2011 +0200

    Fix FTBFS on KFreeBSD, changing -std=c99 parameter on -std=gnu99.

diff --git a/debian/patches/change_std_parameter_for_compiler.patch b/debian/patches/change_std_parameter_for_compiler.patch
new file mode 100644
index 0000000..ce00c46
--- /dev/null
+++ b/debian/patches/change_std_parameter_for_compiler.patch
@@ -0,0 +1,17 @@
+Description: Change -std=c99 on -std=gnu99 to fix FTBFS on KFreeBSD.
+ The error message was like:
+ "/usr/include/sys/proc.h:518:2: error: unknown type name 'u_int'"
+Author: Anton Gladky <gladky.anton at gmail.com>
+Last-Update: 2011-08-13
+
+--- paraview-3.10.1.orig/VTK/Utilities/vtkhdf5/CMakeLists.txt
++++ paraview-3.10.1/VTK/Utilities/vtkhdf5/CMakeLists.txt
+@@ -285,7 +285,7 @@ ENDIF (CMAKE_BUILD_TYPE MATCHES Debug)
+ # Compiler specific flags : Shouldn't there be compiler tests for these
+ #-----------------------------------------------------------------------------
+ IF (NOT WIN32)
+-  SET (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=c99 -fomit-frame-pointer -finline-functions -fno-common")
++  SET (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=gnu99 -fomit-frame-pointer -finline-functions -fno-common")
+ ENDIF (NOT WIN32)
+ 
+ #-----------------------------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
index 7782938..e6db0b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 stddef_ptrdiff.patch
 enable_some_more_plugins.patch
 fix_manpages_errors.patch
+change_std_parameter_for_compiler.patch

-- 
Paraview packaging



More information about the debian-science-commits mailing list