aboutsummaryrefslogtreecommitdiffstats
path: root/databases/clip
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-09-21 21:40:45 +0800
committermnag <mnag@FreeBSD.org>2005-09-21 21:40:45 +0800
commit08027bac7023ff3d76833151674ea327a64be83b (patch)
tree3a165093a39bfbe44ed1177d9558fecf9228dc2d /databases/clip
parent6f665d66db6b07d302aabce52c0e7c65f16eeaba (diff)
downloadfreebsd-ports-gnome-08027bac7023ff3d76833151674ea327a64be83b.tar.gz
freebsd-ports-gnome-08027bac7023ff3d76833151674ea327a64be83b.tar.zst
freebsd-ports-gnome-08027bac7023ff3d76833151674ea327a64be83b.zip
Unbroken 4.x
Fix MASTER_SITES PR: ports/86377 Submitted by: Pawel Pekala <c0rn@gazeta.pl> Approved by: pav (mentor)
Diffstat (limited to 'databases/clip')
-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);