summaryrefslogtreecommitdiff
path: root/sci-chemistry/avogadro/files/avogadro-1.1.0-textrel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/avogadro/files/avogadro-1.1.0-textrel.patch')
-rw-r--r--sci-chemistry/avogadro/files/avogadro-1.1.0-textrel.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/sci-chemistry/avogadro/files/avogadro-1.1.0-textrel.patch b/sci-chemistry/avogadro/files/avogadro-1.1.0-textrel.patch
deleted file mode 100644
index 6d4536ef7c9b..000000000000
--- a/sci-chemistry/avogadro/files/avogadro-1.1.0-textrel.patch
+++ /dev/null
@@ -1,29 +0,0 @@
- libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt | 2 +-
- libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt b/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt
-index fb88316..2ddcfdf 100644
---- a/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt
-+++ b/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt
-@@ -20,6 +20,6 @@ add_library(spglib STATIC ${spglib_SRCS})
- set_target_properties(spglib PROPERTIES COMPILE_FLAGS "-w")
-
- # Set -fPIC on x86_64
--if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
-+if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "^(i.86|x86|x86_64|ppc|ppc64)$")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
- endif()
-diff --git a/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt b/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt
-index 0cd0c3e..9e89daf 100644
---- a/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt
-+++ b/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt
-@@ -19,7 +19,7 @@ add_library(tubegen STATIC ${tubegen_SRCS})
- set_target_properties(tubegen PROPERTIES COMPILE_FLAGS "-w")
-
- # Set -fPIC on x86_64
--if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
-+if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "^(i.86|x86|x86_64|ppc|ppc64)$")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" )
- endif()