pkgsrc/wm/fvwm/patches/patch-ab
mef 90458d6228 With previous commit for PR pkg/47409,
- patch target for patch-ab and patch-configure were the same.
  Merged them as patch-ab.
  (Naturally Revoming patches/patch-configure.)
- Also cvs delete for patches/patch-a[ce] were missing, corrected.
2013-01-20 07:09:29 +00:00

36 lines
907 B
Text

$NetBSD: patch-ab,v 1.4 2013/01/20 07:09:29 mef 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.orig 2013-01-06 10:03:11.000000000 +0900
+++ configure 2013-01-06 10:08:01.000000000 +0900
@@ -3179,7 +3179,7 @@ fi
# Define the identity of the package.
- PACKAGE=fvwm
+ PACKAGE=fvwm2
VERSION=${version}
@@ -6492,7 +6492,7 @@ int i; static j; int *p; char *c;
switch (*p = p = *c) { case 0: printf("%Q", c, p); }
*c = &i; c = p;
while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
- return;
+ return -1;
;
return 0;
}