summaryrefslogtreecommitdiff
path: root/wm/fvwm/patches/patch-ab
blob: 7106998d9f8c30309022b2275a3636a4284be192 (plain)
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
$NetBSD: patch-ab,v 1.5 2019/09/21 13:56:15 ng0 Exp $

(1) 
Convert install path from fvwm to fvwm2
This can not be done with 
CONFIGURE_ARGS+=        --datarootdir=${PREFIX:Q}/share/fvwm2
this will install fvwm2/fvwm.

(2)
Avoid following problem on NetBSD/amd64 6.99.16 with clang
+-----------------
| conftest.c:38:3: error: non-void function 'main' should return a value [-Wreturn-type]
|   return;
|   ^
+-----------------

--- configure~       2019-09-01 18:13:40.757285726 +0000
+++ configure   2019-09-01 18:18:08.056139617 +0000
@@ -578,7 +578,7 @@
 MAKEFLAGS=
 
 # Identity of this package.
-PACKAGE_NAME='fvwm'
+PACKAGE_NAME='fvwm2'
 PACKAGE_TARNAME='fvwm'
 PACKAGE_VERSION='2.6.9'
 PACKAGE_STRING='fvwm 2.6.9'
@@ -3320,5 +3320,5 @@
 
 
 # Define the identity of the package.
- PACKAGE='fvwm'
+ PACKAGE='fvwm2'
  VERSION='2.6.9'