forked from pool/plplot
Accepting request 134712 from home:namtrac:bugfix
- Add plplot-5.9.9-ada-pic.patch to compile Ada code with -fPIC OBS-URL: https://build.opensuse.org/request/show/134712 OBS-URL: https://build.opensuse.org/package/show/science/plplot?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
87734f5808
commit
742a9cc4e0
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 17 16:25:49 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Add plplot-5.9.9-ada-pic.patch to compile Ada code with -fPIC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 29 13:15:00 UTC 2012 - badshah400@gmail.com
|
||||
|
||||
|
||||
@@ -33,6 +33,8 @@ Patch0: plplot-multiarch.patch
|
||||
Patch1: plplot-strncat.patch
|
||||
# PATCH-FIX-UPSTREAM plplot-gcc-ada46-libs.patch badshah400@gmail.com -- Allow searching for gcc-ada46 libraries
|
||||
Patch2: plplot-gcc-ada46-libs.patch
|
||||
# PATCH-FIX-UPSTREAM plplot-5.9.9-ada-pic.patch idoenmez@suse.de -- Compile Ada code with -fPIC
|
||||
Patch3: plplot-5.9.9-ada-pic.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: freefont
|
||||
@@ -500,6 +502,8 @@ plotting with wxGTK.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
for file in NEWS README.release
|
||||
do
|
||||
iconv -f ISO-8859-1 -t UTF-8 $file > ${file}.tmp
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Index: plplot-5.9.9/bindings/ada/CMakeLists.txt
|
||||
===================================================================
|
||||
--- plplot-5.9.9.orig/bindings/ada/CMakeLists.txt
|
||||
+++ plplot-5.9.9/bindings/ada/CMakeLists.txt
|
||||
@@ -20,6 +20,10 @@
|
||||
|
||||
if(ENABLE_ada)
|
||||
|
||||
+ IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
|
||||
+ ADD_DEFINITIONS(-fPIC)
|
||||
+ ENDIF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
|
||||
+
|
||||
set(SOURCE_LIST
|
||||
plplot.adb
|
||||
plplot.ads
|
||||
Reference in New Issue
Block a user