Re: [Slackbuilds-users] My Slackbuilds test on 14.1

2013-11-16 Thread Robby Workman
On Fri, 15 Nov 2013 13:02:38 -0800
Qun-Ying zhu.quny...@gmail.com wrote:

 For the motif package, actually the git source has more compile
 warning fixed, it is better than my simple fix.
 
 Attached is one to use the git snapshot.


motif builds as-is, so we'll leave it for now.

-RW


signature.asc
Description: PGP signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



[Slackbuilds-users] My Slackbuilds test on 14.1

2013-11-15 Thread Qun-Ying
Hi,

Tested some of my slackbuilds.

lout, global, ahven works fine on 14.1

I hope the attached patch fixed the motif build problem.

-- 
Qun-Ying
diff --git a/libraries/motif/motif.SlackBuild b/libraries/motif/motif.SlackBuild
old mode 100644
new mode 100755
index 9831628..bfa7c3c
--- a/libraries/motif/motif.SlackBuild
+++ b/libraries/motif/motif.SlackBuild
@@ -68,6 +68,7 @@ CXXFLAGS=$SLKCFLAGS \
   --disable-static \
   --build=$ARCH-slackware-linux
 
+patch -p1  $CWD/patch.diff
 make -j1
 make install DESTDIR=$PKG
 
diff --git a/libraries/motif/patch.diff b/libraries/motif/patch.diff
new file mode 100644
index 000..5fc5e08
--- /dev/null
+++ b/libraries/motif/patch.diff
@@ -0,0 +1,65 @@
+--- motif-2.3.4/demos/lib/Exm/wml/wmldbcreate.c	2013-11-15 11:29:25.981485993 -0800
 motif-2.3.4-new/demos/lib/Exm/wml/wmldbcreate.c	2013-11-15 11:32:16.448499187 -0800
+@@ -256,7 +256,7 @@
+ int	table_id;
+ {
+ _db_header	header;
+-unsigned char   *ptr;
++unsigned char   *ptr = NULL;
+ int		i;
+ 
+ switch (table_id)
+@@ -334,7 +334,7 @@
+ int	table_id;
+ {
+ _db_header		header;
+-key_keytable_entry_type *table;
++key_keytable_entry_type *table = NULL;
+ int			i;
+ 
+ switch (table_id)
+@@ -372,7 +372,7 @@
+ void emit_char_table(table_id)
+ int	table_id;
+ {
+-unsigned char **table;
++unsigned char **table = NULL;
+ _db_header header;
+ unsigned char *entry_vec;
+ int i, j;
+@@ -433,7 +433,7 @@
+ _db_header	header;
+ int		*lengths;
+ char	*string_table;
+-char	**table;
++char	**table = NULL;
+ int		i;
+ 
+ switch (table_id)
+@@ -554,7 +554,7 @@
+ int	table_id;
+ {
+ _db_header		header;
+-unsigned short int	*ptr;
++unsigned short int	*ptr = NULL;
+ int			i;
+ 
+ switch (table_id)
+@@ -620,7 +620,7 @@
+ int	table_id;
+ {
+ _db_header		header;
+-UilEnumSetDescDef	*table;
++UilEnumSetDescDef	*table = NULL;
+ int			j, i;
+ unsigned short int	*value_vec;
+ 
+@@ -653,7 +653,7 @@
+ int	table_id;
+ {
+ _db_header	header;
+-int		*ptr;
++int		*ptr = NULL;
+ int		i;
+ 
+ switch (table_id)
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] My Slackbuilds test on 14.1

2013-11-15 Thread Qun-Ying
For the motif package, actually the git source has more compile
warning fixed, it is better than my simple fix.

Attached is one to use the git snapshot.

On Fri, Nov 15, 2013 at 12:40 PM, Qun-Ying zhu.quny...@gmail.com wrote:
 Hi,

 Tested some of my slackbuilds.

 lout, global, ahven works fine on 14.1

 I hope the attached patch fixed the motif build problem.

 --
 Qun-Ying



-- 
Qun-Ying
diff --git a/libraries/motif/motif.SlackBuild b/libraries/motif/motif.SlackBuild
old mode 100644
new mode 100755
index 9831628..6e01a68
--- a/libraries/motif/motif.SlackBuild
+++ b/libraries/motif/motif.SlackBuild
@@ -6,9 +6,10 @@
 # Modified by SlackBuilds.org
 
 PRGNAM=motif
-VERSION=2.3.4
+VERSION=2.3.4_9f0120a
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
+LONG_VER=9f0120a4452380af91fe205434849b8a1ae884dc
 
 # Automatically determine the architecture we're building on:
 if [ -z $ARCH ]; then
@@ -44,9 +45,9 @@ set -e
 rm -rf $PKG
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-code-$LONG_VER
+unzip $CWD/$PRGNAM-code-$LONG_VER.zip
+cd $PRGNAM-code-$LONG_VER
 chown -R root:root .
 find . \
  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/libraries/motif/motif.info b/libraries/motif/motif.info
index 1a03d89..f7cc90c 100644
--- a/libraries/motif/motif.info
+++ b/libraries/motif/motif.info
@@ -1,8 +1,8 @@
 PRGNAM=motif
-VERSION=2.3.4
+VERSION=2.3.4_9f0120a
 HOMEPAGE=http://motif.ics.com/motif;
-DOWNLOAD=http://download.sourceforge.net/motif/motif-2.3.4-src.tgz;
-MD5SUM=612bb8127d0d31da6e5474edf8a5c247
+DOWNLOAD=http://sourceforge.net/code-snapshots/git/m/mo/motif/code.git/motif-code-9f0120a4452380af91fe205434849b8a1ae884dc.zip;
+MD5SUM=40e012fb19d7052a765086ca946bd4fe
 DOWNLOAD_x86_64=
 MD5SUM_x86_64=
 REQUIRES=
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] My Slackbuilds test on 14.1

2013-11-15 Thread Willy Sudiarto Raharjo
 lout, global, ahven works fine on 14.1

Removed from CHECKLIST

Thanks


-- 
Willy Sudiarto Raharjo
Personal Blog : http://willysr.blogspot.com
Linux Blog: http://slackblogs.blogspot.com
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/