File: 03-remove-fPIC-from-pkg-info.patch

package info (click to toggle)
codeblocks 16.01%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 85,352 kB
  • sloc: cpp: 665,947; ansic: 48,306; sh: 32,198; xml: 29,690; makefile: 6,054; asm: 3,827; python: 3,251; f90: 1,202; pascal: 839; yacc: 291; perl: 261; sed: 16
file content (129 lines) | stat: -rw-r--r-- 5,351 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
Description: Remove -fPIC from pkg-info files.
 lintian suggests that -fPIC is specific to the target and should be set in
 it's own make rules, but not in pkg-config files for libraries it uses.
Author: Alexander GQ Gerasiov <gq@debian.org>
Forwarded: https://sourceforge.net/p/codeblocks/tickets/358/
Last-Update: 2016-05-20

--- a/src/plugins/contrib/wxContribItems/cb_wxKWIC.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxKWIC.pc.in
@@ -9,5 +9,5 @@
 Description: KWIC for wxWidgets  also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxkwic
-Cflags: -fPIC -I${includedir}/KWIC/include
+Cflags: -I${includedir}/KWIC/include
 
--- a/src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc.in
@@ -9,4 +9,4 @@
 Description: wxChartCtrl also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxchartctrl
-Cflags: -fPIC -I${includedir}/wxchart/include
+Cflags: -I${includedir}/wxchart/include
--- a/src/plugins/contrib/wxContribItems/cb_wxcontrib.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxcontrib.pc.in
@@ -13,7 +13,7 @@
 Description: wxWidgets contrib items also used for the wxSmith
 Version: @VERSION@
 Libs: -L${libdir} -lwxchartctrl -lwxcustombutton -lwxflatnotebook -lwximagepanel -lwxkwic -lwxled -lwxspeedbutton ${TREELIST_LIB}
-Cflags: -fPIC -I${includedir}/KWIC/include \
+Cflags: -I${includedir}/KWIC/include \
 		-I${includedir}/wxchart/include \
 		-I${includedir}/wxFlatNotebook/include \
 		-I${includedir}/wxImagePanel/include \
--- a/src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc.in
@@ -9,5 +9,5 @@
 Description: wxCustomButton also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxcustombutton
-Cflags: -fPIC -I${includedir}/wxthings/include
+Cflags: -I${includedir}/wxthings/include
 
--- a/src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc.in
@@ -9,5 +9,5 @@
 Description: wxFlatNotebook also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxflatnotebook
-Cflags: -fPIC -I${includedir}/wxFlatNotebook/include
+Cflags: -I${includedir}/wxFlatNotebook/include
 
--- a/src/plugins/contrib/wxContribItems/cb_wximagepanel.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wximagepanel.pc.in
@@ -9,5 +9,5 @@
 Description: wxImagePanel also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwximagepanel
-Cflags: -fPIC -I${includedir}/wxImagePanel/include
+Cflags: -I${includedir}/wxImagePanel/include
 
--- a/src/plugins/contrib/wxContribItems/cb_wxled.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxled.pc.in
@@ -9,7 +9,7 @@
 Description: LedCtrl(s) also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxled
-Cflags: -fPIC -I${includedir}/gizmosled/include/ \
+Cflags: -I${includedir}/gizmosled/include/ \
 		-I${includedir}/lcdwindow/include \
 		-I${includedir}/led/include \
 		-I${includedir}/ledpanel/include
--- a/src/plugins/contrib/wxContribItems/cb_wxmathplot.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxmathplot.pc.in
@@ -9,4 +9,4 @@
 Description: MathPlot for wxWidgets, also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxmathplot
-Cflags: -fPIC -I${includedir}
+Cflags: -I${includedir}
--- a/src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc.in
@@ -9,5 +9,5 @@
 Description: SpeedButton also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxspeedbutton
-Cflags: -fPIC -I${includedir}/wxSpeedButton
+Cflags: -I${includedir}/wxSpeedButton
 
--- a/src/plugins/contrib/wxContribItems/cb_wxtreelist.pc.in
+++ b/src/plugins/contrib/wxContribItems/cb_wxtreelist.pc.in
@@ -9,5 +9,5 @@
 Description: TreeListCtrl also used for the wxSmith Contrib Items
 Version: @VERSION@
 Libs: -L${libdir} -lwxtreelist
-Cflags: -fPIC -I${includedir}/wxTreeList/include
+Cflags: -I${includedir}/wxTreeList/include
 
--- a/src/plugins/contrib/wxContribItems/wxsmith-contrib.pc.in
+++ b/src/plugins/contrib/wxContribItems/wxsmith-contrib.pc.in
@@ -13,7 +13,7 @@
 Description: wxWidgets contrib items also used for the wxSmith
 Version: @VERSION@
 Libs: -L${libdir} -lwxchartctrl -lwxcustombutton -lwxflatnotebook -lwximagepanel -lwxkwic -lwxled -lwxspeedbutton ${TREELIST_LIB}
-Cflags: -fPIC -I${includedir}/KWIC/include \
+Cflags: -I${includedir}/KWIC/include \
 		-I${includedir}/wxchart/include \
 		-I${includedir}/wxFlatNotebook/include \
 		-I${includedir}/wxImagePanel/include \
--- a/src/plugins/contrib/wxSmith/wxsmith.pc.in
+++ b/src/plugins/contrib/wxSmith/wxsmith.pc.in
@@ -9,4 +9,4 @@
 Description: RAD-tool for the Code::Blocks IDE
 Version: @VERSION@
 Libs: -L${libdir} -lwxsmithlib
-Cflags: -fPIC -I${includedir}
+Cflags: -I${includedir}
--- a/src/plugins/contrib/wxSmithAui/wxsmithaui.pc.in
+++ b/src/plugins/contrib/wxSmithAui/wxsmithaui.pc.in
@@ -9,7 +9,7 @@
 Description: wxAUI support for wxSmith
 Version: @VERSION@
 Libs: -L${libdir}
-Cflags: -fPIC -I${includedir} \
+Cflags: -I${includedir} \
 			-I${includedir}/wxAuiManager \
 			-I${includedir}/wxAuiNotebook \
 			-I${includedir}/wxAuiToolBar