[oe-commits] org.oe.dev sword: gcc visibility fixes, closes #2196
polyonymous commit
openembedded-commits at lists.openembedded.org
Sun May 6 14:17:07 UTC 2007
sword: gcc visibility fixes, closes #2196
- patch to make certain inlines, hidden by -fvisibility-hidden-inlines, back visible.
Author: polyonymous at openembedded.org
Branch: org.openembedded.dev
Revision: 61b65ffb0a858399f89407df40b6469b203bda44
ViewMTN: http://monotone.openembedded.org/revision.psp?id=61b65ffb0a858399f89407df40b6469b203bda44
Files:
1
packages/sword/sword-1.5.9
packages/sword/sword-1.5.9/gcc-visibility.patch
packages/sword/sword_1.5.9.bb
Diffs:
#
# mt diff -r526cf617891ba9951db25cdd4c8dcf1f8cb7d068 -r61b65ffb0a858399f89407df40b6469b203bda44
#
#
#
# add_dir "packages/sword/sword-1.5.9"
#
# add_file "packages/sword/sword-1.5.9/gcc-visibility.patch"
# content [ce9f030bba7d1fdddd4e8138f0bda3002d2673b3]
#
# patch "packages/sword/sword_1.5.9.bb"
# from [2ddc099635b4c4428882874c590a47b99609c834]
# to [0425ad3de28afd1945d3b031558fb63683b37eb8]
#
============================================================
--- packages/sword/sword-1.5.9/gcc-visibility.patch ce9f030bba7d1fdddd4e8138f0bda3002d2673b3
+++ packages/sword/sword-1.5.9/gcc-visibility.patch ce9f030bba7d1fdddd4e8138f0bda3002d2673b3
@@ -0,0 +1,26 @@
+diff --git a/include/rawtext.h b/include/rawtext.h
+index 32986fe..1304bf7 100644
+--- a/include/rawtext.h
++++ b/include/rawtext.h
+@@ -43,7 +43,7 @@ public:
+ virtual ~RawText();
+ virtual SWBuf &getRawEntryBuf();
+ virtual void increment(int steps = 1);
+- virtual void decrement(int steps = 1) { increment(-steps); }
++ virtual __attribute__((visibility("default"))) void decrement(int steps = 1) { increment(-steps); }
+ virtual signed char createSearchFramework(
+ void (*percent) (char, void *) = &nullPercent,
+ void *percentUserData = 0);
+diff --git a/include/versekey.h b/include/versekey.h
+index 0ca5e47..53084d9 100644
+--- a/include/versekey.h
++++ b/include/versekey.h
+@@ -253,7 +253,7 @@ public:
+ */
+ virtual const char *getText() const;
+ virtual const char *getShortText() const;
+- virtual void setText(const char *ikey) { SWKey::setText(ikey); parse (); }
++ virtual __attribute__((visibility("default"))) void setText(const char *ikey) { SWKey::setText(ikey); parse (); }
+ virtual void copyFrom(const SWKey &ikey);
+
+ /** Equates this VerseKey to another VerseKey
============================================================
--- packages/sword/sword_1.5.9.bb 2ddc099635b4c4428882874c590a47b99609c834
+++ packages/sword/sword_1.5.9.bb 0425ad3de28afd1945d3b031558fb63683b37eb8
@@ -7,7 +7,8 @@ PR = "r0"
LICENSE = "GPL"
PR = "r0"
-SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz"
+SRC_URI = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-${PV}.tar.gz \
+ file://gcc-visibility.patch;patch=1"
inherit autotools pkgconfig
More information about the Openembedded-commits
mailing list