Minimal unbreak compilation (use standard header files instead of
mis-declaring functions). Needs much more love later. Discussed with espie@ and matthieu@ (couple of weeks ago). "sure" espie@
This commit is contained in:
parent
61b81486f8
commit
3a45bdd277
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.34 2010/07/30 09:23:28 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.35 2010/08/02 19:47:32 ian Exp $
|
||||
|
||||
COMMENT= OpenLook Virtual Window manager
|
||||
|
||||
DISTNAME= olvwm4
|
||||
PKGNAME= olvwm-4.2
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
CATEGORIES= x11
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_R5CONTRIB}
|
||||
|
16
x11/olvwm/patches/patch-gettext_c
Normal file
16
x11/olvwm/patches/patch-gettext_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-gettext_c,v 1.1 2010/08/02 19:47:32 ian Exp $
|
||||
--- gettext.c.orig Sat Jul 10 13:51:48 2010
|
||||
+++ gettext.c Sat Jul 10 13:55:24 2010
|
||||
@@ -17,12 +17,9 @@
|
||||
#define bzero(a,b) memset(a,0,b)
|
||||
#endif
|
||||
|
||||
-char *malloc(), *strdup();
|
||||
char * dgettext();
|
||||
char *_gettext();
|
||||
char *in_path();
|
||||
-char *fgets(), *getenv();
|
||||
-caddr_t mmap(), calloc();
|
||||
|
||||
#ifdef NOT
|
||||
static struct domain_binding *firstbind=0, *lastbind=0;
|
15
x11/olvwm/patches/patch-gettext_h
Normal file
15
x11/olvwm/patches/patch-gettext_h
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-gettext_h,v 1.1 2010/08/02 19:47:32 ian Exp $
|
||||
--- gettext.h.orig Sat Jul 10 13:54:47 2010
|
||||
+++ gettext.h Sat Jul 10 13:56:14 2010
|
||||
@@ -27,8 +27,11 @@
|
||||
#include <errno.h>
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
+#include <sys/mman.h>
|
||||
|
||||
struct domain_binding {
|
||||
char *domain_name;
|
Loading…
x
Reference in New Issue
Block a user