Ticket #31819: path.patch

File path.patch, 2.3 KB (added by nihilus (Markus Gothe), 13 years ago)
  • doc/unrtf.1

    diff -uNr unrtf-0.21.1.orig/doc/unrtf.1 unrtf-0.21.1/doc/unrtf.1
     
    8787configuration files are a simple format.  To change the behaviour of
    8888unrtf, a local copy of a system configuration file can be be made and
    8989edited.  The most complete configuration file and hence the best starting
    90 point is /usr/local/lib/unrtf/html.conf.
     90point is /opt/local/lib/unrtf/html.conf.
    9191.TP
    9292\-P config_search_path
    9393specifies the directories in which the configuration file for the specified
    9494format will be sought.  The path can be provided as a single directory
    9595or a list of colon separated directories.
    96 The default is /usr/local/lib/unrtf/ where distributed output
     96The default is /opt/local/lib/unrtf/ where distributed output
    9797configuration files are installed.
    9898.SH FILES
    9999.TP
    100 /usr/local/lib/unrtf/*.conf
     100/opt/local/lib/unrtf/*.conf
    101101- run time output configuration files.
    102102.TP
    103 /usr/local/lib/unrtf/SYMBOL.charmap
     103/opt/local/lib/unrtf/SYMBOL.charmap
    104104- UTF encoding of the SYMBOL font
    105105used in many RTF files.  Unfortunately the iconv package does not include
    106106font encodings.  The format is identical to iconv code page files.
  • src/main.h

    diff -uNr unrtf-0.21.1.orig/src/main.h unrtf-0.21.1/src/main.h
     
    4747#include "output.h"
    4848#endif
    4949
    50 #define CONFIG_DIR "/usr/local/lib/unrtf/"
     50#define CONFIG_DIR "/opt/local/lib/unrtf/"
    5151#define DEFAULT_OUTPUT "html"
    5252
    5353extern OutputPersonality *op;
  • src/my_iconv.h

    diff -uNr unrtf-0.21.1.orig/src/my_iconv.h unrtf-0.21.1/src/my_iconv.h
     
    1010#define HAVE_ICONV_H
    1111#endif
    1212
    13 #define CHARMAP_DIR "/usr/local/lib/unrtf/charmaps/"
     13#define CHARMAP_DIR "/opt/local/lib/unrtf/charmaps/"
    1414#define char_table_size 256
    1515
    1616typedef struct
  • src/path.h

    diff -uNr unrtf-0.21.1.orig/src/path.h unrtf-0.21.1/src/path.h
     
    1 #define DEFAULT_UNRTF_SEARCH_PATH       "/usr/local/lib/unrtf/"
     1#define DEFAULT_UNRTF_SEARCH_PATH       "/opt/local/lib/unrtf/"
    22
    33char    *search_path;
    44int     n_path_dirs;