aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-21 13:40:45 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-21 13:40:45 +0000
commitb29d9c1175aa90928e26dca79d598349c086b9be (patch)
treea522ed8829e184a2182ca48fe5da38445b397674 /databases
parente52cefbdab92d76878a6211d4dd653af762711ec (diff)
downloadports-b29d9c1175aa90928e26dca79d598349c086b9be.tar.gz
ports-b29d9c1175aa90928e26dca79d598349c086b9be.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/clip/Makefile16
-rw-r--r--databases/clip/files/patch-cliplibs_clip-gtk2_general.c28
2 files changed, 34 insertions, 10 deletions
diff --git a/databases/clip/Makefile b/databases/clip/Makefile
index feda87a5508a..5a812a12e0bc 100644
--- a/databases/clip/Makefile
+++ b/databases/clip/Makefile
@@ -9,12 +9,12 @@ PORTNAME= clip
PORTVERSION= 1.1.14.1
PORTREVISION= 2
CATEGORIES= databases lang
-MASTER_SITES= ftp://ftp.linux.ru.net/mirrors/clip/ \
- ftp://ftp.itk.ru/pub/clip/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=lawrance
-DISTFILES= ${PORTNAME}-prg-${PORTVERSION:R}-${PORTVERSION:E}.tgz \
- patch.tgz
+MASTER_SITES= ftp://ftp.linux.ru.net/mirrors/clip/:files \
+ ftp://ftp.itk.ru/pub/clip/:files \
+ ${MASTER_SITE_LOCAL}:files,patch
+MASTER_SITE_SUBDIR=lawrance:files,patch
+DISTFILES= ${PORTNAME}-prg-${PORTVERSION:R}-${PORTVERSION:E}.tgz:files,patch \
+ patch.tgz:patch
DIST_SUBDIR= clip
EXTRACT_ONLY= ${PORTNAME}-prg-${PORTVERSION:R}-${PORTVERSION:E}.tgz
@@ -49,10 +49,6 @@ OPTIONS= IODBC "iODBC support" on \
BROKEN= "Does not compile on !i386"
.endif
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile"
-.endif
-
# OPT_CLIPLIBS contains the optional subdirectories built by
# the patched ${WRKSRC}/cliplibs/Makefile
# Not currently built: clip-oracle
diff --git a/databases/clip/files/patch-cliplibs_clip-gtk2_general.c b/databases/clip/files/patch-cliplibs_clip-gtk2_general.c
new file mode 100644
index 000000000000..6bccba91e8c0
--- /dev/null
+++ b/databases/clip/files/patch-cliplibs_clip-gtk2_general.c
@@ -0,0 +1,28 @@
+--- cliplibs/clip-gtk2/general.c.orig Sun Sep 18 15:19:32 2005
++++ cliplibs/clip-gtk2/general.c Sun Sep 18 15:27:53 2005
+@@ -605,6 +605,12 @@
+ int
+ clip_G_OBJECTGET(ClipMachine * cm)
+ {
++ GObject *gobj ;
++ gint i ;
++ gboolean b ;
++ gchar *c ;
++ gdouble d ;
++
+ C_widget *cwid = _fetch_cw_arg(cm);
+ C_object *cobj = _fetch_co_arg(cm);
+ gchar *name = _clip_parc(cm, 2);
+@@ -612,12 +618,6 @@
+
+ CHECKARG(2, CHARACTER_t);
+ CHECKARG(3, NUMERIC_t);
+-
+- GObject *gobj ;
+- gint i ;
+- gboolean b ;
+- gchar *c ;
+- gdouble d ;
+
+ if (cwid->objtype == GTK_OBJ_WIDGET)
+ gobj = G_OBJECT(cwid->widget);