pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/classpath lang/classpath: fix broken build on net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/740324ad39b4
branches:  trunk
changeset: 771795:740324ad39b4
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Dec 27 05:28:38 2021 +0000

description:
lang/classpath: fix broken build on netbsd-current

diffstat:

 lang/classpath/distinfo                                     |   3 +-
 lang/classpath/patches/patch-scripts_check__jni__methods.sh |  15 +++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r b446bd71a3a6 -r 740324ad39b4 lang/classpath/distinfo
--- a/lang/classpath/distinfo   Mon Dec 27 05:14:44 2021 +0000
+++ b/lang/classpath/distinfo   Mon Dec 27 05:28:38 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 10:51:32 nia Exp $
+$NetBSD: distinfo,v 1.17 2021/12/27 05:28:38 dholland Exp $
 
 BLAKE2s (classpath-0.93.tar.gz) = 5d64a5d06c427f5714070b0a6205e6f1642cb297face68049bc9093dee6a5c17
 SHA512 (classpath-0.93.tar.gz) = 69d831361085514bb7c5607fa694914cc01bc9fe589b7744d5534c97d434722193a1b68a336642d0dba9a3b50e9acea0364741790e9f19d196e5956a51c320b0
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = ea5a749f064a35be6b5411c5967139103f1481ae
 SHA1 (patch-native_jni_gtk-peer_gnu__java__awt__peer__gtk__FreetypeGlyphVector.c) = ffb175228d637cfb72e883cab4d1438ad9aa4ecf
 SHA1 (patch-native_jni_gtk-peer_gnu__java__awt__peer__gtk__GdkFontPeer.c) = 21112598c611b2fd5bbf3c8295454513037219d9
+SHA1 (patch-scripts_check__jni__methods.sh) = b09191a41e9121c62259f5da78eba6f3235ebccb
diff -r b446bd71a3a6 -r 740324ad39b4 lang/classpath/patches/patch-scripts_check__jni__methods.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/classpath/patches/patch-scripts_check__jni__methods.sh       Mon Dec 27 05:28:38 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-scripts_check__jni__methods.sh,v 1.1 2021/12/27 05:28:38 dholland Exp $
+
+Remove wrong escape that now fails.
+
+--- scripts/check_jni_methods.sh~      2006-09-27 18:36:09.000000000 +0000
++++ scripts/check_jni_methods.sh
+@@ -25,7 +25,7 @@ find native/jni -name \*.cpp | \
+ find native/jni -name \*.cpp | \
+       xargs egrep -h '^(JNIEXPORT .* JNICALL )?Java_' | \
+       cut -f4 -d\  | \
+-        LC_ALL=C sed -e 's,^\JNIEXPORT .* JNICALL \(Java_[a-z_A-Z0-9]*\) *(.*$,\1,' >> $TMPFILE2
++        LC_ALL=C sed -e 's,^JNIEXPORT .* JNICALL \(Java_[a-z_A-Z0-9]*\) *(.*$,\1,' >> $TMPFILE2
+ mv $TMPFILE2 $TMPFILE3
+ sort $TMPFILE3 | uniq > $TMPFILE2
+ rm $TMPFILE3



Home | Main Index | Thread Index | Old Index