Update of /cvs/debian-openoffice/myspell-deb/debian/patches
In directory gluck:/tmp/cvs-serv6807/patches

Modified Files:
        00list 
Added Files:
        04_hurd.dpatch 
Log Message:
- s/two little// in libmyspell-dev's description
- add GNU (Hurd) support


Index: 00list
===================================================================
RCS file: /cvs/debian-openoffice/myspell-deb/debian/patches/00list,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- 00list      19 Jan 2004 19:37:01 -0000      1.3
+++ 00list      24 Jan 2004 14:46:12 -0000      1.4
@@ -1,3 +1,4 @@
 01_perl_path
 02_mystrdup
+04_hurd
 03_add_ispellaff2myspell

--- NEW FILE: 04_hurd.dpatch ---
#!/bin/sh -e
## 04_hurd.dpatch by Rene Engelhard <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

if [ $# -lt 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"

case "$1" in
       -patch) patch $patch_opts -p1 < $0;;
       -unpatch) patch $patch_opts -p1 -R < $0;;
        *)
                echo >&2 "`basename $0`: script expects -patch|-unpatch as 
argument"
                exit 1;;
esac

exit 0

@DPATCH@
diff -urNad 
/home/rene/Debian/Pakete/OpenOffice.org/Lingucomponent/myspell/myspell-3.0+pre3.1/Makefile
 myspell-3.0+pre3.1/Makefile
--- 
/home/rene/Debian/Pakete/OpenOffice.org/Lingucomponent/myspell/myspell-3.0+pre3.1/Makefile
  2004-01-06 04:17:51.000000000 +0100
+++ myspell-3.0+pre3.1/Makefile 2004-01-24 02:11:10.000000000 +0100
@@ -77,6 +77,23 @@
   RANLIB=ranlib
 endif
 
+ifeq "$(PLATFORM)" "GNU"
+  CXX ?= g++
+  CXXFLAGS ?= -O2 -Wall -ansi -pedantic -I.
+  CC ?= gcc
+  CFLAGS ?= -O2 -Wall -ansi -pedantic -I.
+  PICFLAGS = -fPIC
+  SHARED = -shared -fPIC
+  SOSUFFIX = so
+  SOPREFIX = lib
+  UNIXVERSIONING=YES
+  SONAME = -Wl,-h
+  LIBPATH = LD_LIBRARY_PATH
+  STATICLIB=libmyspell-$(VERSION)_pic.a
+  AR=ar rc
+  RANLIB=ranlib
+endif
+
 
 
 ifeq "$(UNIXVERSIONING)" "YES"

Reply via email to